Documentation ¶
Index ¶
- type FlexiCombo
- func (s *FlexiCombo) ActivateFlexiCombo(id int64) flexicomboentity.ActivateFlexiComboResult
- func (s *FlexiCombo) AddFlexiComboProducts(id int64, skuIds []int64) flexicomboentity.AddFlexiComboProductsResult
- func (s *FlexiCombo) CreateFlexiCombo(apply string, ...) flexicomboentity.CreateFlexiComboResult
- func (s *FlexiCombo) DeactivateFlexiCombo(id int64) flexicomboentity.DeactivateFlexiComboResult
- func (s *FlexiCombo) DeleteFlexiComboProducts(id int64, skuIds []int64) flexicomboentity.DeleteFlexiComboProductsResult
- func (s *FlexiCombo) GetFlexiComboDetails(id int64) flexicomboentity.GetFlexiComboDetailsResult
- func (s *FlexiCombo) ListFlexiCombo(curPage int, name string, pageSize int, status string) flexicomboentity.ListFlexiComboResult
- func (s *FlexiCombo) ListFlexiComboProducts(curPage int, pageSize int, id int64) flexicomboentity.ListFlexiComboProductsResult
- func (s *FlexiCombo) UpdateFlexiCombo(apply string, ...) flexicomboentity.UpdateFlexiComboResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlexiCombo ¶
type FlexiCombo struct {
Config *lazadaConfig.Config
}
FlexiCombo
func (*FlexiCombo) ActivateFlexiCombo ¶
func (s *FlexiCombo) ActivateFlexiCombo(id int64) flexicomboentity.ActivateFlexiComboResult
ActivateFlexiCombo @Title activate flexi combo @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/activate
func (*FlexiCombo) AddFlexiComboProducts ¶
func (s *FlexiCombo) AddFlexiComboProducts(id int64, skuIds []int64) flexicomboentity.AddFlexiComboProductsResult
AddFlexiComboProducts @Title add flexi combo products @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/products/add
func (*FlexiCombo) CreateFlexiCombo ¶
func (s *FlexiCombo) CreateFlexiCombo(apply string, sampleSkus []flexicomboentity.CreateFlexiComboSampleSkusRequestEntity, criteriaType string, criteriaValue []string, orderNumbers int, name string, platformChannel string, giftSkus []flexicomboentity.CreateFlexiComboGiftSkusRequestEntity, startTime int, discountType string, endTime int, discountValue []string, stackable string) flexicomboentity.CreateFlexiComboResult
CreateFlexiCombo @Title create a new promotion flexi combo @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/create
func (*FlexiCombo) DeactivateFlexiCombo ¶
func (s *FlexiCombo) DeactivateFlexiCombo(id int64) flexicomboentity.DeactivateFlexiComboResult
DeactivateFlexiCombo @Title deactivate flexi combo @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/deactivate
func (*FlexiCombo) DeleteFlexiComboProducts ¶
func (s *FlexiCombo) DeleteFlexiComboProducts(id int64, skuIds []int64) flexicomboentity.DeleteFlexiComboProductsResult
DeleteFlexiComboProducts @Title delete flexi combo products @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/products/delete
func (*FlexiCombo) GetFlexiComboDetails ¶
func (s *FlexiCombo) GetFlexiComboDetails(id int64) flexicomboentity.GetFlexiComboDetailsResult
GetFlexiComboDetails @Title get promotion flexi combo detail by id @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/details
func (*FlexiCombo) ListFlexiCombo ¶
func (s *FlexiCombo) ListFlexiCombo(curPage int, name string, pageSize int, status string) flexicomboentity.ListFlexiComboResult
ListFlexiCombo @Title list flexi combo @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/list
func (*FlexiCombo) ListFlexiComboProducts ¶
func (s *FlexiCombo) ListFlexiComboProducts(curPage int, pageSize int, id int64) flexicomboentity.ListFlexiComboProductsResult
ListFlexiComboProducts @Title list flexi combo products @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/products/list
func (*FlexiCombo) UpdateFlexiCombo ¶
func (s *FlexiCombo) UpdateFlexiCombo(apply string, sampleSkus []flexicomboentity.UpdateFlexiComboSampleSkusRequestEntity, criteriaType string, criteriaValue []string, orderNumbers int, name string, platformChannel string, giftSkus []flexicomboentity.UpdateFlexiComboGiftSkusRequestEntity, startTime int, discountType string, id int64, endTime int, discountValue []string, stackable string) flexicomboentity.UpdateFlexiComboResult
UpdateFlexiCombo @Title update flexi combo @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=25&path=/promotion/flexicombo/update