Documentation ¶
Index ¶
- type AliexpressAffiliateOrderGetAPIResponse
- type AliexpressAffiliateOrderGetRequest
- func (r AliexpressAffiliateOrderGetRequest) GetApiMethodName() string
- func (r AliexpressAffiliateOrderGetRequest) GetApiParams() url.Values
- func (r AliexpressAffiliateOrderGetRequest) GetAppSignature() string
- func (r AliexpressAffiliateOrderGetRequest) GetFields() string
- func (r AliexpressAffiliateOrderGetRequest) GetOrderIds() string
- func (r *AliexpressAffiliateOrderGetRequest) SetAppSignature(appSignature string) error
- func (r *AliexpressAffiliateOrderGetRequest) SetFields(fields string) error
- func (r *AliexpressAffiliateOrderGetRequest) SetOrderIds(orderIds string) error
- type AliexpressAffiliateOrderGetResponse
- type AliexpressAffiliateOrderListAPIResponse
- type AliexpressAffiliateOrderListRequest
- func (r AliexpressAffiliateOrderListRequest) GetApiMethodName() string
- func (r AliexpressAffiliateOrderListRequest) GetApiParams() url.Values
- func (r AliexpressAffiliateOrderListRequest) GetAppSignature() string
- func (r AliexpressAffiliateOrderListRequest) GetEndTime() string
- func (r AliexpressAffiliateOrderListRequest) GetFields() string
- func (r AliexpressAffiliateOrderListRequest) GetLocaleSite() string
- func (r AliexpressAffiliateOrderListRequest) GetPageNo() int64
- func (r AliexpressAffiliateOrderListRequest) GetPageSize() int64
- func (r AliexpressAffiliateOrderListRequest) GetStartTime() string
- func (r AliexpressAffiliateOrderListRequest) GetStatus() string
- func (r *AliexpressAffiliateOrderListRequest) SetAppSignature(appSignature string) error
- func (r *AliexpressAffiliateOrderListRequest) SetEndTime(endTime string) error
- func (r *AliexpressAffiliateOrderListRequest) SetFields(fields string) error
- func (r *AliexpressAffiliateOrderListRequest) SetLocaleSite(localeSite string) error
- func (r *AliexpressAffiliateOrderListRequest) SetPageNo(pageNo int64) error
- func (r *AliexpressAffiliateOrderListRequest) SetPageSize(pageSize int64) error
- func (r *AliexpressAffiliateOrderListRequest) SetStartTime(startTime string) error
- func (r *AliexpressAffiliateOrderListRequest) SetStatus(status string) error
- type AliexpressAffiliateOrderListResponse
- type AliexpressAffiliateOrderListbyindexAPIResponse
- type AliexpressAffiliateOrderListbyindexRequest
- func (r AliexpressAffiliateOrderListbyindexRequest) GetApiMethodName() string
- func (r AliexpressAffiliateOrderListbyindexRequest) GetApiParams() url.Values
- func (r AliexpressAffiliateOrderListbyindexRequest) GetAppSignature() string
- func (r AliexpressAffiliateOrderListbyindexRequest) GetEndTime() string
- func (r AliexpressAffiliateOrderListbyindexRequest) GetFields() string
- func (r AliexpressAffiliateOrderListbyindexRequest) GetPageSize() int64
- func (r AliexpressAffiliateOrderListbyindexRequest) GetStartQueryIndexId() string
- func (r AliexpressAffiliateOrderListbyindexRequest) GetStartTime() string
- func (r AliexpressAffiliateOrderListbyindexRequest) GetStatus() string
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetAppSignature(appSignature string) error
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetEndTime(endTime string) error
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetFields(fields string) error
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetPageSize(pageSize int64) error
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetStartQueryIndexId(startQueryIndexId string) error
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetStartTime(startTime string) error
- func (r *AliexpressAffiliateOrderListbyindexRequest) SetStatus(status string) error
- type AliexpressAffiliateOrderListbyindexResponse
- type Order
- type ResponseDto
- type TrafficOrderResultDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliexpressAffiliateOrderGetAPIResponse ¶
type AliexpressAffiliateOrderGetAPIResponse struct { model.CommonResponse AliexpressAffiliateOrderGetResponse }
AE流量订单详情获取API API返回值 aliexpress.affiliate.order.get
联盟推广订单效果获取API
type AliexpressAffiliateOrderGetRequest ¶
type AliexpressAffiliateOrderGetRequest struct { model.Params // contains filtered or unexported fields }
AE流量订单详情获取API API请求 aliexpress.affiliate.order.get
联盟推广订单效果获取API
func NewAliexpressAffiliateOrderGetRequest ¶
func NewAliexpressAffiliateOrderGetRequest() *AliexpressAffiliateOrderGetRequest
初始化AliexpressAffiliateOrderGetRequest对象
func (AliexpressAffiliateOrderGetRequest) GetApiMethodName ¶
func (r AliexpressAffiliateOrderGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AliexpressAffiliateOrderGetRequest) GetApiParams ¶
func (r AliexpressAffiliateOrderGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AliexpressAffiliateOrderGetRequest) GetAppSignature ¶
func (r AliexpressAffiliateOrderGetRequest) GetAppSignature() string
AppSignature Getter
func (AliexpressAffiliateOrderGetRequest) GetFields ¶
func (r AliexpressAffiliateOrderGetRequest) GetFields() string
Fields Getter
func (AliexpressAffiliateOrderGetRequest) GetOrderIds ¶
func (r AliexpressAffiliateOrderGetRequest) GetOrderIds() string
OrderIds Getter
func (*AliexpressAffiliateOrderGetRequest) SetAppSignature ¶
func (r *AliexpressAffiliateOrderGetRequest) SetAppSignature(appSignature string) error
AppSignature Setter 安全签名
func (*AliexpressAffiliateOrderGetRequest) SetFields ¶
func (r *AliexpressAffiliateOrderGetRequest) SetFields(fields string) error
Fields Setter 返回的字段列表
func (*AliexpressAffiliateOrderGetRequest) SetOrderIds ¶
func (r *AliexpressAffiliateOrderGetRequest) SetOrderIds(orderIds string) error
OrderIds Setter 订单ID列表,以逗号分隔,当前只支持子订单ID查询
type AliexpressAffiliateOrderGetResponse ¶
type AliexpressAffiliateOrderGetResponse struct { XMLName xml.Name `xml:"aliexpress_affiliate_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"` }
AE流量订单详情获取API 成功返回结果
type AliexpressAffiliateOrderListAPIResponse ¶
type AliexpressAffiliateOrderListAPIResponse struct { model.CommonResponse AliexpressAffiliateOrderListResponse }
AE推广者订单批量获取接口 API返回值 aliexpress.affiliate.order.list
AE联盟推广者订单分页查询接口
type AliexpressAffiliateOrderListRequest ¶
type AliexpressAffiliateOrderListRequest struct { model.Params // contains filtered or unexported fields }
AE推广者订单批量获取接口 API请求 aliexpress.affiliate.order.list
AE联盟推广者订单分页查询接口
func NewAliexpressAffiliateOrderListRequest ¶
func NewAliexpressAffiliateOrderListRequest() *AliexpressAffiliateOrderListRequest
初始化AliexpressAffiliateOrderListRequest对象
func (AliexpressAffiliateOrderListRequest) GetApiMethodName ¶
func (r AliexpressAffiliateOrderListRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AliexpressAffiliateOrderListRequest) GetApiParams ¶
func (r AliexpressAffiliateOrderListRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AliexpressAffiliateOrderListRequest) GetAppSignature ¶
func (r AliexpressAffiliateOrderListRequest) GetAppSignature() string
AppSignature Getter
func (AliexpressAffiliateOrderListRequest) GetEndTime ¶
func (r AliexpressAffiliateOrderListRequest) GetEndTime() string
EndTime Getter
func (AliexpressAffiliateOrderListRequest) GetFields ¶
func (r AliexpressAffiliateOrderListRequest) GetFields() string
Fields Getter
func (AliexpressAffiliateOrderListRequest) GetLocaleSite ¶
func (r AliexpressAffiliateOrderListRequest) GetLocaleSite() string
LocaleSite Getter
func (AliexpressAffiliateOrderListRequest) GetPageNo ¶
func (r AliexpressAffiliateOrderListRequest) GetPageNo() int64
PageNo Getter
func (AliexpressAffiliateOrderListRequest) GetPageSize ¶
func (r AliexpressAffiliateOrderListRequest) GetPageSize() int64
PageSize Getter
func (AliexpressAffiliateOrderListRequest) GetStartTime ¶
func (r AliexpressAffiliateOrderListRequest) GetStartTime() string
StartTime Getter
func (AliexpressAffiliateOrderListRequest) GetStatus ¶
func (r AliexpressAffiliateOrderListRequest) GetStatus() string
Status Getter
func (*AliexpressAffiliateOrderListRequest) SetAppSignature ¶
func (r *AliexpressAffiliateOrderListRequest) SetAppSignature(appSignature string) error
AppSignature Setter 安全签名
func (*AliexpressAffiliateOrderListRequest) SetEndTime ¶
func (r *AliexpressAffiliateOrderListRequest) SetEndTime(endTime string) error
EndTime Setter 结束时间
func (*AliexpressAffiliateOrderListRequest) SetFields ¶
func (r *AliexpressAffiliateOrderListRequest) SetFields(fields string) error
Fields Setter 返回的字段信息
func (*AliexpressAffiliateOrderListRequest) SetLocaleSite ¶
func (r *AliexpressAffiliateOrderListRequest) SetLocaleSite(localeSite string) error
LocaleSite Setter 站点信息:global、ru_site、es_site、it_site
func (*AliexpressAffiliateOrderListRequest) SetPageNo ¶
func (r *AliexpressAffiliateOrderListRequest) SetPageNo(pageNo int64) error
PageNo Setter 页数
func (*AliexpressAffiliateOrderListRequest) SetPageSize ¶
func (r *AliexpressAffiliateOrderListRequest) SetPageSize(pageSize int64) error
PageSize Setter 每页记录数
func (*AliexpressAffiliateOrderListRequest) SetStartTime ¶
func (r *AliexpressAffiliateOrderListRequest) SetStartTime(startTime string) error
StartTime Setter 开始时间
func (*AliexpressAffiliateOrderListRequest) SetStatus ¶
func (r *AliexpressAffiliateOrderListRequest) SetStatus(status string) error
Status Setter 订单状态:Payment Completed,Buyer Confirmed Receipt
type AliexpressAffiliateOrderListResponse ¶
type AliexpressAffiliateOrderListResponse struct { XMLName xml.Name `xml:"aliexpress_affiliate_order_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"` }
AE推广者订单批量获取接口 成功返回结果
type AliexpressAffiliateOrderListbyindexAPIResponse ¶
type AliexpressAffiliateOrderListbyindexAPIResponse struct { model.CommonResponse AliexpressAffiliateOrderListbyindexResponse }
AE联盟推广者订单查询接口-按游标索引查询 API返回值 aliexpress.affiliate.order.listbyindex
AE联盟推广者订单按游标查询接口
type AliexpressAffiliateOrderListbyindexRequest ¶
type AliexpressAffiliateOrderListbyindexRequest struct { model.Params // contains filtered or unexported fields }
AE联盟推广者订单查询接口-按游标索引查询 API请求 aliexpress.affiliate.order.listbyindex
AE联盟推广者订单按游标查询接口
func NewAliexpressAffiliateOrderListbyindexRequest ¶
func NewAliexpressAffiliateOrderListbyindexRequest() *AliexpressAffiliateOrderListbyindexRequest
初始化AliexpressAffiliateOrderListbyindexRequest对象
func (AliexpressAffiliateOrderListbyindexRequest) GetApiMethodName ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AliexpressAffiliateOrderListbyindexRequest) GetApiParams ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AliexpressAffiliateOrderListbyindexRequest) GetAppSignature ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetAppSignature() string
AppSignature Getter
func (AliexpressAffiliateOrderListbyindexRequest) GetEndTime ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetEndTime() string
EndTime Getter
func (AliexpressAffiliateOrderListbyindexRequest) GetFields ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetFields() string
Fields Getter
func (AliexpressAffiliateOrderListbyindexRequest) GetPageSize ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetPageSize() int64
PageSize Getter
func (AliexpressAffiliateOrderListbyindexRequest) GetStartQueryIndexId ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetStartQueryIndexId() string
StartQueryIndexId Getter
func (AliexpressAffiliateOrderListbyindexRequest) GetStartTime ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetStartTime() string
StartTime Getter
func (AliexpressAffiliateOrderListbyindexRequest) GetStatus ¶
func (r AliexpressAffiliateOrderListbyindexRequest) GetStatus() string
Status Getter
func (*AliexpressAffiliateOrderListbyindexRequest) SetAppSignature ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetAppSignature(appSignature string) error
AppSignature Setter 安全签名
func (*AliexpressAffiliateOrderListbyindexRequest) SetEndTime ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetEndTime(endTime string) error
EndTime Setter 结束时间
func (*AliexpressAffiliateOrderListbyindexRequest) SetFields ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetFields(fields string) error
Fields Setter 返回的字段信息
func (*AliexpressAffiliateOrderListbyindexRequest) SetPageSize ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetPageSize(pageSize int64) error
PageSize Setter 每页记录数
func (*AliexpressAffiliateOrderListbyindexRequest) SetStartQueryIndexId ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetStartQueryIndexId(startQueryIndexId string) error
StartQueryIndexId Setter 查询索引开始值:若不传,则只能查第一页
func (*AliexpressAffiliateOrderListbyindexRequest) SetStartTime ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetStartTime(startTime string) error
StartTime Setter 开始时间
func (*AliexpressAffiliateOrderListbyindexRequest) SetStatus ¶
func (r *AliexpressAffiliateOrderListbyindexRequest) SetStatus(status string) error
Status Setter 订单状态:Payment Completed,Buyer Confirmed Receipt
type AliexpressAffiliateOrderListbyindexResponse ¶
type AliexpressAffiliateOrderListbyindexResponse struct { XMLName xml.Name `xml:"aliexpress_affiliate_order_listbyindex_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"` }
AE联盟推广者订单查询接口-按游标索引查询 成功返回结果
type Order ¶
type Order struct { // 佣金率 CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 订单创建时间 CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"` // 自定义参数(JSON格式) CustomerParameters string `json:"customer_parameters,omitempty" xml:"customer_parameters,omitempty"` // 订单状态:Payment Completed,Buyer Confirmed Receipt OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 订单完成时的预计佣金 EstimatedFinishedCommission int64 `json:"estimated_finished_commission,omitempty" xml:"estimated_finished_commission,omitempty"` // 订单支付时的预计佣金 EstimatedPaidCommission int64 `json:"estimated_paid_commission,omitempty" xml:"estimated_paid_commission,omitempty"` // 订单完成金额 FinishedAmount int64 `json:"finished_amount,omitempty" xml:"finished_amount,omitempty"` // 订单完成时间 FinishedTime string `json:"finished_time,omitempty" xml:"finished_time,omitempty"` // 是否新买家 IsNewBuyer string `json:"is_new_buyer,omitempty" xml:"is_new_buyer,omitempty"` // 下单商品数量 ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"` // 商品DetailUrl ProductDetailUrl string `json:"product_detail_url,omitempty" xml:"product_detail_url,omitempty"` // 商品ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 商品主图Url ProductMainImageUrl string `json:"product_main_image_url,omitempty" xml:"product_main_image_url,omitempty"` // 商品标题 ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"` // 新买家奖励佣金 NewBuyerBonusCommission int64 `json:"new_buyer_bonus_commission,omitempty" xml:"new_buyer_bonus_commission,omitempty"` // 订单ID OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 子订单ID:已废弃,请使用sub_order_id OrderNumber int64 `json:"order_number,omitempty" xml:"order_number,omitempty"` // 订单支付完成金额 PaidAmount int64 `json:"paid_amount,omitempty" xml:"paid_amount,omitempty"` // 订单支付完成时间 PaidTime string `json:"paid_time,omitempty" xml:"paid_time,omitempty"` // 父订单ID:已废弃,请使用order_id ParentOrderNumber int64 `json:"parent_order_number,omitempty" xml:"parent_order_number,omitempty"` // 推广者结算币种 SettledCurrency string `json:"settled_currency,omitempty" xml:"settled_currency,omitempty"` // 订单物流国家 ShipToCountry string `json:"ship_to_country,omitempty" xml:"ship_to_country,omitempty"` // 子订单ID SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // trackId TrackingId string `json:"tracking_id,omitempty" xml:"tracking_id,omitempty"` // 是否爆品订单:Y 或者N IsHotProduct string `json:"is_hot_product,omitempty" xml:"is_hot_product,omitempty"` // 所属类目ID CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // FullRefund:全额退款,Antispam:风控拦截 EffectDetailStatus string `json:"effect_detail_status,omitempty" xml:"effect_detail_status,omitempty"` // 激励订单完成时的预计佣金 EstimatedIncentiveFinishedCommission int64 `json:"estimated_incentive_finished_commission,omitempty" xml:"estimated_incentive_finished_commission,omitempty"` // 激励订单支付时的预计佣金 EstimatedIncentivePaidCommission int64 `json:"estimated_incentive_paid_commission,omitempty" xml:"estimated_incentive_paid_commission,omitempty"` // 激励佣金率 IncentiveCommissionRate string `json:"incentive_commission_rate,omitempty" xml:"incentive_commission_rate,omitempty"` // 是否为联盟商品:N/Y IsAffiliateProduct string `json:"is_affiliate_product,omitempty" xml:"is_affiliate_product,omitempty"` // 自定义参数(JSON格式) CustomParameters string `json:"custom_parameters,omitempty" xml:"custom_parameters,omitempty"` }
Order
type ResponseDto ¶
type ResponseDto struct { // 返回结果状态码 RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"` // 返回状态描述信息 RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"` // 返回结果明细 Result *TrafficOrderResultDto `json:"result,omitempty" xml:"result,omitempty"` }
ResponseDto
type TrafficOrderResultDto ¶
type TrafficOrderResultDto struct { // 当前页记录条数 CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"` // 订单内容明细 Orders []Order `json:"orders,omitempty" xml:"orders>order,omitempty"` // 当前页码 CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"` // 总页数 TotalPageNo int64 `json:"total_page_no,omitempty" xml:"total_page_no,omitempty"` // 总记录数 TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"` // 当前返回记录的最大游标ID MaxQueryIndexId string `json:"max_query_index_id,omitempty" xml:"max_query_index_id,omitempty"` // 当前返回记录的最小游标ID MinQueryIndexId string `json:"min_query_index_id,omitempty" xml:"min_query_index_id,omitempty"` }
TrafficOrderResultDto