Documentation ¶
Overview ¶
Package lstmarketing 包含零售通营销API相关结构体
Index ¶
- func ReleaseAlibabaLstMarketingQuerybyorderidAPIRequest(v *AlibabaLstMarketingQuerybyorderidAPIRequest)
- func ReleaseAlibabaLstMarketingQuerybyorderidAPIResponse(v *AlibabaLstMarketingQuerybyorderidAPIResponse)
- func ReleaseAlibabaLstMarketingQuerybyorderidResultDto(v *AlibabaLstMarketingQuerybyorderidResultDto)
- func ReleaseLstTopOrderDto(v *LstTopOrderDto)
- func ReleasePromotiondtolist(v *Promotiondtolist)
- 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) Reset()
- 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 ¶
func ReleaseAlibabaLstMarketingQuerybyorderidAPIRequest ¶ added in v1.3.4
func ReleaseAlibabaLstMarketingQuerybyorderidAPIRequest(v *AlibabaLstMarketingQuerybyorderidAPIRequest)
ReleaseAlibabaLstMarketingQuerybyorderidAPIRequest 将 AlibabaLstMarketingQuerybyorderidAPIRequest 放入 sync.Pool
func ReleaseAlibabaLstMarketingQuerybyorderidAPIResponse ¶ added in v1.3.4
func ReleaseAlibabaLstMarketingQuerybyorderidAPIResponse(v *AlibabaLstMarketingQuerybyorderidAPIResponse)
ReleaseAlibabaLstMarketingQuerybyorderidAPIResponse 将 AlibabaLstMarketingQuerybyorderidAPIResponse 保存到 sync.Pool
func ReleaseAlibabaLstMarketingQuerybyorderidResultDto ¶ added in v1.3.4
func ReleaseAlibabaLstMarketingQuerybyorderidResultDto(v *AlibabaLstMarketingQuerybyorderidResultDto)
ReleaseAlibabaLstMarketingQuerybyorderidResultDto 释放AlibabaLstMarketingQuerybyorderidResultDto
func ReleaseLstTopOrderDto ¶ added in v1.3.4
func ReleaseLstTopOrderDto(v *LstTopOrderDto)
ReleaseLstTopOrderDto 释放LstTopOrderDto
func ReleasePromotiondtolist ¶ added in v1.3.4
func ReleasePromotiondtolist(v *Promotiondtolist)
ReleasePromotiondtolist 释放Promotiondtolist
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 GetAlibabaLstMarketingQuerybyorderidAPIRequest ¶ added in v1.3.4
func GetAlibabaLstMarketingQuerybyorderidAPIRequest() *AlibabaLstMarketingQuerybyorderidAPIRequest
GetAlibabaLstMarketingQuerybyorderidRequest 从 sync.Pool 获取 AlibabaLstMarketingQuerybyorderidAPIRequest
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(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetMainOrderId() int64
GetMainOrderId MainOrderId Getter
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaLstMarketingQuerybyorderidAPIRequest) GetSubOrderId ¶ added in v1.2.0
func (r AlibabaLstMarketingQuerybyorderidAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*AlibabaLstMarketingQuerybyorderidAPIRequest) Reset ¶ added in v1.3.4
func (r *AlibabaLstMarketingQuerybyorderidAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
根据订单查询营销信息
func GetAlibabaLstMarketingQuerybyorderidAPIResponse ¶ added in v1.3.4
func GetAlibabaLstMarketingQuerybyorderidAPIResponse() *AlibabaLstMarketingQuerybyorderidAPIResponse
GetAlibabaLstMarketingQuerybyorderidAPIResponse 从 sync.Pool 获取 AlibabaLstMarketingQuerybyorderidAPIResponse
func (*AlibabaLstMarketingQuerybyorderidAPIResponse) Reset ¶ added in v1.3.4
func (m *AlibabaLstMarketingQuerybyorderidAPIResponse) Reset()
Reset 清空结构体
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 根据订单查询营销信息 成功返回结果
func (*AlibabaLstMarketingQuerybyorderidAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlibabaLstMarketingQuerybyorderidAPIResponseModel) Reset()
Reset 清空结构体
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 结构体
func GetAlibabaLstMarketingQuerybyorderidResultDto ¶ added in v1.3.4
func GetAlibabaLstMarketingQuerybyorderidResultDto() *AlibabaLstMarketingQuerybyorderidResultDto
GetAlibabaLstMarketingQuerybyorderidResultDto() 从对象池中获取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 结构体
func GetLstTopOrderDto ¶ added in v1.3.4
func GetLstTopOrderDto() *LstTopOrderDto
GetLstTopOrderDto() 从对象池中获取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 结构体
func GetPromotiondtolist ¶ added in v1.3.4
func GetPromotiondtolist() *Promotiondtolist
GetPromotiondtolist() 从对象池中获取Promotiondtolist