Documentation ¶
Overview ¶
Package lstmarketing 包含零售通营销API相关结构体
Index ¶
- type AlibabaLstMarketingQuerybyorderidAPIRequest
- func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetApiMethodName() string
- func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetMainOrderId() int64
- func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetSubOrderId() int64
- func (r *AlibabaLstMarketingQuerybyorderidAPIRequest) SetMainOrderId(_mainOrderId int64) error
- func (r *AlibabaLstMarketingQuerybyorderidAPIRequest) SetSubOrderId(_subOrderId int64) error
- type AlibabaLstMarketingQuerybyorderidAPIResponse
- type AlibabaLstMarketingQuerybyorderidAPIResponseModel
- type AlibabaLstMarketingQuerybyorderidResultDto
- type LstTopOrderDto
- type Promotiondtolist
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaLstMarketingQuerybyorderidAPIRequest ¶ added in v1.2.0
type AlibabaLstMarketingQuerybyorderidAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstMarketingQuerybyorderidAPIRequest 根据订单查询营销信息 API请求 alibaba.lst.marketing.querybyorderid
根据订单查询营销信息
func NewAlibabaLstMarketingQuerybyorderidRequest ¶
func NewAlibabaLstMarketingQuerybyorderidRequest() *AlibabaLstMarketingQuerybyorderidAPIRequest
NewAlibabaLstMarketingQuerybyorderidRequest 初始化AlibabaLstMarketingQuerybyorderidAPIRequest对象
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetSubOrderId ¶ added in v1.2.0
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*AlibabaLstMarketingQuerybyorderidAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *AlibabaLstMarketingQuerybyorderidAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 主订单
func (*AlibabaLstMarketingQuerybyorderidAPIRequest) SetSubOrderId ¶ added in v1.2.0
func (r *AlibabaLstMarketingQuerybyorderidAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 子订单
type AlibabaLstMarketingQuerybyorderidAPIResponse ¶
type AlibabaLstMarketingQuerybyorderidAPIResponse struct { model.CommonResponse AlibabaLstMarketingQuerybyorderidAPIResponseModel }
AlibabaLstMarketingQuerybyorderidAPIResponse 根据订单查询营销信息 API返回值 alibaba.lst.marketing.querybyorderid
根据订单查询营销信息
type AlibabaLstMarketingQuerybyorderidAPIResponseModel ¶ added in v1.2.0
type AlibabaLstMarketingQuerybyorderidAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_marketing_querybyorderid_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *AlibabaLstMarketingQuerybyorderidResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstMarketingQuerybyorderidAPIResponseModel is 根据订单查询营销信息 成功返回结果
type AlibabaLstMarketingQuerybyorderidResultDto ¶
type AlibabaLstMarketingQuerybyorderidResultDto struct { // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 订单实体 Content *LstTopOrderDto `json:"content,omitempty" xml:"content,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstMarketingQuerybyorderidResultDto 结构体
type LstTopOrderDto ¶
type LstTopOrderDto struct { // 营销活动列表 PromotionDtoList []Promotiondtolist `json:"promotion_dto_list,omitempty" xml:"promotion_dto_list>promotiondtolist,omitempty"` // 子订单id SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` }
LstTopOrderDto 结构体
type Promotiondtolist ¶
type Promotiondtolist struct { // 活动id ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 活动名称 ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"` // 营销类型 PromotionTypeName string `json:"promotion_type_name,omitempty" xml:"promotion_type_name,omitempty"` // 优惠金额,分为单位 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` }
Promotiondtolist 结构体