package request

type AlibabaHmMarketingExpirePromotionQueryRequest struct {
	/*
	   店铺id     */
	ShopId *string `json:"shop_id" required:"true" `
	/*
	   商品skucode     */
	SkuCode *string `json:"sku_code" required:"true" `
}

func (s *AlibabaHmMarketingExpirePromotionQueryRequest) SetShopId(v string) *AlibabaHmMarketingExpirePromotionQueryRequest {
	s.ShopId = &v
	return s
}
func (s *AlibabaHmMarketingExpirePromotionQueryRequest) SetSkuCode(v string) *AlibabaHmMarketingExpirePromotionQueryRequest {
	s.SkuCode = &v
	return s
}

func (req *AlibabaHmMarketingExpirePromotionQueryRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ShopId != nil {
		paramMap["shop_id"] = *req.ShopId
	}
	if req.SkuCode != nil {
		paramMap["sku_code"] = *req.SkuCode
	}
	return paramMap
}

func (req *AlibabaHmMarketingExpirePromotionQueryRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
