Documentation ¶
Index ¶
- type FreeShipping
- func (s *FreeShipping) FreeShippingActivate(id int64) freeshippingentity.FreeShippingActivateResult
- func (s *FreeShipping) FreeShippingAddSelectedProductSKU(id int64, skuIds []int64) freeshippingentity.FreeShippingAddSelectedProductSKUResult
- func (s *FreeShipping) FreeShippingCreate(budgetType string, templateType string, apply string, periodEndTime int, ...) freeshippingentity.FreeShippingCreateResult
- func (s *FreeShipping) FreeShippingDeactivate(id int64) freeshippingentity.FreeShippingDeactivateResult
- func (s *FreeShipping) FreeShippingDeleteSelectedProductSKU(id int64, skuIds []int64) freeshippingentity.FreeShippingDeleteSelectedProductSKUResult
- func (s *FreeShipping) FreeShippingDeliveryOptionsQuery() freeshippingentity.FreeShippingDeliveryOptionsQueryResult
- func (s *FreeShipping) FreeShippingGet(id int64) freeshippingentity.FreeShippingGetResult
- func (s *FreeShipping) FreeShippingList(curPage int, name string, pageSize int, status string) freeshippingentity.FreeShippingListResult
- func (s *FreeShipping) FreeShippingRegionsQuery() freeshippingentity.FreeShippingRegionsQueryResult
- func (s *FreeShipping) FreeShippingSelectedProductList(curPage int, pageSize int, id int64) freeshippingentity.FreeShippingSelectedProductListResult
- func (s *FreeShipping) FreeShippingUpdate(budgetType string, templateType string, apply string, periodEndTime int, ...) freeshippingentity.FreeShippingUpdateResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FreeShipping ¶
type FreeShipping struct {
Config *lazadaConfig.Config
}
FreeShipping
func (*FreeShipping) FreeShippingActivate ¶
func (s *FreeShipping) FreeShippingActivate(id int64) freeshippingentity.FreeShippingActivateResult
FreeShippingActivate @Title activate free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/activate
func (*FreeShipping) FreeShippingAddSelectedProductSKU ¶
func (s *FreeShipping) FreeShippingAddSelectedProductSKU(id int64, skuIds []int64) freeshippingentity.FreeShippingAddSelectedProductSKUResult
FreeShippingAddSelectedProductSKU @Title add sku for free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/product/sku/add
func (*FreeShipping) FreeShippingCreate ¶
func (s *FreeShipping) FreeShippingCreate(budgetType string, templateType string, apply string, periodEndTime int, templateCode string, categoryName string, budgetValue string, promotionName string, periodType string, regionType string, periodStartTime int, platformChannel string, campaignTag string, regionValue []string, deliveryOption string, tiers []freeshippingentity.FreeShippingCreateTiersRequestEntity, discountType string, dealCriteria string) freeshippingentity.FreeShippingCreateResult
FreeShippingCreate @Title create a new free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/create
func (*FreeShipping) FreeShippingDeactivate ¶
func (s *FreeShipping) FreeShippingDeactivate(id int64) freeshippingentity.FreeShippingDeactivateResult
FreeShippingDeactivate @Title deactivate free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/deactivate
func (*FreeShipping) FreeShippingDeleteSelectedProductSKU ¶
func (s *FreeShipping) FreeShippingDeleteSelectedProductSKU(id int64, skuIds []int64) freeshippingentity.FreeShippingDeleteSelectedProductSKUResult
FreeShippingDeleteSelectedProductSKU @Title delete sku for free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/product/sku/remove
func (*FreeShipping) FreeShippingDeliveryOptionsQuery ¶
func (s *FreeShipping) FreeShippingDeliveryOptionsQuery() freeshippingentity.FreeShippingDeliveryOptionsQueryResult
FreeShippingDeliveryOptionsQuery @Title query free shipping promotion delivery options @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/deliveryoptions/get
func (*FreeShipping) FreeShippingGet ¶
func (s *FreeShipping) FreeShippingGet(id int64) freeshippingentity.FreeShippingGetResult
FreeShippingGet @Title get free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/get
func (*FreeShipping) FreeShippingList ¶
func (s *FreeShipping) FreeShippingList(curPage int, name string, pageSize int, status string) freeshippingentity.FreeShippingListResult
FreeShippingList @Title query free shipping promotion list @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshippings/get
func (*FreeShipping) FreeShippingRegionsQuery ¶
func (s *FreeShipping) FreeShippingRegionsQuery() freeshippingentity.FreeShippingRegionsQueryResult
FreeShippingRegionsQuery @Title query free shipping promotion regions @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/regions/get
func (*FreeShipping) FreeShippingSelectedProductList ¶
func (s *FreeShipping) FreeShippingSelectedProductList(curPage int, pageSize int, id int64) freeshippingentity.FreeShippingSelectedProductListResult
FreeShippingSelectedProductList @Title query free shipping promotion selected product list @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/products/get
func (*FreeShipping) FreeShippingUpdate ¶
func (s *FreeShipping) FreeShippingUpdate(budgetType string, templateType string, apply string, periodEndTime int, templateCode string, categoryName string, budgetValue string, promotionName string, periodType string, regionType string, periodStartTime int, platformChannel string, campaignTag string, regionValue []string, id int64, deliveryOption string, tiers []freeshippingentity.FreeShippingUpdateTiersRequestEntity, discountType string, dealCriteria string) freeshippingentity.FreeShippingUpdateResult
FreeShippingUpdate @Title update free shipping promotion @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=31&path=/promotion/freeshipping/update