shoppingcoupon

package
Version: v0.0.0-...-d84e329 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2017 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(s liferay.Session) *Service

func (*Service) AddCoupon

func (s *Service) AddCoupon(code string, autoCode bool, name string, description string, startDateMonth int, startDateDay int, startDateYear int, startDateHour int, startDateMinute int, endDateMonth int, endDateDay int, endDateYear int, endDateHour int, endDateMinute int, neverExpire bool, active bool, limitCategories string, limitSkus string, minOrder float64, discount float64, discountType string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) DeleteCoupon

func (s *Service) DeleteCoupon(groupId int64, couponId int64) error

func (*Service) GetCoupon

func (s *Service) GetCoupon(groupId int64, couponId int64) (map[string]interface{}, error)

func (*Service) Search

func (s *Service) Search(groupId int64, companyId int64, code string, active bool, discountType string, andOperator bool, start int, end int) ([]interface{}, error)

func (*Service) UpdateCoupon

func (s *Service) UpdateCoupon(couponId int64, name string, description string, startDateMonth int, startDateDay int, startDateYear int, startDateHour int, startDateMinute int, endDateMonth int, endDateDay int, endDateYear int, endDateHour int, endDateMinute int, neverExpire bool, active bool, limitCategories string, limitSkus string, minOrder float64, discount float64, discountType string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL