Files
baseapi/platformapi/tao_vegetable/sdk/ability587/request/AlibabaWdkItemMerchantstoreskuUpdateRequest.go
邹宗楠 65976332fc 1
2023-06-15 09:08:54 +08:00

46 lines
1.3 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package request
type AlibabaWdkItemMerchantstoreskuUpdateRequest struct {
/*
门店ID */
StoreId *string `json:"store_id" required:"true" `
/*
商品编码 */
SkuCode *string `json:"sku_code" required:"true" `
/*
修改参数是个json字符串 */
Params *string `json:"params" required:"true" `
}
func (s *AlibabaWdkItemMerchantstoreskuUpdateRequest) SetStoreId(v string) *AlibabaWdkItemMerchantstoreskuUpdateRequest {
s.StoreId = &v
return s
}
func (s *AlibabaWdkItemMerchantstoreskuUpdateRequest) SetSkuCode(v string) *AlibabaWdkItemMerchantstoreskuUpdateRequest {
s.SkuCode = &v
return s
}
func (s *AlibabaWdkItemMerchantstoreskuUpdateRequest) SetParams(v string) *AlibabaWdkItemMerchantstoreskuUpdateRequest {
s.Params = &v
return s
}
func (req *AlibabaWdkItemMerchantstoreskuUpdateRequest) ToMap() map[string]interface{} {
paramMap := make(map[string]interface{})
if(req.StoreId != nil) {
paramMap["store_id"] = *req.StoreId
}
if(req.SkuCode != nil) {
paramMap["sku_code"] = *req.SkuCode
}
if(req.Params != nil) {
paramMap["params"] = *req.Params
}
return paramMap
}
func (req *AlibabaWdkItemMerchantstoreskuUpdateRequest) ToFileMap() map[string]interface{} {
fileMap := make(map[string]interface{})
return fileMap
}