Documentation ¶
Overview ¶
Package topoaid 包含隐私保护API相关结构体
Index ¶
- type AppBillQueryRequest
- type AssembleOrder
- type BillDetailInfo
- type CrmPrivacyResponse
- type OrderAssembleResponse
- type OrderGroup
- type OrderGroupResponse
- type OrderMerge
- type Receiver
- type ReceiverQuery
- type SecretNo
- type SecretNoExtendRequest
- type SellerBillQueryRequest
- type TaobaoCrmHistoryOmidGetAPIRequest
- type TaobaoCrmHistoryOmidGetAPIResponse
- type TaobaoCrmHistoryOmidGetAPIResponseModel
- type TaobaoCrmHistoryOuidGetAPIRequest
- type TaobaoCrmHistoryOuidGetAPIResponse
- type TaobaoCrmHistoryOuidGetAPIResponseModel
- type TaobaoFulfillmentOrderAssembleAPIRequest
- func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetApiMethodName() string
- func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetApiParams() url.Values
- func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetAssembleOrders() *AssembleOrder
- func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetType() string
- func (r *TaobaoFulfillmentOrderAssembleAPIRequest) SetAssembleOrders(_assembleOrders *AssembleOrder) error
- func (r *TaobaoFulfillmentOrderAssembleAPIRequest) SetType(_type string) error
- type TaobaoFulfillmentOrderAssembleAPIResponse
- type TaobaoFulfillmentOrderAssembleAPIResponseModel
- type TaobaoTopOaidClientDecryptAPIRequest
- func (r TaobaoTopOaidClientDecryptAPIRequest) GetApiMethodName() string
- func (r TaobaoTopOaidClientDecryptAPIRequest) GetApiParams() url.Values
- func (r TaobaoTopOaidClientDecryptAPIRequest) GetQueryList() []ReceiverQuery
- func (r TaobaoTopOaidClientDecryptAPIRequest) GetSecOnceToken() string
- func (r *TaobaoTopOaidClientDecryptAPIRequest) SetQueryList(_queryList []ReceiverQuery) error
- func (r *TaobaoTopOaidClientDecryptAPIRequest) SetSecOnceToken(_secOnceToken string) error
- type TaobaoTopOaidClientDecryptAPIResponse
- type TaobaoTopOaidClientDecryptAPIResponseModel
- type TaobaoTopOaidDecryptAPIRequest
- type TaobaoTopOaidDecryptAPIResponse
- type TaobaoTopOaidDecryptAPIResponseModel
- type TaobaoTopOaidMergeAPIRequest
- type TaobaoTopOaidMergeAPIResponse
- type TaobaoTopOaidMergeAPIResponseModel
- type TaobaoTopSecretAppkeyBillDetailAPIRequest
- func (r TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiMethodName() string
- func (r TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiParams() url.Values
- func (r TaobaoTopSecretAppkeyBillDetailAPIRequest) GetAppBillQueryRequest() *AppBillQueryRequest
- func (r *TaobaoTopSecretAppkeyBillDetailAPIRequest) SetAppBillQueryRequest(_appBillQueryRequest *AppBillQueryRequest) error
- type TaobaoTopSecretAppkeyBillDetailAPIResponse
- type TaobaoTopSecretAppkeyBillDetailAPIResponseModel
- type TaobaoTopSecretBillDetailAPIRequest
- func (r TaobaoTopSecretBillDetailAPIRequest) GetApiMethodName() string
- func (r TaobaoTopSecretBillDetailAPIRequest) GetApiParams() url.Values
- func (r TaobaoTopSecretBillDetailAPIRequest) GetSellerBillQueryRequest() *SellerBillQueryRequest
- func (r *TaobaoTopSecretBillDetailAPIRequest) SetSellerBillQueryRequest(_sellerBillQueryRequest *SellerBillQueryRequest) error
- type TaobaoTopSecretBillDetailAPIResponse
- type TaobaoTopSecretBillDetailAPIResponseModel
- type TaobaoTopSecretExtendAPIRequest
- func (r TaobaoTopSecretExtendAPIRequest) GetApiMethodName() string
- func (r TaobaoTopSecretExtendAPIRequest) GetApiParams() url.Values
- func (r TaobaoTopSecretExtendAPIRequest) GetExtendRequest() *SecretNoExtendRequest
- func (r *TaobaoTopSecretExtendAPIRequest) SetExtendRequest(_extendRequest *SecretNoExtendRequest) error
- type TaobaoTopSecretExtendAPIResponse
- type TaobaoTopSecretExtendAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBillQueryRequest ¶ added in v1.2.5
type AppBillQueryRequest struct { // 账单时间 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 页号,从1开始 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 页大小,不得超过1000 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
AppBillQueryRequest 结构体
type AssembleOrder ¶ added in v1.2.5
type AssembleOrder struct { // 合单订单列表,一个列表最多200 OrderList []OrderGroup `json:"order_list,omitempty" xml:"order_list>order_group,omitempty"` // 组合id,服务商内部的合单操作id,取消合单会根据group_id进行删除操作。 GroupId string `json:"group_id,omitempty" xml:"group_id,omitempty"` }
AssembleOrder 结构体
type BillDetailInfo ¶ added in v1.2.5
type BillDetailInfo struct { // 店铺名称 ShopNick string `json:"shop_nick,omitempty" xml:"shop_nick,omitempty"` // 账单计费 Cost string `json:"cost,omitempty" xml:"cost,omitempty"` // 已弃用,查询账单详情请使用taobao.top.secret.bill.detail接口。 SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"` // 已弃用,查询账单详情请使用taobao.top.secret.bill.detail接口。 Start string `json:"start,omitempty" xml:"start,omitempty"` // 已弃用,查询账单详情请使用taobao.top.secret.bill.detail接口。 End string `json:"end,omitempty" xml:"end,omitempty"` // 0-号租费,1-通话费 BillItem int64 `json:"bill_item,omitempty" xml:"bill_item,omitempty"` // 账单持续时间,号租费时单位为天,通话费单位为分钟 BillDuration int64 `json:"bill_duration,omitempty" xml:"bill_duration,omitempty"` // 订单号 OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` }
BillDetailInfo 结构体
type CrmPrivacyResponse ¶ added in v1.2.5
type CrmPrivacyResponse struct { // omid Omid string `json:"omid,omitempty" xml:"omid,omitempty"` // ouid Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"` }
CrmPrivacyResponse 结构体
type OrderAssembleResponse ¶ added in v1.2.5
type OrderAssembleResponse struct { // 回传结果List OrderGroupResponses []OrderGroupResponse `json:"order_group_responses,omitempty" xml:"order_group_responses>order_group_response,omitempty"` }
OrderAssembleResponse 结构体
type OrderGroup ¶ added in v1.2.5
type OrderGroup struct { // 淘宝交易子订单id TaobaoSubOrderId string `json:"taobao_sub_order_id,omitempty" xml:"taobao_sub_order_id,omitempty"` // 淘宝单号可以是交易订单、换货单、补货单、代发单或分销单等,当 order_type=0时,order_id = taobao_parent_order_id。 OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // erp系统内的订单id ErpOrderId string `json:"erp_order_id,omitempty" xml:"erp_order_id,omitempty"` // 淘宝交易主订单id TaobaoParentOrderId string `json:"taobao_parent_order_id,omitempty" xml:"taobao_parent_order_id,omitempty"` // order_id的类型,0:淘宝交易订单,1: 换货单,2:分销单,3:补货单,4:代发单 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 商品类型, 0:下单货品,1:赠品,2:其他 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` }
OrderGroup 结构体
type OrderGroupResponse ¶ added in v1.2.5
type OrderGroupResponse struct { // 入参中的groupId GroupId string `json:"group_id,omitempty" xml:"group_id,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 回传结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
OrderGroupResponse 结构体
type OrderMerge ¶
type OrderMerge struct { // 收件人ID (Open Addressee ID),长度在128个字符之内。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 订单ID Tid string `json:"tid,omitempty" xml:"tid,omitempty"` }
OrderMerge 结构体
type Receiver ¶
type Receiver struct { // 交易编号 OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 收件人ID (Open Addressee ID),长度在128个字符之内。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 收件人的详细地址 AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"` // 收货人街道地址 Town string `json:"town,omitempty" xml:"town,omitempty"` // 收货人的所在地区 District string `json:"district,omitempty" xml:"district,omitempty"` // 收货人的所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 收货人的所在省份 State string `json:"state,omitempty" xml:"state,omitempty"` // 收货人国籍 Country string `json:"country,omitempty" xml:"country,omitempty"` // 收件人的电话号码 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 收件人的手机号 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 收件人的姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 隐私号过期时间 SecretNoExpireTime string `json:"secret_no_expire_time,omitempty" xml:"secret_no_expire_time,omitempty"` // 交易编号 Tid string `json:"tid,omitempty" xml:"tid,omitempty"` // oaid是否和tid当前的oaid匹配。true:匹配,false:不匹配。当不匹配时,建议通过taobao.trade.fullinfo.get获取最新的oaid。 Matched bool `json:"matched,omitempty" xml:"matched,omitempty"` // 标记订单是否为隐私保护订单,为true时,mobile为隐私号 PrivacyProtection bool `json:"privacy_protection,omitempty" xml:"privacy_protection,omitempty"` }
Receiver 结构体
type ReceiverQuery ¶
type ReceiverQuery struct { // 交易订单ID Tid string `json:"tid,omitempty" xml:"tid,omitempty"` // 收件人ID (Open Addressee ID),长度在128个字符之内。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 解密场景编号。不同场景,解密策略不同。请根据产品功能选择相应的场景编号。可选的场景:1001(顺丰电子面单发货)、1002(4通一达电子面单发货)、1003(EMS电子面单发货)、1004(其他电子面单发货)、1005(线下门店发货)、1006(手工单发货)、1007(代发货)、2001(客户售后服务)、2002(客户关怀),<a href="https://open.taobao.com/doc.htm?docId=120186&docType=1" target="_blank">详情点击</a> Scene string `json:"scene,omitempty" xml:"scene,omitempty"` // 隐私号绑定天数 SecretNoDays int64 `json:"secret_no_days,omitempty" xml:"secret_no_days,omitempty"` }
ReceiverQuery 结构体
type SecretNo ¶ added in v1.2.5
type SecretNo struct { // 隐私号 SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"` // 延期后隐私号的过期时间 ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"` }
SecretNo 结构体
type SecretNoExtendRequest ¶ added in v1.2.5
type SecretNoExtendRequest struct { // 收件人ID (Open Addressee ID),长度在128个字符之内。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 解密场景编号。不同场景,解密策略不同。请根据产品功能选择相应的场景编号。可选的场景:1001(顺丰电子面单发货)、1002(4通一达电子面单发货)、1003(EMS电子面单发货)、1004(其他电子面单发货)、1005(线下门店发货)、1006(手工单发货)、1007(代发货)、2001(客户售后服务)、2002(客户关怀) Scene string `json:"scene,omitempty" xml:"scene,omitempty"` // 虚拟号有效期延长天数,发货场景只能填7、15、30 ExtendDays int64 `json:"extend_days,omitempty" xml:"extend_days,omitempty"` // 交易订单ID OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` }
SecretNoExtendRequest 结构体
type SellerBillQueryRequest ¶ added in v1.2.5
type SellerBillQueryRequest struct { // 账单时间 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 页号,从1开始 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 页大小,不得超过1000 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
SellerBillQueryRequest 结构体
type TaobaoCrmHistoryOmidGetAPIRequest ¶ added in v1.2.5
type TaobaoCrmHistoryOmidGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoCrmHistoryOmidGetAPIRequest 根据buyerNick获取omid API请求 taobao.crm.history.omid.get
根据buyerNick获取ouid
func NewTaobaoCrmHistoryOmidGetRequest ¶ added in v1.2.5
func NewTaobaoCrmHistoryOmidGetRequest() *TaobaoCrmHistoryOmidGetAPIRequest
NewTaobaoCrmHistoryOmidGetRequest 初始化TaobaoCrmHistoryOmidGetAPIRequest对象
func (TaobaoCrmHistoryOmidGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoCrmHistoryOmidGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoCrmHistoryOmidGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoCrmHistoryOmidGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoCrmHistoryOmidGetAPIRequest) GetBuyerNick ¶ added in v1.2.5
func (r TaobaoCrmHistoryOmidGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (*TaobaoCrmHistoryOmidGetAPIRequest) SetBuyerNick ¶ added in v1.2.5
func (r *TaobaoCrmHistoryOmidGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家淘宝Nick
type TaobaoCrmHistoryOmidGetAPIResponse ¶ added in v1.2.5
type TaobaoCrmHistoryOmidGetAPIResponse struct { model.CommonResponse TaobaoCrmHistoryOmidGetAPIResponseModel }
TaobaoCrmHistoryOmidGetAPIResponse 根据buyerNick获取omid API返回值 taobao.crm.history.omid.get
根据buyerNick获取ouid
type TaobaoCrmHistoryOmidGetAPIResponseModel ¶ added in v1.2.5
type TaobaoCrmHistoryOmidGetAPIResponseModel struct { XMLName xml.Name `xml:"crm_history_omid_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Data *CrmPrivacyResponse `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoCrmHistoryOmidGetAPIResponseModel is 根据buyerNick获取omid 成功返回结果
type TaobaoCrmHistoryOuidGetAPIRequest ¶ added in v1.2.5
type TaobaoCrmHistoryOuidGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoCrmHistoryOuidGetAPIRequest 根据buyerNick获取ouid API请求 taobao.crm.history.ouid.get
根据buyerNick获取ouid
func NewTaobaoCrmHistoryOuidGetRequest ¶ added in v1.2.5
func NewTaobaoCrmHistoryOuidGetRequest() *TaobaoCrmHistoryOuidGetAPIRequest
NewTaobaoCrmHistoryOuidGetRequest 初始化TaobaoCrmHistoryOuidGetAPIRequest对象
func (TaobaoCrmHistoryOuidGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoCrmHistoryOuidGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoCrmHistoryOuidGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoCrmHistoryOuidGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoCrmHistoryOuidGetAPIRequest) GetBuyerNick ¶ added in v1.2.5
func (r TaobaoCrmHistoryOuidGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (*TaobaoCrmHistoryOuidGetAPIRequest) SetBuyerNick ¶ added in v1.2.5
func (r *TaobaoCrmHistoryOuidGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家淘宝Nick
type TaobaoCrmHistoryOuidGetAPIResponse ¶ added in v1.2.5
type TaobaoCrmHistoryOuidGetAPIResponse struct { model.CommonResponse TaobaoCrmHistoryOuidGetAPIResponseModel }
TaobaoCrmHistoryOuidGetAPIResponse 根据buyerNick获取ouid API返回值 taobao.crm.history.ouid.get
根据buyerNick获取ouid
type TaobaoCrmHistoryOuidGetAPIResponseModel ¶ added in v1.2.5
type TaobaoCrmHistoryOuidGetAPIResponseModel struct { XMLName xml.Name `xml:"crm_history_ouid_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Data *CrmPrivacyResponse `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoCrmHistoryOuidGetAPIResponseModel is 根据buyerNick获取ouid 成功返回结果
type TaobaoFulfillmentOrderAssembleAPIRequest ¶ added in v1.2.5
type TaobaoFulfillmentOrderAssembleAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFulfillmentOrderAssembleAPIRequest 拆合单结果回传接口 API请求 taobao.fulfillment.order.assemble
拆合单结果回传接口
func NewTaobaoFulfillmentOrderAssembleRequest ¶ added in v1.2.5
func NewTaobaoFulfillmentOrderAssembleRequest() *TaobaoFulfillmentOrderAssembleAPIRequest
NewTaobaoFulfillmentOrderAssembleRequest 初始化TaobaoFulfillmentOrderAssembleAPIRequest对象
func (TaobaoFulfillmentOrderAssembleAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFulfillmentOrderAssembleAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFulfillmentOrderAssembleAPIRequest) GetAssembleOrders ¶ added in v1.2.5
func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetAssembleOrders() *AssembleOrder
GetAssembleOrders AssembleOrders Getter
func (TaobaoFulfillmentOrderAssembleAPIRequest) GetType ¶ added in v1.2.5
func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoFulfillmentOrderAssembleAPIRequest) SetAssembleOrders ¶ added in v1.2.5
func (r *TaobaoFulfillmentOrderAssembleAPIRequest) SetAssembleOrders(_assembleOrders *AssembleOrder) error
SetAssembleOrders is AssembleOrders Setter 批量回传集合,一次接口最多40
func (*TaobaoFulfillmentOrderAssembleAPIRequest) SetType ¶ added in v1.2.5
func (r *TaobaoFulfillmentOrderAssembleAPIRequest) SetType(_type string) error
SetType is Type Setter 操作类型,支持参数为MERGE、CANCEL_MERGE。当进行CANCEL_MERGE操作时,只需要传入groupId即可,order_list可以为空
type TaobaoFulfillmentOrderAssembleAPIResponse ¶ added in v1.2.5
type TaobaoFulfillmentOrderAssembleAPIResponse struct { model.CommonResponse TaobaoFulfillmentOrderAssembleAPIResponseModel }
TaobaoFulfillmentOrderAssembleAPIResponse 拆合单结果回传接口 API返回值 taobao.fulfillment.order.assemble
拆合单结果回传接口
type TaobaoFulfillmentOrderAssembleAPIResponseModel ¶ added in v1.2.5
type TaobaoFulfillmentOrderAssembleAPIResponseModel struct { XMLName xml.Name `xml:"fulfillment_order_assemble_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 CallErrorCode string `json:"call_error_code,omitempty" xml:"call_error_code,omitempty"` // 错误信息描述 CallErrorMsg string `json:"call_error_msg,omitempty" xml:"call_error_msg,omitempty"` // 回传结果 Model *OrderAssembleResponse `json:"model,omitempty" xml:"model,omitempty"` // 调用结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFulfillmentOrderAssembleAPIResponseModel is 拆合单结果回传接口 成功返回结果
type TaobaoTopOaidClientDecryptAPIRequest ¶ added in v1.2.5
type TaobaoTopOaidClientDecryptAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTopOaidClientDecryptAPIRequest 端侧OAID解密 API请求 taobao.top.oaid.client.decrypt
解码OAID(Open Addressee ID),返回收件人信息。该接口用于客户端直接查看订单隐私数据,解密数据不经过ISV服务器,且包含风控等安全检测。
func NewTaobaoTopOaidClientDecryptRequest ¶ added in v1.2.5
func NewTaobaoTopOaidClientDecryptRequest() *TaobaoTopOaidClientDecryptAPIRequest
NewTaobaoTopOaidClientDecryptRequest 初始化TaobaoTopOaidClientDecryptAPIRequest对象
func (TaobaoTopOaidClientDecryptAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTopOaidClientDecryptAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTopOaidClientDecryptAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTopOaidClientDecryptAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTopOaidClientDecryptAPIRequest) GetQueryList ¶ added in v1.2.5
func (r TaobaoTopOaidClientDecryptAPIRequest) GetQueryList() []ReceiverQuery
GetQueryList QueryList Getter
func (TaobaoTopOaidClientDecryptAPIRequest) GetSecOnceToken ¶ added in v1.2.5
func (r TaobaoTopOaidClientDecryptAPIRequest) GetSecOnceToken() string
GetSecOnceToken SecOnceToken Getter
func (*TaobaoTopOaidClientDecryptAPIRequest) SetQueryList ¶ added in v1.2.5
func (r *TaobaoTopOaidClientDecryptAPIRequest) SetQueryList(_queryList []ReceiverQuery) error
SetQueryList is QueryList Setter 解密请求列表,长度不要超过1(只能单笔解密,不支持批量解密)。
func (*TaobaoTopOaidClientDecryptAPIRequest) SetSecOnceToken ¶ added in v1.2.5
func (r *TaobaoTopOaidClientDecryptAPIRequest) SetSecOnceToken(_secOnceToken string) error
SetSecOnceToken is SecOnceToken Setter 安全令牌
type TaobaoTopOaidClientDecryptAPIResponse ¶ added in v1.2.5
type TaobaoTopOaidClientDecryptAPIResponse struct { model.CommonResponse TaobaoTopOaidClientDecryptAPIResponseModel }
TaobaoTopOaidClientDecryptAPIResponse 端侧OAID解密 API返回值 taobao.top.oaid.client.decrypt
解码OAID(Open Addressee ID),返回收件人信息。该接口用于客户端直接查看订单隐私数据,解密数据不经过ISV服务器,且包含风控等安全检测。
type TaobaoTopOaidClientDecryptAPIResponseModel ¶ added in v1.2.5
type TaobaoTopOaidClientDecryptAPIResponseModel struct { XMLName xml.Name `xml:"top_oaid_client_decrypt_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 收件人列表 ReceiverList []Receiver `json:"receiver_list,omitempty" xml:"receiver_list>receiver,omitempty"` }
TaobaoTopOaidClientDecryptAPIResponseModel is 端侧OAID解密 成功返回结果
type TaobaoTopOaidDecryptAPIRequest ¶ added in v1.2.0
type TaobaoTopOaidDecryptAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTopOaidDecryptAPIRequest OAID解密 API请求 taobao.top.oaid.decrypt
解码OAID(Open Addressee ID),返回收件人信息。
func NewTaobaoTopOaidDecryptRequest ¶
func NewTaobaoTopOaidDecryptRequest() *TaobaoTopOaidDecryptAPIRequest
NewTaobaoTopOaidDecryptRequest 初始化TaobaoTopOaidDecryptAPIRequest对象
func (TaobaoTopOaidDecryptAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTopOaidDecryptAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTopOaidDecryptAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTopOaidDecryptAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTopOaidDecryptAPIRequest) GetQueryList ¶ added in v1.2.0
func (r TaobaoTopOaidDecryptAPIRequest) GetQueryList() []ReceiverQuery
GetQueryList QueryList Getter
func (*TaobaoTopOaidDecryptAPIRequest) SetQueryList ¶ added in v1.2.0
func (r *TaobaoTopOaidDecryptAPIRequest) SetQueryList(_queryList []ReceiverQuery) error
SetQueryList is QueryList Setter 解密请求列表,最多支持20个。
type TaobaoTopOaidDecryptAPIResponse ¶
type TaobaoTopOaidDecryptAPIResponse struct { model.CommonResponse TaobaoTopOaidDecryptAPIResponseModel }
TaobaoTopOaidDecryptAPIResponse OAID解密 API返回值 taobao.top.oaid.decrypt
解码OAID(Open Addressee ID),返回收件人信息。
type TaobaoTopOaidDecryptAPIResponseModel ¶ added in v1.2.0
type TaobaoTopOaidDecryptAPIResponseModel struct { XMLName xml.Name `xml:"top_oaid_decrypt_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 收件人列表 ReceiverList []Receiver `json:"receiver_list,omitempty" xml:"receiver_list>receiver,omitempty"` }
TaobaoTopOaidDecryptAPIResponseModel is OAID解密 成功返回结果
type TaobaoTopOaidMergeAPIRequest ¶ added in v1.2.0
TaobaoTopOaidMergeAPIRequest OAID订单合并 API请求 taobao.top.oaid.merge
基于OAID(收件人ID, Open Addressee ID)做订单合并,确保相同收件人信息的订单合并到相同组。
func NewTaobaoTopOaidMergeRequest ¶
func NewTaobaoTopOaidMergeRequest() *TaobaoTopOaidMergeAPIRequest
NewTaobaoTopOaidMergeRequest 初始化TaobaoTopOaidMergeAPIRequest对象
func (TaobaoTopOaidMergeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTopOaidMergeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTopOaidMergeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTopOaidMergeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTopOaidMergeAPIRequest) GetMergeList ¶ added in v1.2.0
func (r TaobaoTopOaidMergeAPIRequest) GetMergeList() []OrderMerge
GetMergeList MergeList Getter
func (*TaobaoTopOaidMergeAPIRequest) SetMergeList ¶ added in v1.2.0
func (r *TaobaoTopOaidMergeAPIRequest) SetMergeList(_mergeList []OrderMerge) error
SetMergeList is MergeList Setter 合单请求列表,最多支持100个。
type TaobaoTopOaidMergeAPIResponse ¶
type TaobaoTopOaidMergeAPIResponse struct { model.CommonResponse TaobaoTopOaidMergeAPIResponseModel }
TaobaoTopOaidMergeAPIResponse OAID订单合并 API返回值 taobao.top.oaid.merge
基于OAID(收件人ID, Open Addressee ID)做订单合并,确保相同收件人信息的订单合并到相同组。
type TaobaoTopOaidMergeAPIResponseModel ¶ added in v1.2.0
type TaobaoTopOaidMergeAPIResponseModel struct { XMLName xml.Name `xml:"top_oaid_merge_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 合单结果。注意:一个字符串中的多笔订单可以合单,不同字符串间的订单不可合单!!!<br/> 比如,["1111,2222"]表示订单1111和订单2222可合单,["1111","2222"]表示订单1111和订单2222不可以合单。 TidList []string `json:"tid_list,omitempty" xml:"tid_list>string,omitempty"` }
TaobaoTopOaidMergeAPIResponseModel is OAID订单合并 成功返回结果
type TaobaoTopSecretAppkeyBillDetailAPIRequest ¶ added in v1.2.5
type TaobaoTopSecretAppkeyBillDetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTopSecretAppkeyBillDetailAPIRequest 服务商解密账单查询 API请求 taobao.top.secret.appkey.bill.detail
服务商解密账单查询,分页返回所有店铺的账单,每个店铺每天仅包含两条数据,当天产生的号租费 和 当天产生的通话费,仅对90天内的账单提供SLA保障。查询账单详情请使用taobao.top.secret.bill.detail接口。
func NewTaobaoTopSecretAppkeyBillDetailRequest ¶ added in v1.2.5
func NewTaobaoTopSecretAppkeyBillDetailRequest() *TaobaoTopSecretAppkeyBillDetailAPIRequest
NewTaobaoTopSecretAppkeyBillDetailRequest 初始化TaobaoTopSecretAppkeyBillDetailAPIRequest对象
func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetAppBillQueryRequest ¶ added in v1.2.5
func (r TaobaoTopSecretAppkeyBillDetailAPIRequest) GetAppBillQueryRequest() *AppBillQueryRequest
GetAppBillQueryRequest AppBillQueryRequest Getter
func (*TaobaoTopSecretAppkeyBillDetailAPIRequest) SetAppBillQueryRequest ¶ added in v1.2.5
func (r *TaobaoTopSecretAppkeyBillDetailAPIRequest) SetAppBillQueryRequest(_appBillQueryRequest *AppBillQueryRequest) error
SetAppBillQueryRequest is AppBillQueryRequest Setter 卖家账单查询
type TaobaoTopSecretAppkeyBillDetailAPIResponse ¶ added in v1.2.5
type TaobaoTopSecretAppkeyBillDetailAPIResponse struct { model.CommonResponse TaobaoTopSecretAppkeyBillDetailAPIResponseModel }
TaobaoTopSecretAppkeyBillDetailAPIResponse 服务商解密账单查询 API返回值 taobao.top.secret.appkey.bill.detail
服务商解密账单查询,分页返回所有店铺的账单,每个店铺每天仅包含两条数据,当天产生的号租费 和 当天产生的通话费,仅对90天内的账单提供SLA保障。查询账单详情请使用taobao.top.secret.bill.detail接口。
type TaobaoTopSecretAppkeyBillDetailAPIResponseModel ¶ added in v1.2.5
type TaobaoTopSecretAppkeyBillDetailAPIResponseModel struct { XMLName xml.Name `xml:"top_secret_appkey_bill_detail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 账单明细 Data []BillDetailInfo `json:"data,omitempty" xml:"data>bill_detail_info,omitempty"` // 账单总个数 TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"` }
TaobaoTopSecretAppkeyBillDetailAPIResponseModel is 服务商解密账单查询 成功返回结果
type TaobaoTopSecretBillDetailAPIRequest ¶ added in v1.2.5
type TaobaoTopSecretBillDetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTopSecretBillDetailAPIRequest 服务商的商家解密账单详情查询 API请求 taobao.top.secret.bill.detail
服务商的商家解密账单详情查询,仅对90天内的账单提供SLA保障。
func NewTaobaoTopSecretBillDetailRequest ¶ added in v1.2.5
func NewTaobaoTopSecretBillDetailRequest() *TaobaoTopSecretBillDetailAPIRequest
NewTaobaoTopSecretBillDetailRequest 初始化TaobaoTopSecretBillDetailAPIRequest对象
func (TaobaoTopSecretBillDetailAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTopSecretBillDetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTopSecretBillDetailAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTopSecretBillDetailAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTopSecretBillDetailAPIRequest) GetSellerBillQueryRequest ¶ added in v1.2.5
func (r TaobaoTopSecretBillDetailAPIRequest) GetSellerBillQueryRequest() *SellerBillQueryRequest
GetSellerBillQueryRequest SellerBillQueryRequest Getter
func (*TaobaoTopSecretBillDetailAPIRequest) SetSellerBillQueryRequest ¶ added in v1.2.5
func (r *TaobaoTopSecretBillDetailAPIRequest) SetSellerBillQueryRequest(_sellerBillQueryRequest *SellerBillQueryRequest) error
SetSellerBillQueryRequest is SellerBillQueryRequest Setter 卖家账单查询
type TaobaoTopSecretBillDetailAPIResponse ¶ added in v1.2.5
type TaobaoTopSecretBillDetailAPIResponse struct { model.CommonResponse TaobaoTopSecretBillDetailAPIResponseModel }
TaobaoTopSecretBillDetailAPIResponse 服务商的商家解密账单详情查询 API返回值 taobao.top.secret.bill.detail
服务商的商家解密账单详情查询,仅对90天内的账单提供SLA保障。
type TaobaoTopSecretBillDetailAPIResponseModel ¶ added in v1.2.5
type TaobaoTopSecretBillDetailAPIResponseModel struct { XMLName xml.Name `xml:"top_secret_bill_detail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 账单明细 Data []BillDetailInfo `json:"data,omitempty" xml:"data>bill_detail_info,omitempty"` // 账单总个数 TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"` }
TaobaoTopSecretBillDetailAPIResponseModel is 服务商的商家解密账单详情查询 成功返回结果
type TaobaoTopSecretExtendAPIRequest ¶ added in v1.2.5
type TaobaoTopSecretExtendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTopSecretExtendAPIRequest 虚拟号延期 API请求 taobao.top.secret.extend
虚拟号延期
func NewTaobaoTopSecretExtendRequest ¶ added in v1.2.5
func NewTaobaoTopSecretExtendRequest() *TaobaoTopSecretExtendAPIRequest
NewTaobaoTopSecretExtendRequest 初始化TaobaoTopSecretExtendAPIRequest对象
func (TaobaoTopSecretExtendAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTopSecretExtendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTopSecretExtendAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTopSecretExtendAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTopSecretExtendAPIRequest) GetExtendRequest ¶ added in v1.2.5
func (r TaobaoTopSecretExtendAPIRequest) GetExtendRequest() *SecretNoExtendRequest
GetExtendRequest ExtendRequest Getter
func (*TaobaoTopSecretExtendAPIRequest) SetExtendRequest ¶ added in v1.2.5
func (r *TaobaoTopSecretExtendAPIRequest) SetExtendRequest(_extendRequest *SecretNoExtendRequest) error
SetExtendRequest is ExtendRequest Setter 虚拟号延期请求
type TaobaoTopSecretExtendAPIResponse ¶ added in v1.2.5
type TaobaoTopSecretExtendAPIResponse struct { model.CommonResponse TaobaoTopSecretExtendAPIResponseModel }
TaobaoTopSecretExtendAPIResponse 虚拟号延期 API返回值 taobao.top.secret.extend
虚拟号延期
type TaobaoTopSecretExtendAPIResponseModel ¶ added in v1.2.5
type TaobaoTopSecretExtendAPIResponseModel struct { XMLName xml.Name `xml:"top_secret_extend_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 隐私号延期返回结果 Result *SecretNo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTopSecretExtendAPIResponseModel is 虚拟号延期 成功返回结果
Source Files ¶
- AppBillQueryRequest.go
- AssembleOrder.go
- BillDetailInfo.go
- CrmPrivacyResponse.go
- OrderAssembleResponse.go
- OrderGroup.go
- OrderGroupResponse.go
- OrderMerge.go
- Receiver.go
- ReceiverQuery.go
- SecretNo.go
- SecretNoExtendRequest.go
- SellerBillQueryRequest.go
- TaobaoCrmHistoryOmidGetAPIRequest.go
- TaobaoCrmHistoryOmidGetAPIResponse.go
- TaobaoCrmHistoryOuidGetAPIRequest.go
- TaobaoCrmHistoryOuidGetAPIResponse.go
- TaobaoFulfillmentOrderAssembleAPIRequest.go
- TaobaoFulfillmentOrderAssembleAPIResponse.go
- TaobaoTopOaidClientDecryptAPIRequest.go
- TaobaoTopOaidClientDecryptAPIResponse.go
- TaobaoTopOaidDecryptAPIRequest.go
- TaobaoTopOaidDecryptAPIResponse.go
- TaobaoTopOaidMergeAPIRequest.go
- TaobaoTopOaidMergeAPIResponse.go
- TaobaoTopSecretAppkeyBillDetailAPIRequest.go
- TaobaoTopSecretAppkeyBillDetailAPIResponse.go
- TaobaoTopSecretBillDetailAPIRequest.go
- TaobaoTopSecretBillDetailAPIResponse.go
- TaobaoTopSecretExtendAPIRequest.go
- TaobaoTopSecretExtendAPIResponse.go
- doc.go