package domain

type AlibabaWdkMarketingExpirePromotionCreateT struct {
	/*
	   商家code     */
	MerchantCode *string `json:"merchant_code,omitempty" `

	/*
	   商品skucode     */
	SkuCode *string `json:"sku_code,omitempty" `

	/*
	   商品itemId     */
	ItemId *int64 `json:"item_id,omitempty" `

	/*
	   门店id     */
	ShopId *string `json:"shop_id,omitempty" `

	/*
	   错误码     */
	ErrorCode *string `json:"error_code,omitempty" `

	/*
	   success     */
	Success *bool `json:"success,omitempty" `

	/*
	   错误信息     */
	ErrorMsg *string `json:"error_msg,omitempty" `
}

func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetMerchantCode(v string) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.MerchantCode = &v
	return s
}
func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetSkuCode(v string) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.SkuCode = &v
	return s
}
func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetItemId(v int64) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.ItemId = &v
	return s
}
func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetShopId(v string) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.ShopId = &v
	return s
}
func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetErrorCode(v string) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.ErrorCode = &v
	return s
}
func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetSuccess(v bool) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.Success = &v
	return s
}
func (s *AlibabaWdkMarketingExpirePromotionCreateT) SetErrorMsg(v string) *AlibabaWdkMarketingExpirePromotionCreateT {
	s.ErrorMsg = &v
	return s
}
