Documentation ¶
Index ¶
- type SellerVoucher
- func (s *SellerVoucher) SellerVoucherActivate(voucherType string, id int64) sellervoucherentity.SellerVoucherActivateResult
- func (s *SellerVoucher) SellerVoucherAddSelectedProductSKU(voucherType string, id int64, skuIds []int64) sellervoucherentity.SellerVoucherAddSelectedProductSKUResult
- func (s *SellerVoucher) SellerVoucherCreate(criteriaOverMoney string, voucherType string, apply string, collectStart int, ...) sellervoucherentity.SellerVoucherCreateResult
- func (s *SellerVoucher) SellerVoucherDeactivate(voucherType string, id int64) sellervoucherentity.SellerVoucherDeactivateResult
- func (s *SellerVoucher) SellerVoucherDeleteSelectedProductSKU(voucherType string, id int64, skuIds []int64) sellervoucherentity.SellerVoucherDeleteSelectedProductSKUResult
- func (s *SellerVoucher) SellerVoucherDetailQuery(voucherType string, id int64) sellervoucherentity.SellerVoucherDetailQueryResult
- func (s *SellerVoucher) SellerVoucherList(curPage int, voucherType string, name string, pageSize int, status string) sellervoucherentity.SellerVoucherListResult
- func (s *SellerVoucher) SellerVoucherSelectedProductList(voucherType string, id int64) sellervoucherentity.SellerVoucherSelectedProductListResult
- func (s *SellerVoucher) SellerVoucherUpdate(maxDiscountOfferingMoneyValue string, offeringPercentageDiscountOff int, ...) sellervoucherentity.SellerVoucherUpdateResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SellerVoucher ¶
type SellerVoucher struct {
Config *lazadaConfig.Config
}
SellerVoucher
func (*SellerVoucher) SellerVoucherActivate ¶
func (s *SellerVoucher) SellerVoucherActivate(voucherType string, id int64) sellervoucherentity.SellerVoucherActivateResult
SellerVoucherActivate @Title activate seller voucher promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/activate
func (*SellerVoucher) SellerVoucherAddSelectedProductSKU ¶
func (s *SellerVoucher) SellerVoucherAddSelectedProductSKU(voucherType string, id int64, skuIds []int64) sellervoucherentity.SellerVoucherAddSelectedProductSKUResult
SellerVoucherAddSelectedProductSKU @Title add seller voucher promotion product sku @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/product/sku/add
func (*SellerVoucher) SellerVoucherCreate ¶
func (s *SellerVoucher) SellerVoucherCreate(criteriaOverMoney string, voucherType string, apply string, collectStart int, displayArea string, periodEndTime int, voucherName string, voucherDiscountType string, offeringMoneyValueOff string, periodStartTime int, limit int, issued int, maxDiscountOfferingMoneyValue string, offeringPercentageDiscountOff int) sellervoucherentity.SellerVoucherCreateResult
SellerVoucherCreate @Title create a new seller voucher promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/create
func (*SellerVoucher) SellerVoucherDeactivate ¶
func (s *SellerVoucher) SellerVoucherDeactivate(voucherType string, id int64) sellervoucherentity.SellerVoucherDeactivateResult
SellerVoucherDeactivate @Title deactivate seller voucher promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/deactivate
func (*SellerVoucher) SellerVoucherDeleteSelectedProductSKU ¶
func (s *SellerVoucher) SellerVoucherDeleteSelectedProductSKU(voucherType string, id int64, skuIds []int64) sellervoucherentity.SellerVoucherDeleteSelectedProductSKUResult
SellerVoucherDeleteSelectedProductSKU @Title delete seller voucher promotion product sku @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/product/sku/remove
func (*SellerVoucher) SellerVoucherDetailQuery ¶
func (s *SellerVoucher) SellerVoucherDetailQuery(voucherType string, id int64) sellervoucherentity.SellerVoucherDetailQueryResult
SellerVoucherDetailQuery @Title get a seller voucher promotion detail @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/get
func (*SellerVoucher) SellerVoucherList ¶
func (s *SellerVoucher) SellerVoucherList(curPage int, voucherType string, name string, pageSize int, status string) sellervoucherentity.SellerVoucherListResult
SellerVoucherList @Title query seller voucher promotion list @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/vouchers/get
func (*SellerVoucher) SellerVoucherSelectedProductList ¶
func (s *SellerVoucher) SellerVoucherSelectedProductList(voucherType string, id int64) sellervoucherentity.SellerVoucherSelectedProductListResult
SellerVoucherSelectedProductList @Title query seller voucher selected products list @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/products/get
func (*SellerVoucher) SellerVoucherUpdate ¶
func (s *SellerVoucher) SellerVoucherUpdate(maxDiscountOfferingMoneyValue string, offeringPercentageDiscountOff int, id string, criteriaOverMoney string, voucherType string, apply string, collectStart int, displayArea string, periodEndTime int, voucherName string, voucherDiscountType string, offeringMoneyValueOff string, periodStartTime int, limit int, issued int) sellervoucherentity.SellerVoucherUpdateResult
SellerVoucherUpdate @Title update a existing seller voucher promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=30&path=/promotion/voucher/update