Documentation ¶
Overview ¶
Package lstmarketing 包含零售通营销API相关结构体
Index ¶
- type AlibabalstmarketingquerybyorderidAPIRequest
- func (r AlibabalstmarketingquerybyorderidAPIRequest) GetApiMethodName() string
- func (r AlibabalstmarketingquerybyorderidAPIRequest) GetApiParams(params url.Values)
- func (r AlibabalstmarketingquerybyorderidAPIRequest) GetMainOrderId() int64
- func (r AlibabalstmarketingquerybyorderidAPIRequest) GetRawParams() model.Params
- 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.3.1
type AlibabalstmarketingquerybyorderidAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstmarketingquerybyorderidAPIRequest 根据订单查询营销信息 API请求 alibaba.lst.marketing.querybyorderid
根据订单查询营销信息
func NewAlibabalstmarketingquerybyorderidRequest ¶ added in v1.3.1
func NewAlibabalstmarketingquerybyorderidRequest() *AlibabalstmarketingquerybyorderidAPIRequest
NewAlibabalstmarketingquerybyorderidRequest 初始化AlibabalstmarketingquerybyorderidAPIRequest对象
func (AlibabalstmarketingquerybyorderidAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstmarketingquerybyorderidAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstmarketingquerybyorderidAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstmarketingquerybyorderidAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstmarketingquerybyorderidAPIRequest) GetMainOrderId ¶ added in v1.3.1
func (r AlibabalstmarketingquerybyorderidAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (AlibabalstmarketingquerybyorderidAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstmarketingquerybyorderidAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabalstmarketingquerybyorderidAPIRequest) GetSubOrderId ¶ added in v1.3.1
func (r AlibabalstmarketingquerybyorderidAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*AlibabalstmarketingquerybyorderidAPIRequest) SetMainOrderId ¶ added in v1.3.1
func (r *AlibabalstmarketingquerybyorderidAPIRequest) SetMainOrderId(_mainOrderId int64) error
SetMainOrderId is MainOrderId Setter 主订单
func (*AlibabalstmarketingquerybyorderidAPIRequest) SetSubOrderId ¶ added in v1.3.1
func (r *AlibabalstmarketingquerybyorderidAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 子订单
type AlibabalstmarketingquerybyorderidAPIResponse ¶ added in v1.3.1
type AlibabalstmarketingquerybyorderidAPIResponse struct { model.CommonResponse AlibabalstmarketingquerybyorderidAPIResponseModel }
AlibabalstmarketingquerybyorderidAPIResponse 根据订单查询营销信息 API返回值 alibaba.lst.marketing.querybyorderid
根据订单查询营销信息
type AlibabalstmarketingquerybyorderidAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 结构体