Documentation ¶
Overview ¶
Package trade 包含交易API相关结构体
Index ¶
- type AlibabaLstVasTradeflowSaveAPIRequest
- func (r AlibabaLstVasTradeflowSaveAPIRequest) GetApiMethodName() string
- func (r AlibabaLstVasTradeflowSaveAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstVasTradeflowSaveAPIRequest) GetTradeFlowModelList() *TradeFlowModel
- func (r *AlibabaLstVasTradeflowSaveAPIRequest) SetTradeFlowModelList(_tradeFlowModelList *TradeFlowModel) error
- type AlibabaLstVasTradeflowSaveAPIResponse
- type AlibabaLstVasTradeflowSaveAPIResponseModel
- type AlibabaLstVasTradeflowSaveResult
- type AlibabaOmniSaasOrderCreateAPIRequest
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetApiMethodName() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetApiParams() url.Values
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetBuyerId() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetBuyerIdType() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetCouponInfos() []CouponInfo
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetDevice() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetDeviceNo() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetGoodsDetails() []GoodsDetail
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetOperatorId() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetPayChannel() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetRequestNo() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetStoreId() string
- func (r AlibabaOmniSaasOrderCreateAPIRequest) GetStoreIdType() string
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetBuyerId(_buyerId string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetBuyerIdType(_buyerIdType string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetCouponInfos(_couponInfos []CouponInfo) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetDevice(_device string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetDeviceNo(_deviceNo string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetGoodsDetails(_goodsDetails []GoodsDetail) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetOperatorId(_operatorId string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetPayChannel(_payChannel string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetRequestNo(_requestNo string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetStoreId(_storeId string) error
- func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetStoreIdType(_storeIdType string) error
- type AlibabaOmniSaasOrderCreateAPIResponse
- type AlibabaOmniSaasOrderCreateAPIResponseModel
- type AlibabaTradeAlianceCreateAPIRequest
- func (r AlibabaTradeAlianceCreateAPIRequest) GetApiMethodName() string
- func (r AlibabaTradeAlianceCreateAPIRequest) GetApiParams() url.Values
- func (r AlibabaTradeAlianceCreateAPIRequest) GetParamIsvCreateOrderParam() *IsvCreateOrderParam
- func (r *AlibabaTradeAlianceCreateAPIRequest) SetParamIsvCreateOrderParam(_paramIsvCreateOrderParam *IsvCreateOrderParam) error
- type AlibabaTradeAlianceCreateAPIResponse
- type AlibabaTradeAlianceCreateAPIResponseModel
- type AlibabaTradeAlianceCreateResultModel
- type AlibabaWdkPosTradeCloseAPIRequest
- func (r AlibabaWdkPosTradeCloseAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkPosTradeCloseAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkPosTradeCloseAPIRequest) GetCloseRequest() *FastBuyPosCloseRequest
- func (r *AlibabaWdkPosTradeCloseAPIRequest) SetCloseRequest(_closeRequest *FastBuyPosCloseRequest) error
- type AlibabaWdkPosTradeCloseAPIResponse
- type AlibabaWdkPosTradeCloseAPIResponseModel
- type AlibabaWdkPosTradeCreateAPIRequest
- func (r AlibabaWdkPosTradeCreateAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkPosTradeCreateAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkPosTradeCreateAPIRequest) GetCreateRequest() *FastBuyPosCreateRequest
- func (r *AlibabaWdkPosTradeCreateAPIRequest) SetCreateRequest(_createRequest *FastBuyPosCreateRequest) error
- type AlibabaWdkPosTradeCreateAPIResponse
- type AlibabaWdkPosTradeCreateAPIResponseModel
- type AlibabaWdkPosTradePayAPIRequest
- func (r AlibabaWdkPosTradePayAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkPosTradePayAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkPosTradePayAPIRequest) GetPayRequest() *FastBuyPosPayRequest
- func (r *AlibabaWdkPosTradePayAPIRequest) SetPayRequest(_payRequest *FastBuyPosPayRequest) error
- type AlibabaWdkPosTradePayAPIResponse
- type AlibabaWdkPosTradePayAPIResponseModel
- type AlibabaWdkPosTradeQueryAPIRequest
- func (r AlibabaWdkPosTradeQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkPosTradeQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkPosTradeQueryAPIRequest) GetQueryRequest() *FastBuyPosQueryRequest
- func (r *AlibabaWdkPosTradeQueryAPIRequest) SetQueryRequest(_queryRequest *FastBuyPosQueryRequest) error
- type AlibabaWdkPosTradeQueryAPIResponse
- type AlibabaWdkPosTradeQueryAPIResponseModel
- type AlibabaWdkPosTradeReverseAPIRequest
- func (r AlibabaWdkPosTradeReverseAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkPosTradeReverseAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkPosTradeReverseAPIRequest) GetReverseRequest() *FastBuyPosReverseRequest
- func (r *AlibabaWdkPosTradeReverseAPIRequest) SetReverseRequest(_reverseRequest *FastBuyPosReverseRequest) error
- type AlibabaWdkPosTradeReverseAPIResponse
- type AlibabaWdkPosTradeReverseAPIResponseModel
- type AlibabaWdkTradeDiscountBillGetAPIRequest
- func (r AlibabaWdkTradeDiscountBillGetAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkTradeDiscountBillGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkTradeDiscountBillGetAPIRequest) GetParam0() *OrderDiscountBillQueryRequest
- func (r *AlibabaWdkTradeDiscountBillGetAPIRequest) SetParam0(_param0 *OrderDiscountBillQueryRequest) error
- type AlibabaWdkTradeDiscountBillGetAPIResponse
- type AlibabaWdkTradeDiscountBillGetAPIResponseModel
- type AlibabaWdkTradeOrderCancelAPIRequest
- type AlibabaWdkTradeOrderCancelAPIResponse
- type AlibabaWdkTradeOrderCancelAPIResponseModel
- type AlibabaWdkTradeOrderCreateAPIRequest
- type AlibabaWdkTradeOrderCreateAPIResponse
- type AlibabaWdkTradeOrderCreateAPIResponseModel
- type AlibabaWdkTradeOrderQueryAPIRequest
- func (r AlibabaWdkTradeOrderQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkTradeOrderQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkTradeOrderQueryAPIRequest) GetQuery() *TradeOrderQuery
- func (r *AlibabaWdkTradeOrderQueryAPIRequest) SetQuery(_query *TradeOrderQuery) error
- type AlibabaWdkTradeOrderQueryAPIResponse
- type AlibabaWdkTradeOrderQueryAPIResponseModel
- type AlibabaWdkTradeRefundCreateAPIRequest
- func (r AlibabaWdkTradeRefundCreateAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkTradeRefundCreateAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkTradeRefundCreateAPIRequest) GetRefundGoodsCreateRequest() *RefundGoodsCreateRequest
- func (r *AlibabaWdkTradeRefundCreateAPIRequest) SetRefundGoodsCreateRequest(_refundGoodsCreateRequest *RefundGoodsCreateRequest) error
- type AlibabaWdkTradeRefundCreateAPIResponse
- type AlibabaWdkTradeRefundCreateAPIResponseModel
- type AlibabaWdkTradeRefundInformAPIRequest
- func (r AlibabaWdkTradeRefundInformAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkTradeRefundInformAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkTradeRefundInformAPIRequest) GetInformRefundSuccessRequest() *InformRefundSuccessRequest
- func (r *AlibabaWdkTradeRefundInformAPIRequest) SetInformRefundSuccessRequest(_informRefundSuccessRequest *InformRefundSuccessRequest) error
- type AlibabaWdkTradeRefundInformAPIResponse
- type AlibabaWdkTradeRefundInformAPIResponseModel
- type AlibabaWdkTradeRefundQueryAPIRequest
- func (r AlibabaWdkTradeRefundQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkTradeRefundQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkTradeRefundQueryAPIRequest) GetRefundGoodsQueryRequest() *RefundGoodsQueryRequest
- func (r *AlibabaWdkTradeRefundQueryAPIRequest) SetRefundGoodsQueryRequest(_refundGoodsQueryRequest *RefundGoodsQueryRequest) error
- type AlibabaWdkTradeRefundQueryAPIResponse
- type AlibabaWdkTradeRefundQueryAPIResponseModel
- type AlibabaWdkTxdCrmStatementBackflowAPIRequest
- func (r AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetApiMethodName() string
- func (r AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetApiParams() url.Values
- func (r AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetParamStatementBO() *StatementBo
- func (r *AlibabaWdkTxdCrmStatementBackflowAPIRequest) SetParamStatementBO(_paramStatementBO *StatementBo) error
- type AlibabaWdkTxdCrmStatementBackflowAPIResponse
- type AlibabaWdkTxdCrmStatementBackflowAPIResponseModel
- type AlibabaWdkTxdCrmStatementBackflowApiResult
- type AliexpressPaymentExchangeGetAPIRequest
- func (r AliexpressPaymentExchangeGetAPIRequest) GetApiMethodName() string
- func (r AliexpressPaymentExchangeGetAPIRequest) GetApiParams() url.Values
- func (r AliexpressPaymentExchangeGetAPIRequest) GetCheckoutExchangeRequest() *CheckoutExchangeRequest
- func (r *AliexpressPaymentExchangeGetAPIRequest) SetCheckoutExchangeRequest(_checkoutExchangeRequest *CheckoutExchangeRequest) error
- type AliexpressPaymentExchangeGetAPIResponse
- type AliexpressPaymentExchangeGetAPIResponseModel
- type AliexpressPaymentExchangeGetModule
- type AliexpressPaymentExchangeGetResult
- type AlitripRailTradeRefundAPIRequest
- type AlitripRailTradeRefundAPIResponse
- type AlitripRailTradeRefundAPIResponseModel
- type AlitripRailTradeRefundResultSet
- type CainiaoCntecSupplierOrderServiceAPIRequest
- func (r CainiaoCntecSupplierOrderServiceAPIRequest) GetApiMethodName() string
- func (r CainiaoCntecSupplierOrderServiceAPIRequest) GetApiParams() url.Values
- func (r CainiaoCntecSupplierOrderServiceAPIRequest) GetQueryConditioin() *SupplierOrderQueryDto
- func (r *CainiaoCntecSupplierOrderServiceAPIRequest) SetQueryConditioin(_queryConditioin *SupplierOrderQueryDto) error
- type CainiaoCntecSupplierOrderServiceAPIResponse
- type CainiaoCntecSupplierOrderServiceAPIResponseModel
- type CainiaoCntecSupplierOrderServiceResult
- type CainiaoRefundRefundactionsDisplayAPIRequest
- func (r CainiaoRefundRefundactionsDisplayAPIRequest) GetApiMethodName() string
- func (r CainiaoRefundRefundactionsDisplayAPIRequest) GetApiParams() url.Values
- func (r CainiaoRefundRefundactionsDisplayAPIRequest) GetParam0() *OrderRefundOperationReq
- func (r *CainiaoRefundRefundactionsDisplayAPIRequest) SetParam0(_param0 *OrderRefundOperationReq) error
- type CainiaoRefundRefundactionsDisplayAPIResponse
- type CainiaoRefundRefundactionsDisplayAPIResponseModel
- type CainiaoRefundRefundactionsDisplayBizResult
- type CainiaoRefundRefundactionsGetAPIRequest
- func (r CainiaoRefundRefundactionsGetAPIRequest) GetApiMethodName() string
- func (r CainiaoRefundRefundactionsGetAPIRequest) GetApiParams() url.Values
- func (r CainiaoRefundRefundactionsGetAPIRequest) GetOrderId() string
- func (r *CainiaoRefundRefundactionsGetAPIRequest) SetOrderId(_orderId string) error
- type CainiaoRefundRefundactionsGetAPIResponse
- type CainiaoRefundRefundactionsGetAPIResponseModel
- type CainiaoRefundRefundactionsGetBizResult
- type CainiaoRefundRefundactionsJudgementAPIRequest
- func (r CainiaoRefundRefundactionsJudgementAPIRequest) GetApiMethodName() string
- func (r CainiaoRefundRefundactionsJudgementAPIRequest) GetApiParams() url.Values
- func (r CainiaoRefundRefundactionsJudgementAPIRequest) GetParam0() *OrderRefundOperationJudgementReq
- func (r *CainiaoRefundRefundactionsJudgementAPIRequest) SetParam0(_param0 *OrderRefundOperationJudgementReq) error
- type CainiaoRefundRefundactionsJudgementAPIResponse
- type CainiaoRefundRefundactionsJudgementAPIResponseModel
- type CainiaoRefundRefundactionsJudgementBizResult
- type ChannelOrderItem
- type ChannelOrderOption
- type CheckoutExchangeRequest
- type CouponInfo
- type CreateChannelOrderRequest
- type ErrorCode
- type ExpandCardInfo
- type FastBuyPosCloseRequest
- type FastBuyPosCloseResult
- type FastBuyPosCreateRequest
- type FastBuyPosCreateResult
- type FastBuyPosItemBo
- type FastBuyPosPayRequest
- type FastBuyPosPayResult
- type FastBuyPosQueryRequest
- type FastBuyPosQueryResult
- type FastBuyPosReverseRequest
- type FastBuyPosReverseResult
- type File
- type GoodsDetail
- type InformRefundSuccessRequest
- type InformRefundSuccessResult
- type IsvCreateOrderParam
- type IsvSimpleSubOrderModel
- type ItemDigestDto
- type LogisticServiceTag
- type LogisticsInfo
- type LogisticsTag
- type Order
- type OrderAmount
- type OrderDeliverer
- type OrderDelivery
- type OrderDiscountBillBo
- type OrderDiscountBillQueryRequest
- type OrderDiscountBillQueryResult
- type OrderInfoDto
- type OrderInfoResultDto
- type OrderObject
- type OrderQuery
- type OrderRefundActionResponse
- type OrderRefundOperationJudgementReq
- type OrderRefundOperationReq
- type OrderRefundOperationResponse
- type OrderResult
- type PromotionDetail
- type ReceiverLogistics
- type Refund
- type RefundGoodsCreateRequest
- type RefundGoodsCreateResult
- type RefundGoodsQueryRequest
- type RefundGoodsQueryResult
- type RefundGoodsSubOrder
- type RefundGoodsSubOrderDetail
- type RefundReq
- type RefundSuccessSubOrderRequest
- type ServiceOrder
- type SmAddrModel
- type StatementBo
- type Suborders
- type SupplierOrder
- type SupplierOrderQueryDto
- type Supportrefundactions
- type TaobaoKoubeiTribeOpenOrderPageAPIRequest
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetApiMethodName() string
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetApiParams() url.Values
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetDataSetId() string
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetOpenId() string
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetOrderStatus() string
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetPageNo() int64
- func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetPageSize() int64
- func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetDataSetId(_dataSetId string) error
- func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetOpenId(_openId string) error
- func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetOrderStatus(_orderStatus string) error
- func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoKoubeiTribeOpenOrderPageAPIResponse
- type TaobaoKoubeiTribeOpenOrderPageAPIResponseModel
- type TaobaoKoubeiTribeOpenOrderPageResult
- type TaobaoLifeReservationItemOrderChangeAPIRequest
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetAction() string
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetApiMethodName() string
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetApiParams() url.Values
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetReserveEndTime() string
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetReserveStartTime() string
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetTicketId() string
- func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetTradeNo() string
- func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetAction(_action string) error
- func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetReserveEndTime(_reserveEndTime string) error
- func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetReserveStartTime(_reserveStartTime string) error
- func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetTicketId(_ticketId string) error
- func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetTradeNo(_tradeNo string) error
- type TaobaoLifeReservationItemOrderChangeAPIResponse
- type TaobaoLifeReservationItemOrderChangeAPIResponseModel
- type TaobaoLifeReservationItemOrderChangeResult
- type TaobaoLifeReservationItemOrderConfirmAPIRequest
- func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetApiParams() url.Values
- func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetOptType() string
- func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetTicketId() string
- func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetTradeNo() string
- func (r *TaobaoLifeReservationItemOrderConfirmAPIRequest) SetOptType(_optType string) error
- func (r *TaobaoLifeReservationItemOrderConfirmAPIRequest) SetTicketId(_ticketId string) error
- func (r *TaobaoLifeReservationItemOrderConfirmAPIRequest) SetTradeNo(_tradeNo string) error
- type TaobaoLifeReservationItemOrderConfirmAPIResponse
- type TaobaoLifeReservationItemOrderConfirmAPIResponseModel
- type TaobaoLifeReservationItemOrderConfirmResult
- type TaobaoLifeReservationTradeConsumeNoticeAPIRequest
- func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetApiMethodName() string
- func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetApiParams() url.Values
- func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetTicketId() string
- func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetTradeNo() string
- func (r *TaobaoLifeReservationTradeConsumeNoticeAPIRequest) SetTicketId(_ticketId string) error
- func (r *TaobaoLifeReservationTradeConsumeNoticeAPIRequest) SetTradeNo(_tradeNo string) error
- type TaobaoLifeReservationTradeConsumeNoticeAPIResponse
- type TaobaoLifeReservationTradeConsumeNoticeAPIResponseModel
- type TaobaoLifeReservationTradeConsumeNoticeResult
- type TaobaoOpenTradeGetAPIRequest
- func (r TaobaoOpenTradeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenTradeGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpenTradeGetAPIRequest) GetFields() string
- func (r TaobaoOpenTradeGetAPIRequest) GetTid() int64
- func (r *TaobaoOpenTradeGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoOpenTradeGetAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenTradeGetAPIResponse
- type TaobaoOpenTradeGetAPIResponseModel
- type TaobaoOpenTradesSoldGetAPIRequest
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetBuyerOpenId() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetEndCreated() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetFields() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetPageNo() int64
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetPageSize() int64
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetStartCreated() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetStatus() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetType() string
- func (r TaobaoOpenTradesSoldGetAPIRequest) GetUseHasNext() bool
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetBuyerOpenId(_buyerOpenId string) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetStartCreated(_startCreated string) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetType(_type string) error
- func (r *TaobaoOpenTradesSoldGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaoOpenTradesSoldGetAPIResponse
- type TaobaoOpenTradesSoldGetAPIResponseModel
- type TaobaoOpentradeCustomizationRefundEnableAPIRequest
- func (r TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetTradeId() int64
- func (r *TaobaoOpentradeCustomizationRefundEnableAPIRequest) SetTradeId(_tradeId int64) error
- type TaobaoOpentradeCustomizationRefundEnableAPIResponse
- type TaobaoOpentradeCustomizationRefundEnableAPIResponseModel
- type TaobaoRdcAligeniusOrdermsgUpdateAPIRequest
- func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetOid() int64
- func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetStatus() int64
- func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetTid() int64
- func (r *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetOid(_oid int64) error
- func (r *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetStatus(_status int64) error
- func (r *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetTid(_tid int64) error
- type TaobaoRdcAligeniusOrdermsgUpdateAPIResponse
- type TaobaoRdcAligeniusOrdermsgUpdateAPIResponseModel
- type TaobaoRdcAligeniusOrdermsgUpdateResult
- type TaobaoRefundsReceiveGetAPIRequest
- func (r TaobaoRefundsReceiveGetAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundsReceiveGetAPIRequest) GetBuyerNick() string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetEndModified() string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetFields() []string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetPageNo() int64
- func (r TaobaoRefundsReceiveGetAPIRequest) GetPageSize() int64
- func (r TaobaoRefundsReceiveGetAPIRequest) GetStartModified() string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetStatus() string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetType() string
- func (r TaobaoRefundsReceiveGetAPIRequest) GetUseHasNext() bool
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetStartModified(_startModified string) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetType(_type string) error
- func (r *TaobaoRefundsReceiveGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaoRefundsReceiveGetAPIResponse
- type TaobaoRefundsReceiveGetAPIResponseModel
- type TaobaoTradeAmountGetAPIRequest
- func (r TaobaoTradeAmountGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeAmountGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeAmountGetAPIRequest) GetFields() string
- func (r TaobaoTradeAmountGetAPIRequest) GetTid() int64
- func (r *TaobaoTradeAmountGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTradeAmountGetAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeAmountGetAPIResponse
- type TaobaoTradeAmountGetAPIResponseModel
- type TaobaoTradeCloseAPIRequest
- func (r TaobaoTradeCloseAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeCloseAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeCloseAPIRequest) GetCloseReason() string
- func (r TaobaoTradeCloseAPIRequest) GetTid() int64
- func (r *TaobaoTradeCloseAPIRequest) SetCloseReason(_closeReason string) error
- func (r *TaobaoTradeCloseAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeCloseAPIResponse
- type TaobaoTradeCloseAPIResponseModel
- type TaobaoTradeConfirmfeeGetAPIRequest
- type TaobaoTradeConfirmfeeGetAPIResponse
- type TaobaoTradeConfirmfeeGetAPIResponseModel
- type TaobaoTradeFullinfoGetAPIRequest
- func (r TaobaoTradeFullinfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeFullinfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeFullinfoGetAPIRequest) GetFields() string
- func (r TaobaoTradeFullinfoGetAPIRequest) GetIncludeOaid() string
- func (r TaobaoTradeFullinfoGetAPIRequest) GetTid() int64
- func (r *TaobaoTradeFullinfoGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTradeFullinfoGetAPIRequest) SetIncludeOaid(_includeOaid string) error
- func (r *TaobaoTradeFullinfoGetAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeFullinfoGetAPIResponse
- type TaobaoTradeFullinfoGetAPIResponseModel
- type TaobaoTradeGetAPIRequest
- func (r TaobaoTradeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeGetAPIRequest) GetFields() string
- func (r TaobaoTradeGetAPIRequest) GetTid() int64
- func (r *TaobaoTradeGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTradeGetAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeGetAPIResponse
- type TaobaoTradeGetAPIResponseModel
- type TaobaoTradeInvoiceAmountGetAPIRequest
- type TaobaoTradeInvoiceAmountGetAPIResponse
- type TaobaoTradeInvoiceAmountGetAPIResponseModel
- type TaobaoTradeMemoAddAPIRequest
- func (r TaobaoTradeMemoAddAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeMemoAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeMemoAddAPIRequest) GetFlag() int64
- func (r TaobaoTradeMemoAddAPIRequest) GetMemo() string
- func (r TaobaoTradeMemoAddAPIRequest) GetTid() int64
- func (r *TaobaoTradeMemoAddAPIRequest) SetFlag(_flag int64) error
- func (r *TaobaoTradeMemoAddAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoTradeMemoAddAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeMemoAddAPIResponse
- type TaobaoTradeMemoAddAPIResponseModel
- type TaobaoTradeMemoUpdateAPIRequest
- func (r TaobaoTradeMemoUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeMemoUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeMemoUpdateAPIRequest) GetFlag() int64
- func (r TaobaoTradeMemoUpdateAPIRequest) GetMemo() string
- func (r TaobaoTradeMemoUpdateAPIRequest) GetReset() bool
- func (r TaobaoTradeMemoUpdateAPIRequest) GetTid() int64
- func (r *TaobaoTradeMemoUpdateAPIRequest) SetFlag(_flag int64) error
- func (r *TaobaoTradeMemoUpdateAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoTradeMemoUpdateAPIRequest) SetReset(_reset bool) error
- func (r *TaobaoTradeMemoUpdateAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeMemoUpdateAPIResponse
- type TaobaoTradeMemoUpdateAPIResponseModel
- type TaobaoTradeOrderskuUpdateAPIRequest
- func (r TaobaoTradeOrderskuUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeOrderskuUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeOrderskuUpdateAPIRequest) GetOid() int64
- func (r TaobaoTradeOrderskuUpdateAPIRequest) GetSkuId() int64
- func (r TaobaoTradeOrderskuUpdateAPIRequest) GetSkuProps() string
- func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetOid(_oid int64) error
- func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetSkuProps(_skuProps string) error
- type TaobaoTradeOrderskuUpdateAPIResponse
- type TaobaoTradeOrderskuUpdateAPIResponseModel
- type TaobaoTradePostageUpdateAPIRequest
- func (r TaobaoTradePostageUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoTradePostageUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradePostageUpdateAPIRequest) GetPostFee() string
- func (r TaobaoTradePostageUpdateAPIRequest) GetTid() int64
- func (r *TaobaoTradePostageUpdateAPIRequest) SetPostFee(_postFee string) error
- func (r *TaobaoTradePostageUpdateAPIRequest) SetTid(_tid int64) error
- type TaobaoTradePostageUpdateAPIResponse
- type TaobaoTradePostageUpdateAPIResponseModel
- type TaobaoTradeReceivetimeDelayAPIRequest
- func (r TaobaoTradeReceivetimeDelayAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeReceivetimeDelayAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeReceivetimeDelayAPIRequest) GetDays() int64
- func (r TaobaoTradeReceivetimeDelayAPIRequest) GetTid() int64
- func (r *TaobaoTradeReceivetimeDelayAPIRequest) SetDays(_days int64) error
- func (r *TaobaoTradeReceivetimeDelayAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeReceivetimeDelayAPIResponse
- type TaobaoTradeReceivetimeDelayAPIResponseModel
- type TaobaoTradeShippingaddressUpdateAPIRequest
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverAddress() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverCity() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverDistrict() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverMobile() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverName() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverPhone() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverState() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverTown() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverZip() string
- func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetTid() int64
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverAddress(_receiverAddress string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverCity(_receiverCity string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverDistrict(_receiverDistrict string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverMobile(_receiverMobile string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverName(_receiverName string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverPhone(_receiverPhone string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverState(_receiverState string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverTown(_receiverTown string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverZip(_receiverZip string) error
- func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetTid(_tid int64) error
- type TaobaoTradeShippingaddressUpdateAPIResponse
- type TaobaoTradeShippingaddressUpdateAPIResponseModel
- type TaobaoTradeVoucherUploadAPIRequest
- func (r TaobaoTradeVoucherUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoTradeVoucherUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradeVoucherUploadAPIRequest) GetBuyerNick() string
- func (r TaobaoTradeVoucherUploadAPIRequest) GetFileData() *model.File
- func (r TaobaoTradeVoucherUploadAPIRequest) GetFileName() string
- func (r TaobaoTradeVoucherUploadAPIRequest) GetSellerNick() string
- func (r *TaobaoTradeVoucherUploadAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoTradeVoucherUploadAPIRequest) SetFileData(_fileData *model.File) error
- func (r *TaobaoTradeVoucherUploadAPIRequest) SetFileName(_fileName string) error
- func (r *TaobaoTradeVoucherUploadAPIRequest) SetSellerNick(_sellerNick string) error
- type TaobaoTradeVoucherUploadAPIResponse
- type TaobaoTradeVoucherUploadAPIResponseModel
- type TaobaoTradeWtverticalGetAPIRequest
- type TaobaoTradeWtverticalGetAPIResponse
- type TaobaoTradeWtverticalGetAPIResponseModel
- type TaobaoTradesSoldGetAPIRequest
- func (r TaobaoTradesSoldGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTradesSoldGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradesSoldGetAPIRequest) GetBuyerNick() string
- func (r TaobaoTradesSoldGetAPIRequest) GetBuyerOpenId() string
- func (r TaobaoTradesSoldGetAPIRequest) GetEndCreated() string
- func (r TaobaoTradesSoldGetAPIRequest) GetExtType() string
- func (r TaobaoTradesSoldGetAPIRequest) GetFields() string
- func (r TaobaoTradesSoldGetAPIRequest) GetPageNo() int64
- func (r TaobaoTradesSoldGetAPIRequest) GetPageSize() int64
- func (r TaobaoTradesSoldGetAPIRequest) GetRateStatus() string
- func (r TaobaoTradesSoldGetAPIRequest) GetStartCreated() string
- func (r TaobaoTradesSoldGetAPIRequest) GetStatus() string
- func (r TaobaoTradesSoldGetAPIRequest) GetTag() string
- func (r TaobaoTradesSoldGetAPIRequest) GetType() string
- func (r TaobaoTradesSoldGetAPIRequest) GetUseHasNext() bool
- func (r *TaobaoTradesSoldGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetBuyerOpenId(_buyerOpenId string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetExtType(_extType string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetRateStatus(_rateStatus string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetStartCreated(_startCreated string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetTag(_tag string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetType(_type string) error
- func (r *TaobaoTradesSoldGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaoTradesSoldGetAPIResponse
- type TaobaoTradesSoldGetAPIResponseModel
- type TaobaoTradesSoldIncrementGetAPIRequest
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetBuyerNick() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetEndModified() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetExtType() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetFields() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetPageNo() int64
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetPageSize() int64
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetStartModified() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetStatus() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetTag() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetType() string
- func (r TaobaoTradesSoldIncrementGetAPIRequest) GetUseHasNext() bool
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetExtType(_extType string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetStartModified(_startModified string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetTag(_tag string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetType(_type string) error
- func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaoTradesSoldIncrementGetAPIResponse
- type TaobaoTradesSoldIncrementGetAPIResponseModel
- type TaobaoTradesSoldIncrementvGetAPIRequest
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetEndCreate() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetExtType() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetFields() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetPageNo() int64
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetPageSize() int64
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetStartCreate() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetStatus() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetTag() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetType() string
- func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetUseHasNext() bool
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetEndCreate(_endCreate string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetExtType(_extType string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetStartCreate(_startCreate string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetTag(_tag string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetType(_type string) error
- func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaoTradesSoldIncrementvGetAPIResponse
- type TaobaoTradesSoldIncrementvGetAPIResponseModel
- type TaobaoTradesSoldQueryAPIRequest
- type TaobaoTradesSoldQueryAPIResponse
- type TaobaoTradesSoldQueryAPIResponseModel
- type TaobaoWttTradeServiceGetAPIRequest
- type TaobaoWttTradeServiceGetAPIResponse
- type TaobaoWttTradeServiceGetAPIResponseModel
- type TaobaoXhotelDistributionOrderDetailSearchAPIRequest
- func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetApiParams() url.Values
- func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetDistributionOid() string
- func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetOpenId() string
- func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetTid() int64
- func (r *TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetDistributionOid(_distributionOid string) error
- func (r *TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetOpenId(_openId string) error
- func (r *TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetTid(_tid int64) error
- type TaobaoXhotelDistributionOrderDetailSearchAPIResponse
- type TaobaoXhotelDistributionOrderDetailSearchAPIResponseModel
- type TmallAscpOrdersSaleCreateAPIRequest
- func (r TmallAscpOrdersSaleCreateAPIRequest) GetApiMethodName() string
- func (r TmallAscpOrdersSaleCreateAPIRequest) GetApiParams() url.Values
- func (r TmallAscpOrdersSaleCreateAPIRequest) GetChannelOrderRequest() *CreateChannelOrderRequest
- func (r *TmallAscpOrdersSaleCreateAPIRequest) SetChannelOrderRequest(_channelOrderRequest *CreateChannelOrderRequest) error
- type TmallAscpOrdersSaleCreateAPIResponse
- type TmallAscpOrdersSaleCreateAPIResponseModel
- type TmallAscpOrdersSaleCreateResultDo
- type TopDistributionOrderDetail
- type Trade
- type TradeAmount
- type TradeConfirmFee
- type TradeExt
- type TradeFlowGoodsDetailModel
- type TradeFlowModel
- type TradeFlowPaymentModel
- type TradeOrder
- type TradeOrderQuery
- type TradeOrderQueryResult
- type Tradeorders
- type TribeError
- type WtExtResult
- type WtverticalDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaLstVasTradeflowSaveAPIRequest ¶
type AlibabaLstVasTradeflowSaveAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstVasTradeflowSaveAPIRequest 交易信息回流 API请求 alibaba.lst.vas.tradeflow.save
自动售货机交易信息同步接口,ISV通过此接口上传售货机交易信息。
func NewAlibabaLstVasTradeflowSaveRequest ¶
func NewAlibabaLstVasTradeflowSaveRequest() *AlibabaLstVasTradeflowSaveAPIRequest
NewAlibabaLstVasTradeflowSaveRequest 初始化AlibabaLstVasTradeflowSaveAPIRequest对象
func (AlibabaLstVasTradeflowSaveAPIRequest) GetApiMethodName ¶
func (r AlibabaLstVasTradeflowSaveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstVasTradeflowSaveAPIRequest) GetApiParams ¶
func (r AlibabaLstVasTradeflowSaveAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstVasTradeflowSaveAPIRequest) GetTradeFlowModelList ¶
func (r AlibabaLstVasTradeflowSaveAPIRequest) GetTradeFlowModelList() *TradeFlowModel
GetTradeFlowModelList TradeFlowModelList Getter
func (*AlibabaLstVasTradeflowSaveAPIRequest) SetTradeFlowModelList ¶
func (r *AlibabaLstVasTradeflowSaveAPIRequest) SetTradeFlowModelList(_tradeFlowModelList *TradeFlowModel) error
SetTradeFlowModelList is TradeFlowModelList Setter 交易流水信息
type AlibabaLstVasTradeflowSaveAPIResponse ¶
type AlibabaLstVasTradeflowSaveAPIResponse struct { model.CommonResponse AlibabaLstVasTradeflowSaveAPIResponseModel }
AlibabaLstVasTradeflowSaveAPIResponse 交易信息回流 API返回值 alibaba.lst.vas.tradeflow.save
自动售货机交易信息同步接口,ISV通过此接口上传售货机交易信息。
type AlibabaLstVasTradeflowSaveAPIResponseModel ¶
type AlibabaLstVasTradeflowSaveAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_vas_tradeflow_save_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaLstVasTradeflowSaveResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstVasTradeflowSaveAPIResponseModel is 交易信息回流 成功返回结果
type AlibabaLstVasTradeflowSaveResult ¶
type AlibabaLstVasTradeflowSaveResult struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // model Model bool `json:"model,omitempty" xml:"model,omitempty"` }
AlibabaLstVasTradeflowSaveResult 结构体
type AlibabaOmniSaasOrderCreateAPIRequest ¶
type AlibabaOmniSaasOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaOmniSaasOrderCreateAPIRequest 订单创建接口 API请求 alibaba.omni.saas.order.create
服务商利用现有的saas系统和阿里完成交易系统的对接
func NewAlibabaOmniSaasOrderCreateRequest ¶
func NewAlibabaOmniSaasOrderCreateRequest() *AlibabaOmniSaasOrderCreateAPIRequest
NewAlibabaOmniSaasOrderCreateRequest 初始化AlibabaOmniSaasOrderCreateAPIRequest对象
func (AlibabaOmniSaasOrderCreateAPIRequest) GetApiMethodName ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaOmniSaasOrderCreateAPIRequest) GetApiParams ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaOmniSaasOrderCreateAPIRequest) GetBuyerId ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetBuyerId() string
GetBuyerId BuyerId Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetBuyerIdType ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetBuyerIdType() string
GetBuyerIdType BuyerIdType Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetCouponInfos ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetCouponInfos() []CouponInfo
GetCouponInfos CouponInfos Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetDevice ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetDevice() string
GetDevice Device Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetDeviceNo ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetDeviceNo() string
GetDeviceNo DeviceNo Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetGoodsDetails ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetGoodsDetails() []GoodsDetail
GetGoodsDetails GoodsDetails Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetOperatorId ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetOperatorId() string
GetOperatorId OperatorId Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetPayChannel ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetPayChannel() string
GetPayChannel PayChannel Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetRequestNo ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetRequestNo() string
GetRequestNo RequestNo Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetStoreId ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetStoreId() string
GetStoreId StoreId Getter
func (AlibabaOmniSaasOrderCreateAPIRequest) GetStoreIdType ¶
func (r AlibabaOmniSaasOrderCreateAPIRequest) GetStoreIdType() string
GetStoreIdType StoreIdType Getter
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetBuyerId ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetBuyerId(_buyerId string) error
SetBuyerId is BuyerId Setter 买家标识,淘系用户或用户手机号。当支付渠道为支付宝时,此字段为淘宝会员码或支付宝付款码。(当前仅支持淘系用户,手机号下单稍后开放)
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetBuyerIdType ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetBuyerIdType(_buyerIdType string) error
SetBuyerIdType is BuyerIdType Setter ALIPAY:支付宝用户;TAOBAO:淘宝会员码;MOBILE:手机号
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetCouponInfos ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetCouponInfos(_couponInfos []CouponInfo) error
SetCouponInfos is CouponInfos Setter 商家自有优惠
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetDevice ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetDevice(_device string) error
SetDevice is Device Setter 收银设备类型
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetDeviceNo ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetDeviceNo(_deviceNo string) error
SetDeviceNo is DeviceNo Setter 收银设备号
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetGoodsDetails ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetGoodsDetails(_goodsDetails []GoodsDetail) error
SetGoodsDetails is GoodsDetails Setter 商品列表
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetOperatorId ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetOperatorId(_operatorId string) error
SetOperatorId is OperatorId Setter 收银员标识
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetPayChannel ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetPayChannel(_payChannel string) error
SetPayChannel is PayChannel Setter ALIPAY:支付宝付款;BANK_CARD:刷卡
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetRequestNo ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetRequestNo(_requestNo string) error
SetRequestNo is RequestNo Setter 请求号,用于标识一次请求
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetStoreId ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetStoreId(_storeId string) error
SetStoreId is StoreId Setter 门店ID
func (*AlibabaOmniSaasOrderCreateAPIRequest) SetStoreIdType ¶
func (r *AlibabaOmniSaasOrderCreateAPIRequest) SetStoreIdType(_storeIdType string) error
SetStoreIdType is StoreIdType Setter PLACE:淘宝商户中心门店ID;CUSTOM:商户自有门店编码,需要维护到淘宝商户中心
type AlibabaOmniSaasOrderCreateAPIResponse ¶
type AlibabaOmniSaasOrderCreateAPIResponse struct { model.CommonResponse AlibabaOmniSaasOrderCreateAPIResponseModel }
AlibabaOmniSaasOrderCreateAPIResponse 订单创建接口 API返回值 alibaba.omni.saas.order.create
服务商利用现有的saas系统和阿里完成交易系统的对接
type AlibabaOmniSaasOrderCreateAPIResponseModel ¶
type AlibabaOmniSaasOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_omni_saas_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // tradeNo TradeNo int64 `json:"trade_no,omitempty" xml:"trade_no,omitempty"` // totalAmount TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"` // actualPayFee ActualPayFee int64 `json:"actual_pay_fee,omitempty" xml:"actual_pay_fee,omitempty"` }
AlibabaOmniSaasOrderCreateAPIResponseModel is 订单创建接口 成功返回结果
type AlibabaTradeAlianceCreateAPIRequest ¶
type AlibabaTradeAlianceCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaTradeAlianceCreateAPIRequest 推客平台订单回流 API请求 alibaba.trade.aliance.create
推客平台订单回流
func NewAlibabaTradeAlianceCreateRequest ¶
func NewAlibabaTradeAlianceCreateRequest() *AlibabaTradeAlianceCreateAPIRequest
NewAlibabaTradeAlianceCreateRequest 初始化AlibabaTradeAlianceCreateAPIRequest对象
func (AlibabaTradeAlianceCreateAPIRequest) GetApiMethodName ¶
func (r AlibabaTradeAlianceCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaTradeAlianceCreateAPIRequest) GetApiParams ¶
func (r AlibabaTradeAlianceCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaTradeAlianceCreateAPIRequest) GetParamIsvCreateOrderParam ¶
func (r AlibabaTradeAlianceCreateAPIRequest) GetParamIsvCreateOrderParam() *IsvCreateOrderParam
GetParamIsvCreateOrderParam ParamIsvCreateOrderParam Getter
func (*AlibabaTradeAlianceCreateAPIRequest) SetParamIsvCreateOrderParam ¶
func (r *AlibabaTradeAlianceCreateAPIRequest) SetParamIsvCreateOrderParam(_paramIsvCreateOrderParam *IsvCreateOrderParam) error
SetParamIsvCreateOrderParam is ParamIsvCreateOrderParam Setter 下单请求
type AlibabaTradeAlianceCreateAPIResponse ¶
type AlibabaTradeAlianceCreateAPIResponse struct { model.CommonResponse AlibabaTradeAlianceCreateAPIResponseModel }
AlibabaTradeAlianceCreateAPIResponse 推客平台订单回流 API返回值 alibaba.trade.aliance.create
推客平台订单回流
type AlibabaTradeAlianceCreateAPIResponseModel ¶
type AlibabaTradeAlianceCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_trade_aliance_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单创建结果 Result *AlibabaTradeAlianceCreateResultModel `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaTradeAlianceCreateAPIResponseModel is 推客平台订单回流 成功返回结果
type AlibabaTradeAlianceCreateResultModel ¶
type AlibabaTradeAlianceCreateResultModel struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 生成的订单号i MainOrderId string `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // totalAmount TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"` // 是否创建成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaTradeAlianceCreateResultModel 结构体
type AlibabaWdkPosTradeCloseAPIRequest ¶
type AlibabaWdkPosTradeCloseAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkPosTradeCloseAPIRequest 轻pos品牌营销关单接口 API请求 alibaba.wdk.pos.trade.close
轻pos品牌营销场景,提供关单接口给外部商家
func NewAlibabaWdkPosTradeCloseRequest ¶
func NewAlibabaWdkPosTradeCloseRequest() *AlibabaWdkPosTradeCloseAPIRequest
NewAlibabaWdkPosTradeCloseRequest 初始化AlibabaWdkPosTradeCloseAPIRequest对象
func (AlibabaWdkPosTradeCloseAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkPosTradeCloseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkPosTradeCloseAPIRequest) GetApiParams ¶
func (r AlibabaWdkPosTradeCloseAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkPosTradeCloseAPIRequest) GetCloseRequest ¶
func (r AlibabaWdkPosTradeCloseAPIRequest) GetCloseRequest() *FastBuyPosCloseRequest
GetCloseRequest CloseRequest Getter
func (*AlibabaWdkPosTradeCloseAPIRequest) SetCloseRequest ¶
func (r *AlibabaWdkPosTradeCloseAPIRequest) SetCloseRequest(_closeRequest *FastBuyPosCloseRequest) error
SetCloseRequest is CloseRequest Setter 关单请求
type AlibabaWdkPosTradeCloseAPIResponse ¶
type AlibabaWdkPosTradeCloseAPIResponse struct { model.CommonResponse AlibabaWdkPosTradeCloseAPIResponseModel }
AlibabaWdkPosTradeCloseAPIResponse 轻pos品牌营销关单接口 API返回值 alibaba.wdk.pos.trade.close
轻pos品牌营销场景,提供关单接口给外部商家
type AlibabaWdkPosTradeCloseAPIResponseModel ¶
type AlibabaWdkPosTradeCloseAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_pos_trade_close_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 关单结果 Result *FastBuyPosCloseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkPosTradeCloseAPIResponseModel is 轻pos品牌营销关单接口 成功返回结果
type AlibabaWdkPosTradeCreateAPIRequest ¶
type AlibabaWdkPosTradeCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkPosTradeCreateAPIRequest 轻pos品牌营销下单接口 API请求 alibaba.wdk.pos.trade.create
提供给石基进行轻pos品牌营销下单
func NewAlibabaWdkPosTradeCreateRequest ¶
func NewAlibabaWdkPosTradeCreateRequest() *AlibabaWdkPosTradeCreateAPIRequest
NewAlibabaWdkPosTradeCreateRequest 初始化AlibabaWdkPosTradeCreateAPIRequest对象
func (AlibabaWdkPosTradeCreateAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkPosTradeCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkPosTradeCreateAPIRequest) GetApiParams ¶
func (r AlibabaWdkPosTradeCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkPosTradeCreateAPIRequest) GetCreateRequest ¶
func (r AlibabaWdkPosTradeCreateAPIRequest) GetCreateRequest() *FastBuyPosCreateRequest
GetCreateRequest CreateRequest Getter
func (*AlibabaWdkPosTradeCreateAPIRequest) SetCreateRequest ¶
func (r *AlibabaWdkPosTradeCreateAPIRequest) SetCreateRequest(_createRequest *FastBuyPosCreateRequest) error
SetCreateRequest is CreateRequest Setter 下单请求
type AlibabaWdkPosTradeCreateAPIResponse ¶
type AlibabaWdkPosTradeCreateAPIResponse struct { model.CommonResponse AlibabaWdkPosTradeCreateAPIResponseModel }
AlibabaWdkPosTradeCreateAPIResponse 轻pos品牌营销下单接口 API返回值 alibaba.wdk.pos.trade.create
提供给石基进行轻pos品牌营销下单
type AlibabaWdkPosTradeCreateAPIResponseModel ¶
type AlibabaWdkPosTradeCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_pos_trade_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 创单结果 Result *FastBuyPosCreateResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkPosTradeCreateAPIResponseModel is 轻pos品牌营销下单接口 成功返回结果
type AlibabaWdkPosTradePayAPIRequest ¶
type AlibabaWdkPosTradePayAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkPosTradePayAPIRequest 轻pos品牌营销支付接口 API请求 alibaba.wdk.pos.trade.pay
轻pos场景,外部商家支付后调用开放平台把支付信息回传给五道口交易
func NewAlibabaWdkPosTradePayRequest ¶
func NewAlibabaWdkPosTradePayRequest() *AlibabaWdkPosTradePayAPIRequest
NewAlibabaWdkPosTradePayRequest 初始化AlibabaWdkPosTradePayAPIRequest对象
func (AlibabaWdkPosTradePayAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkPosTradePayAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkPosTradePayAPIRequest) GetApiParams ¶
func (r AlibabaWdkPosTradePayAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkPosTradePayAPIRequest) GetPayRequest ¶
func (r AlibabaWdkPosTradePayAPIRequest) GetPayRequest() *FastBuyPosPayRequest
GetPayRequest PayRequest Getter
func (*AlibabaWdkPosTradePayAPIRequest) SetPayRequest ¶
func (r *AlibabaWdkPosTradePayAPIRequest) SetPayRequest(_payRequest *FastBuyPosPayRequest) error
SetPayRequest is PayRequest Setter 支付请求
type AlibabaWdkPosTradePayAPIResponse ¶
type AlibabaWdkPosTradePayAPIResponse struct { model.CommonResponse AlibabaWdkPosTradePayAPIResponseModel }
AlibabaWdkPosTradePayAPIResponse 轻pos品牌营销支付接口 API返回值 alibaba.wdk.pos.trade.pay
轻pos场景,外部商家支付后调用开放平台把支付信息回传给五道口交易
type AlibabaWdkPosTradePayAPIResponseModel ¶
type AlibabaWdkPosTradePayAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_pos_trade_pay_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 支付结果 Result *FastBuyPosPayResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkPosTradePayAPIResponseModel is 轻pos品牌营销支付接口 成功返回结果
type AlibabaWdkPosTradeQueryAPIRequest ¶
type AlibabaWdkPosTradeQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkPosTradeQueryAPIRequest 轻pos品牌营销查询接口 API请求 alibaba.wdk.pos.trade.query
轻pos品牌营销场景,外部商家查询营销信息
func NewAlibabaWdkPosTradeQueryRequest ¶
func NewAlibabaWdkPosTradeQueryRequest() *AlibabaWdkPosTradeQueryAPIRequest
NewAlibabaWdkPosTradeQueryRequest 初始化AlibabaWdkPosTradeQueryAPIRequest对象
func (AlibabaWdkPosTradeQueryAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkPosTradeQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkPosTradeQueryAPIRequest) GetApiParams ¶
func (r AlibabaWdkPosTradeQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkPosTradeQueryAPIRequest) GetQueryRequest ¶
func (r AlibabaWdkPosTradeQueryAPIRequest) GetQueryRequest() *FastBuyPosQueryRequest
GetQueryRequest QueryRequest Getter
func (*AlibabaWdkPosTradeQueryAPIRequest) SetQueryRequest ¶
func (r *AlibabaWdkPosTradeQueryAPIRequest) SetQueryRequest(_queryRequest *FastBuyPosQueryRequest) error
SetQueryRequest is QueryRequest Setter 查询请求
type AlibabaWdkPosTradeQueryAPIResponse ¶
type AlibabaWdkPosTradeQueryAPIResponse struct { model.CommonResponse AlibabaWdkPosTradeQueryAPIResponseModel }
AlibabaWdkPosTradeQueryAPIResponse 轻pos品牌营销查询接口 API返回值 alibaba.wdk.pos.trade.query
轻pos品牌营销场景,外部商家查询营销信息
type AlibabaWdkPosTradeQueryAPIResponseModel ¶
type AlibabaWdkPosTradeQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_pos_trade_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询返回结果 Result *FastBuyPosQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkPosTradeQueryAPIResponseModel is 轻pos品牌营销查询接口 成功返回结果
type AlibabaWdkPosTradeReverseAPIRequest ¶
type AlibabaWdkPosTradeReverseAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkPosTradeReverseAPIRequest 轻pos品牌营销退款接口 API请求 alibaba.wdk.pos.trade.reverse
轻pos品牌营销场景,商家调用退款接口
func NewAlibabaWdkPosTradeReverseRequest ¶
func NewAlibabaWdkPosTradeReverseRequest() *AlibabaWdkPosTradeReverseAPIRequest
NewAlibabaWdkPosTradeReverseRequest 初始化AlibabaWdkPosTradeReverseAPIRequest对象
func (AlibabaWdkPosTradeReverseAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkPosTradeReverseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkPosTradeReverseAPIRequest) GetApiParams ¶
func (r AlibabaWdkPosTradeReverseAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkPosTradeReverseAPIRequest) GetReverseRequest ¶
func (r AlibabaWdkPosTradeReverseAPIRequest) GetReverseRequest() *FastBuyPosReverseRequest
GetReverseRequest ReverseRequest Getter
func (*AlibabaWdkPosTradeReverseAPIRequest) SetReverseRequest ¶
func (r *AlibabaWdkPosTradeReverseAPIRequest) SetReverseRequest(_reverseRequest *FastBuyPosReverseRequest) error
SetReverseRequest is ReverseRequest Setter 退款请求
type AlibabaWdkPosTradeReverseAPIResponse ¶
type AlibabaWdkPosTradeReverseAPIResponse struct { model.CommonResponse AlibabaWdkPosTradeReverseAPIResponseModel }
AlibabaWdkPosTradeReverseAPIResponse 轻pos品牌营销退款接口 API返回值 alibaba.wdk.pos.trade.reverse
轻pos品牌营销场景,商家调用退款接口
type AlibabaWdkPosTradeReverseAPIResponseModel ¶
type AlibabaWdkPosTradeReverseAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_pos_trade_reverse_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款结果 Result *FastBuyPosReverseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkPosTradeReverseAPIResponseModel is 轻pos品牌营销退款接口 成功返回结果
type AlibabaWdkTradeDiscountBillGetAPIRequest ¶
type AlibabaWdkTradeDiscountBillGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeDiscountBillGetAPIRequest 订单优惠账单查询 API请求 alibaba.wdk.trade.discount.bill.get
商家查询订单优惠账单
func NewAlibabaWdkTradeDiscountBillGetRequest ¶
func NewAlibabaWdkTradeDiscountBillGetRequest() *AlibabaWdkTradeDiscountBillGetAPIRequest
NewAlibabaWdkTradeDiscountBillGetRequest 初始化AlibabaWdkTradeDiscountBillGetAPIRequest对象
func (AlibabaWdkTradeDiscountBillGetAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeDiscountBillGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeDiscountBillGetAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeDiscountBillGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeDiscountBillGetAPIRequest) GetParam0 ¶
func (r AlibabaWdkTradeDiscountBillGetAPIRequest) GetParam0() *OrderDiscountBillQueryRequest
GetParam0 Param0 Getter
func (*AlibabaWdkTradeDiscountBillGetAPIRequest) SetParam0 ¶
func (r *AlibabaWdkTradeDiscountBillGetAPIRequest) SetParam0(_param0 *OrderDiscountBillQueryRequest) error
SetParam0 is Param0 Setter 请求参数
type AlibabaWdkTradeDiscountBillGetAPIResponse ¶
type AlibabaWdkTradeDiscountBillGetAPIResponse struct { model.CommonResponse AlibabaWdkTradeDiscountBillGetAPIResponseModel }
AlibabaWdkTradeDiscountBillGetAPIResponse 订单优惠账单查询 API返回值 alibaba.wdk.trade.discount.bill.get
商家查询订单优惠账单
type AlibabaWdkTradeDiscountBillGetAPIResponseModel ¶
type AlibabaWdkTradeDiscountBillGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_discount_bill_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *OrderDiscountBillQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTradeDiscountBillGetAPIResponseModel is 订单优惠账单查询 成功返回结果
type AlibabaWdkTradeOrderCancelAPIRequest ¶
type AlibabaWdkTradeOrderCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeOrderCancelAPIRequest 外部交易订单取消接口 API请求 alibaba.wdk.trade.order.cancel
通过该接口可以再盒马取消交易订单,并处理相关业务流程。主要用于和外部商户的订单进行同步和融合业务流程处理
func NewAlibabaWdkTradeOrderCancelRequest ¶
func NewAlibabaWdkTradeOrderCancelRequest() *AlibabaWdkTradeOrderCancelAPIRequest
NewAlibabaWdkTradeOrderCancelRequest 初始化AlibabaWdkTradeOrderCancelAPIRequest对象
func (AlibabaWdkTradeOrderCancelAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeOrderCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeOrderCancelAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeOrderCancelAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeOrderCancelAPIRequest) GetTrade ¶
func (r AlibabaWdkTradeOrderCancelAPIRequest) GetTrade() *TradeOrder
GetTrade Trade Getter
func (*AlibabaWdkTradeOrderCancelAPIRequest) SetTrade ¶
func (r *AlibabaWdkTradeOrderCancelAPIRequest) SetTrade(_trade *TradeOrder) error
SetTrade is Trade Setter 待取消的订单
type AlibabaWdkTradeOrderCancelAPIResponse ¶
type AlibabaWdkTradeOrderCancelAPIResponse struct { model.CommonResponse AlibabaWdkTradeOrderCancelAPIResponseModel }
AlibabaWdkTradeOrderCancelAPIResponse 外部交易订单取消接口 API返回值 alibaba.wdk.trade.order.cancel
通过该接口可以再盒马取消交易订单,并处理相关业务流程。主要用于和外部商户的订单进行同步和融合业务流程处理
type AlibabaWdkTradeOrderCancelAPIResponseModel ¶
type AlibabaWdkTradeOrderCancelAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_order_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 执行结果 Result *OrderResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTradeOrderCancelAPIResponseModel is 外部交易订单取消接口 成功返回结果
type AlibabaWdkTradeOrderCreateAPIRequest ¶
type AlibabaWdkTradeOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeOrderCreateAPIRequest 外部交易订单创单接口 API请求 alibaba.wdk.trade.order.create
通过该接口可以再盒马创建交易订单,并处理相关业务流程。主要用于和外部商户的订单进行同步和融合业务流程处理
func NewAlibabaWdkTradeOrderCreateRequest ¶
func NewAlibabaWdkTradeOrderCreateRequest() *AlibabaWdkTradeOrderCreateAPIRequest
NewAlibabaWdkTradeOrderCreateRequest 初始化AlibabaWdkTradeOrderCreateAPIRequest对象
func (AlibabaWdkTradeOrderCreateAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeOrderCreateAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeOrderCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeOrderCreateAPIRequest) GetTrade ¶
func (r AlibabaWdkTradeOrderCreateAPIRequest) GetTrade() *TradeOrder
GetTrade Trade Getter
func (*AlibabaWdkTradeOrderCreateAPIRequest) SetTrade ¶
func (r *AlibabaWdkTradeOrderCreateAPIRequest) SetTrade(_trade *TradeOrder) error
SetTrade is Trade Setter 待创建的订单
type AlibabaWdkTradeOrderCreateAPIResponse ¶
type AlibabaWdkTradeOrderCreateAPIResponse struct { model.CommonResponse AlibabaWdkTradeOrderCreateAPIResponseModel }
AlibabaWdkTradeOrderCreateAPIResponse 外部交易订单创单接口 API返回值 alibaba.wdk.trade.order.create
通过该接口可以再盒马创建交易订单,并处理相关业务流程。主要用于和外部商户的订单进行同步和融合业务流程处理
type AlibabaWdkTradeOrderCreateAPIResponseModel ¶
type AlibabaWdkTradeOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 执行结果 Result *OrderResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTradeOrderCreateAPIResponseModel is 外部交易订单创单接口 成功返回结果
type AlibabaWdkTradeOrderQueryAPIRequest ¶
type AlibabaWdkTradeOrderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeOrderQueryAPIRequest 查询外部交易订单接口 API请求 alibaba.wdk.trade.order.query
通过该接口可以在盒马查询交易订单,并处理相关业务流程。主要用于和外部商户的订单进行同步和融合业务流程处理
func NewAlibabaWdkTradeOrderQueryRequest ¶
func NewAlibabaWdkTradeOrderQueryRequest() *AlibabaWdkTradeOrderQueryAPIRequest
NewAlibabaWdkTradeOrderQueryRequest 初始化AlibabaWdkTradeOrderQueryAPIRequest对象
func (AlibabaWdkTradeOrderQueryAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeOrderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeOrderQueryAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeOrderQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeOrderQueryAPIRequest) GetQuery ¶
func (r AlibabaWdkTradeOrderQueryAPIRequest) GetQuery() *TradeOrderQuery
GetQuery Query Getter
func (*AlibabaWdkTradeOrderQueryAPIRequest) SetQuery ¶
func (r *AlibabaWdkTradeOrderQueryAPIRequest) SetQuery(_query *TradeOrderQuery) error
SetQuery is Query Setter 订单查询
type AlibabaWdkTradeOrderQueryAPIResponse ¶
type AlibabaWdkTradeOrderQueryAPIResponse struct { model.CommonResponse AlibabaWdkTradeOrderQueryAPIResponseModel }
AlibabaWdkTradeOrderQueryAPIResponse 查询外部交易订单接口 API返回值 alibaba.wdk.trade.order.query
通过该接口可以在盒马查询交易订单,并处理相关业务流程。主要用于和外部商户的订单进行同步和融合业务流程处理
type AlibabaWdkTradeOrderQueryAPIResponseModel ¶
type AlibabaWdkTradeOrderQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_order_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果 Result *TradeOrderQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTradeOrderQueryAPIResponseModel is 查询外部交易订单接口 成功返回结果
type AlibabaWdkTradeRefundCreateAPIRequest ¶
type AlibabaWdkTradeRefundCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeRefundCreateAPIRequest 外部渠道逆向订单创建 API请求 alibaba.wdk.trade.refund.create
该接口是创建退货订单的服务。当外部渠道发起退款后,调用此接口可以完成五道口底层交易、履约、配送等一系列流程进行退货。
func NewAlibabaWdkTradeRefundCreateRequest ¶
func NewAlibabaWdkTradeRefundCreateRequest() *AlibabaWdkTradeRefundCreateAPIRequest
NewAlibabaWdkTradeRefundCreateRequest 初始化AlibabaWdkTradeRefundCreateAPIRequest对象
func (AlibabaWdkTradeRefundCreateAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeRefundCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeRefundCreateAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeRefundCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeRefundCreateAPIRequest) GetRefundGoodsCreateRequest ¶
func (r AlibabaWdkTradeRefundCreateAPIRequest) GetRefundGoodsCreateRequest() *RefundGoodsCreateRequest
GetRefundGoodsCreateRequest RefundGoodsCreateRequest Getter
func (*AlibabaWdkTradeRefundCreateAPIRequest) SetRefundGoodsCreateRequest ¶
func (r *AlibabaWdkTradeRefundCreateAPIRequest) SetRefundGoodsCreateRequest(_refundGoodsCreateRequest *RefundGoodsCreateRequest) error
SetRefundGoodsCreateRequest is RefundGoodsCreateRequest Setter 退货请求
type AlibabaWdkTradeRefundCreateAPIResponse ¶
type AlibabaWdkTradeRefundCreateAPIResponse struct { model.CommonResponse AlibabaWdkTradeRefundCreateAPIResponseModel }
AlibabaWdkTradeRefundCreateAPIResponse 外部渠道逆向订单创建 API返回值 alibaba.wdk.trade.refund.create
该接口是创建退货订单的服务。当外部渠道发起退款后,调用此接口可以完成五道口底层交易、履约、配送等一系列流程进行退货。
type AlibabaWdkTradeRefundCreateAPIResponseModel ¶
type AlibabaWdkTradeRefundCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_refund_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *RefundGoodsCreateResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTradeRefundCreateAPIResponseModel is 外部渠道逆向订单创建 成功返回结果
type AlibabaWdkTradeRefundInformAPIRequest ¶
type AlibabaWdkTradeRefundInformAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeRefundInformAPIRequest 外部渠道通知淘鲜达退款成功接口 API请求 alibaba.wdk.trade.refund.inform
该接口用于外部渠道退款成功后,通知淘鲜达底层履约完成退款流程。
func NewAlibabaWdkTradeRefundInformRequest ¶
func NewAlibabaWdkTradeRefundInformRequest() *AlibabaWdkTradeRefundInformAPIRequest
NewAlibabaWdkTradeRefundInformRequest 初始化AlibabaWdkTradeRefundInformAPIRequest对象
func (AlibabaWdkTradeRefundInformAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeRefundInformAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeRefundInformAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeRefundInformAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeRefundInformAPIRequest) GetInformRefundSuccessRequest ¶
func (r AlibabaWdkTradeRefundInformAPIRequest) GetInformRefundSuccessRequest() *InformRefundSuccessRequest
GetInformRefundSuccessRequest InformRefundSuccessRequest Getter
func (*AlibabaWdkTradeRefundInformAPIRequest) SetInformRefundSuccessRequest ¶
func (r *AlibabaWdkTradeRefundInformAPIRequest) SetInformRefundSuccessRequest(_informRefundSuccessRequest *InformRefundSuccessRequest) error
SetInformRefundSuccessRequest is InformRefundSuccessRequest Setter 通知退款成功请求
type AlibabaWdkTradeRefundInformAPIResponse ¶
type AlibabaWdkTradeRefundInformAPIResponse struct { model.CommonResponse AlibabaWdkTradeRefundInformAPIResponseModel }
AlibabaWdkTradeRefundInformAPIResponse 外部渠道通知淘鲜达退款成功接口 API返回值 alibaba.wdk.trade.refund.inform
该接口用于外部渠道退款成功后,通知淘鲜达底层履约完成退款流程。
type AlibabaWdkTradeRefundInformAPIResponseModel ¶
type AlibabaWdkTradeRefundInformAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_refund_inform_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *InformRefundSuccessResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTradeRefundInformAPIResponseModel is 外部渠道通知淘鲜达退款成功接口 成功返回结果
type AlibabaWdkTradeRefundQueryAPIRequest ¶
type AlibabaWdkTradeRefundQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTradeRefundQueryAPIRequest 外部渠道查询退货订单详情接口 API请求 alibaba.wdk.trade.refund.query
该接口提供给外部渠道商家,比如欧尚外卖等查询退货订单详情,里面包含退货进度等信息。
func NewAlibabaWdkTradeRefundQueryRequest ¶
func NewAlibabaWdkTradeRefundQueryRequest() *AlibabaWdkTradeRefundQueryAPIRequest
NewAlibabaWdkTradeRefundQueryRequest 初始化AlibabaWdkTradeRefundQueryAPIRequest对象
func (AlibabaWdkTradeRefundQueryAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTradeRefundQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTradeRefundQueryAPIRequest) GetApiParams ¶
func (r AlibabaWdkTradeRefundQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTradeRefundQueryAPIRequest) GetRefundGoodsQueryRequest ¶
func (r AlibabaWdkTradeRefundQueryAPIRequest) GetRefundGoodsQueryRequest() *RefundGoodsQueryRequest
GetRefundGoodsQueryRequest RefundGoodsQueryRequest Getter
func (*AlibabaWdkTradeRefundQueryAPIRequest) SetRefundGoodsQueryRequest ¶
func (r *AlibabaWdkTradeRefundQueryAPIRequest) SetRefundGoodsQueryRequest(_refundGoodsQueryRequest *RefundGoodsQueryRequest) error
SetRefundGoodsQueryRequest is RefundGoodsQueryRequest Setter 查询请求
type AlibabaWdkTradeRefundQueryAPIResponse ¶
type AlibabaWdkTradeRefundQueryAPIResponse struct { model.CommonResponse AlibabaWdkTradeRefundQueryAPIResponseModel }
AlibabaWdkTradeRefundQueryAPIResponse 外部渠道查询退货订单详情接口 API返回值 alibaba.wdk.trade.refund.query
该接口提供给外部渠道商家,比如欧尚外卖等查询退货订单详情,里面包含退货进度等信息。
type AlibabaWdkTradeRefundQueryAPIResponseModel ¶
type AlibabaWdkTradeRefundQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_trade_refund_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果 RefundGoodsQueryResult *RefundGoodsQueryResult `json:"refund_goods_query_result,omitempty" xml:"refund_goods_query_result,omitempty"` }
AlibabaWdkTradeRefundQueryAPIResponseModel is 外部渠道查询退货订单详情接口 成功返回结果
type AlibabaWdkTxdCrmStatementBackflowAPIRequest ¶
type AlibabaWdkTxdCrmStatementBackflowAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaWdkTxdCrmStatementBackflowAPIRequest 淘鲜达商家会员账单回流 API请求 alibaba.wdk.txd.crm.statement.backflow
淘鲜达商家会员账单回流
func NewAlibabaWdkTxdCrmStatementBackflowRequest ¶
func NewAlibabaWdkTxdCrmStatementBackflowRequest() *AlibabaWdkTxdCrmStatementBackflowAPIRequest
NewAlibabaWdkTxdCrmStatementBackflowRequest 初始化AlibabaWdkTxdCrmStatementBackflowAPIRequest对象
func (AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetApiMethodName ¶
func (r AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetApiParams ¶
func (r AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetParamStatementBO ¶
func (r AlibabaWdkTxdCrmStatementBackflowAPIRequest) GetParamStatementBO() *StatementBo
GetParamStatementBO ParamStatementBO Getter
func (*AlibabaWdkTxdCrmStatementBackflowAPIRequest) SetParamStatementBO ¶
func (r *AlibabaWdkTxdCrmStatementBackflowAPIRequest) SetParamStatementBO(_paramStatementBO *StatementBo) error
SetParamStatementBO is ParamStatementBO Setter 参数
type AlibabaWdkTxdCrmStatementBackflowAPIResponse ¶
type AlibabaWdkTxdCrmStatementBackflowAPIResponse struct { model.CommonResponse AlibabaWdkTxdCrmStatementBackflowAPIResponseModel }
AlibabaWdkTxdCrmStatementBackflowAPIResponse 淘鲜达商家会员账单回流 API返回值 alibaba.wdk.txd.crm.statement.backflow
淘鲜达商家会员账单回流
type AlibabaWdkTxdCrmStatementBackflowAPIResponseModel ¶
type AlibabaWdkTxdCrmStatementBackflowAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_wdk_txd_crm_statement_backflow_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *AlibabaWdkTxdCrmStatementBackflowApiResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaWdkTxdCrmStatementBackflowAPIResponseModel is 淘鲜达商家会员账单回流 成功返回结果
type AlibabaWdkTxdCrmStatementBackflowApiResult ¶
type AlibabaWdkTxdCrmStatementBackflowApiResult struct { // 错误码 ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"` // 错误码描述 ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"` // 模型 Model string `json:"model,omitempty" xml:"model,omitempty"` // 成功标志 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaWdkTxdCrmStatementBackflowApiResult 结构体
type AliexpressPaymentExchangeGetAPIRequest ¶
type AliexpressPaymentExchangeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressPaymentExchangeGetAPIRequest getExchange API请求 aliexpress.payment.exchange.get
提供国际汇率服务
func NewAliexpressPaymentExchangeGetRequest ¶
func NewAliexpressPaymentExchangeGetRequest() *AliexpressPaymentExchangeGetAPIRequest
NewAliexpressPaymentExchangeGetRequest 初始化AliexpressPaymentExchangeGetAPIRequest对象
func (AliexpressPaymentExchangeGetAPIRequest) GetApiMethodName ¶
func (r AliexpressPaymentExchangeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressPaymentExchangeGetAPIRequest) GetApiParams ¶
func (r AliexpressPaymentExchangeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressPaymentExchangeGetAPIRequest) GetCheckoutExchangeRequest ¶
func (r AliexpressPaymentExchangeGetAPIRequest) GetCheckoutExchangeRequest() *CheckoutExchangeRequest
GetCheckoutExchangeRequest CheckoutExchangeRequest Getter
func (*AliexpressPaymentExchangeGetAPIRequest) SetCheckoutExchangeRequest ¶
func (r *AliexpressPaymentExchangeGetAPIRequest) SetCheckoutExchangeRequest(_checkoutExchangeRequest *CheckoutExchangeRequest) error
SetCheckoutExchangeRequest is CheckoutExchangeRequest Setter 系统自动生成
type AliexpressPaymentExchangeGetAPIResponse ¶
type AliexpressPaymentExchangeGetAPIResponse struct { model.CommonResponse AliexpressPaymentExchangeGetAPIResponseModel }
AliexpressPaymentExchangeGetAPIResponse getExchange API返回值 aliexpress.payment.exchange.get
提供国际汇率服务
type AliexpressPaymentExchangeGetAPIResponseModel ¶
type AliexpressPaymentExchangeGetAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_payment_exchange_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AliexpressPaymentExchangeGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AliexpressPaymentExchangeGetAPIResponseModel is getExchange 成功返回结果
type AliexpressPaymentExchangeGetModule ¶
type AliexpressPaymentExchangeGetModule struct { // 报价币种 QuoteCurrency string `json:"quote_currency,omitempty" xml:"quote_currency,omitempty"` // 外部机构汇率号 InstExchangeRateNo string `json:"inst_exchange_rate_no,omitempty" xml:"inst_exchange_rate_no,omitempty"` // 过期时间 ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"` // 缓冲时间 ThresholdTime string `json:"threshold_time,omitempty" xml:"threshold_time,omitempty"` // 汇率 Rate string `json:"rate,omitempty" xml:"rate,omitempty"` // 有效时间 ValidTime string `json:"valid_time,omitempty" xml:"valid_time,omitempty"` // 基准币种 BaseCurrency string `json:"base_currency,omitempty" xml:"base_currency,omitempty"` // 汇率号 ExchangeRateNo string `json:"exchange_rate_no,omitempty" xml:"exchange_rate_no,omitempty"` // 是否可交易 Tradable bool `json:"tradable,omitempty" xml:"tradable,omitempty"` }
AliexpressPaymentExchangeGetModule 结构体
type AliexpressPaymentExchangeGetResult ¶
type AliexpressPaymentExchangeGetResult struct { // 返汇率相关数据 Module *AliexpressPaymentExchangeGetModule `json:"module,omitempty" xml:"module,omitempty"` // 错误信息 ErrorCode *ErrorCode `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否不成功 NotSuccess bool `json:"not_success,omitempty" xml:"not_success,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 是否重复重复 Repeated bool `json:"repeated,omitempty" xml:"repeated,omitempty"` // 是否重试 Retry bool `json:"retry,omitempty" xml:"retry,omitempty"` }
AliexpressPaymentExchangeGetResult 结构体
type AlitripRailTradeRefundAPIRequest ¶
type AlitripRailTradeRefundAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripRailTradeRefundAPIRequest 退票接口 API请求 alitrip.rail.trade.refund
退票接口
func NewAlitripRailTradeRefundRequest ¶
func NewAlitripRailTradeRefundRequest() *AlitripRailTradeRefundAPIRequest
NewAlitripRailTradeRefundRequest 初始化AlitripRailTradeRefundAPIRequest对象
func (AlitripRailTradeRefundAPIRequest) GetApiMethodName ¶
func (r AlitripRailTradeRefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripRailTradeRefundAPIRequest) GetApiParams ¶
func (r AlitripRailTradeRefundAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripRailTradeRefundAPIRequest) GetRefundParam ¶
func (r AlitripRailTradeRefundAPIRequest) GetRefundParam() *RefundReq
GetRefundParam RefundParam Getter
func (*AlitripRailTradeRefundAPIRequest) SetRefundParam ¶
func (r *AlitripRailTradeRefundAPIRequest) SetRefundParam(_refundParam *RefundReq) error
SetRefundParam is RefundParam Setter 入参
type AlitripRailTradeRefundAPIResponse ¶
type AlitripRailTradeRefundAPIResponse struct { model.CommonResponse AlitripRailTradeRefundAPIResponseModel }
AlitripRailTradeRefundAPIResponse 退票接口 API返回值 alitrip.rail.trade.refund
退票接口
type AlitripRailTradeRefundAPIResponseModel ¶
type AlitripRailTradeRefundAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_rail_trade_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回对象 Result *AlitripRailTradeRefundResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripRailTradeRefundAPIResponseModel is 退票接口 成功返回结果
type AlitripRailTradeRefundResultSet ¶
type AlitripRailTradeRefundResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 接口成功/失败 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
AlitripRailTradeRefundResultSet 结构体
type CainiaoCntecSupplierOrderServiceAPIRequest ¶
type CainiaoCntecSupplierOrderServiceAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCntecSupplierOrderServiceAPIRequest 供货商查询订单数据接口 API请求 cainiao.cntec.supplier.order.service
提供给供货商查询订单信息的接口,返回给供货商的订单数据已经是脱敏精简后的,比如订单ID用户ID已经用md5加密,用户昵称已经脱敏,商品信息本身是供货商提供的。 数据查询的范围只和供货商的身份有关系,比如大润发的用户只能查询大润发的订单,而且会校验身份和颁发的appkey之间的关系,并且目前对接的只有一个供货商
func NewCainiaoCntecSupplierOrderServiceRequest ¶
func NewCainiaoCntecSupplierOrderServiceRequest() *CainiaoCntecSupplierOrderServiceAPIRequest
NewCainiaoCntecSupplierOrderServiceRequest 初始化CainiaoCntecSupplierOrderServiceAPIRequest对象
func (CainiaoCntecSupplierOrderServiceAPIRequest) GetApiMethodName ¶
func (r CainiaoCntecSupplierOrderServiceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCntecSupplierOrderServiceAPIRequest) GetApiParams ¶
func (r CainiaoCntecSupplierOrderServiceAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCntecSupplierOrderServiceAPIRequest) GetQueryConditioin ¶
func (r CainiaoCntecSupplierOrderServiceAPIRequest) GetQueryConditioin() *SupplierOrderQueryDto
GetQueryConditioin QueryConditioin Getter
func (*CainiaoCntecSupplierOrderServiceAPIRequest) SetQueryConditioin ¶
func (r *CainiaoCntecSupplierOrderServiceAPIRequest) SetQueryConditioin(_queryConditioin *SupplierOrderQueryDto) error
SetQueryConditioin is QueryConditioin Setter 系统自动生成
type CainiaoCntecSupplierOrderServiceAPIResponse ¶
type CainiaoCntecSupplierOrderServiceAPIResponse struct { model.CommonResponse CainiaoCntecSupplierOrderServiceAPIResponseModel }
CainiaoCntecSupplierOrderServiceAPIResponse 供货商查询订单数据接口 API返回值 cainiao.cntec.supplier.order.service
提供给供货商查询订单信息的接口,返回给供货商的订单数据已经是脱敏精简后的,比如订单ID用户ID已经用md5加密,用户昵称已经脱敏,商品信息本身是供货商提供的。 数据查询的范围只和供货商的身份有关系,比如大润发的用户只能查询大润发的订单,而且会校验身份和颁发的appkey之间的关系,并且目前对接的只有一个供货商
type CainiaoCntecSupplierOrderServiceAPIResponseModel ¶
type CainiaoCntecSupplierOrderServiceAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cntec_supplier_order_service_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *CainiaoCntecSupplierOrderServiceResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoCntecSupplierOrderServiceAPIResponseModel is 供货商查询订单数据接口 成功返回结果
type CainiaoCntecSupplierOrderServiceResult ¶
type CainiaoCntecSupplierOrderServiceResult struct { // 订单列表 OrderList []SupplierOrder `json:"order_list,omitempty" xml:"order_list>supplier_order,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误码 ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 分页游标 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // 是否有下一页 HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CainiaoCntecSupplierOrderServiceResult 结构体
type CainiaoRefundRefundactionsDisplayAPIRequest ¶
type CainiaoRefundRefundactionsDisplayAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoRefundRefundactionsDisplayAPIRequest 退货退款操作的展示信息(展现给买家) API请求 cainiao.refund.refundactions.display
退货退款操作的展示信息(展现给买家)
func NewCainiaoRefundRefundactionsDisplayRequest ¶
func NewCainiaoRefundRefundactionsDisplayRequest() *CainiaoRefundRefundactionsDisplayAPIRequest
NewCainiaoRefundRefundactionsDisplayRequest 初始化CainiaoRefundRefundactionsDisplayAPIRequest对象
func (CainiaoRefundRefundactionsDisplayAPIRequest) GetApiMethodName ¶
func (r CainiaoRefundRefundactionsDisplayAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoRefundRefundactionsDisplayAPIRequest) GetApiParams ¶
func (r CainiaoRefundRefundactionsDisplayAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoRefundRefundactionsDisplayAPIRequest) GetParam0 ¶
func (r CainiaoRefundRefundactionsDisplayAPIRequest) GetParam0() *OrderRefundOperationReq
GetParam0 Param0 Getter
func (*CainiaoRefundRefundactionsDisplayAPIRequest) SetParam0 ¶
func (r *CainiaoRefundRefundactionsDisplayAPIRequest) SetParam0(_param0 *OrderRefundOperationReq) error
SetParam0 is Param0 Setter 请求入参
type CainiaoRefundRefundactionsDisplayAPIResponse ¶
type CainiaoRefundRefundactionsDisplayAPIResponse struct { model.CommonResponse CainiaoRefundRefundactionsDisplayAPIResponseModel }
CainiaoRefundRefundactionsDisplayAPIResponse 退货退款操作的展示信息(展现给买家) API返回值 cainiao.refund.refundactions.display
退货退款操作的展示信息(展现给买家)
type CainiaoRefundRefundactionsDisplayAPIResponseModel ¶
type CainiaoRefundRefundactionsDisplayAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_refund_refundactions_display_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Result *CainiaoRefundRefundactionsDisplayBizResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoRefundRefundactionsDisplayAPIResponseModel is 退货退款操作的展示信息(展现给买家) 成功返回结果
type CainiaoRefundRefundactionsDisplayBizResult ¶
type CainiaoRefundRefundactionsDisplayBizResult struct { // 调用时错误码 StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"` // 买家操作时需要的展示信息 Data string `json:"data,omitempty" xml:"data,omitempty"` // 调用时错误描述 StatusMessage string `json:"status_message,omitempty" xml:"status_message,omitempty"` // true表示成功,false表示失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CainiaoRefundRefundactionsDisplayBizResult 结构体
type CainiaoRefundRefundactionsGetAPIRequest ¶
type CainiaoRefundRefundactionsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoRefundRefundactionsGetAPIRequest 判断该订单能执行的逆向操作集合列表 API请求 cainiao.refund.refundactions.get
判断该订单能执行的逆向操作集合列表
func NewCainiaoRefundRefundactionsGetRequest ¶
func NewCainiaoRefundRefundactionsGetRequest() *CainiaoRefundRefundactionsGetAPIRequest
NewCainiaoRefundRefundactionsGetRequest 初始化CainiaoRefundRefundactionsGetAPIRequest对象
func (CainiaoRefundRefundactionsGetAPIRequest) GetApiMethodName ¶
func (r CainiaoRefundRefundactionsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoRefundRefundactionsGetAPIRequest) GetApiParams ¶
func (r CainiaoRefundRefundactionsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoRefundRefundactionsGetAPIRequest) GetOrderId ¶
func (r CainiaoRefundRefundactionsGetAPIRequest) GetOrderId() string
GetOrderId OrderId Getter
func (*CainiaoRefundRefundactionsGetAPIRequest) SetOrderId ¶
func (r *CainiaoRefundRefundactionsGetAPIRequest) SetOrderId(_orderId string) error
SetOrderId is OrderId Setter 子订单ID
type CainiaoRefundRefundactionsGetAPIResponse ¶
type CainiaoRefundRefundactionsGetAPIResponse struct { model.CommonResponse CainiaoRefundRefundactionsGetAPIResponseModel }
CainiaoRefundRefundactionsGetAPIResponse 判断该订单能执行的逆向操作集合列表 API返回值 cainiao.refund.refundactions.get
判断该订单能执行的逆向操作集合列表
type CainiaoRefundRefundactionsGetAPIResponseModel ¶
type CainiaoRefundRefundactionsGetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_refund_refundactions_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Result *CainiaoRefundRefundactionsGetBizResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoRefundRefundactionsGetAPIResponseModel is 判断该订单能执行的逆向操作集合列表 成功返回结果
type CainiaoRefundRefundactionsGetBizResult ¶
type CainiaoRefundRefundactionsGetBizResult struct { // 调用错误时,错误code StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"` // 调用错误时,错误描述 StatusMessage string `json:"status_message,omitempty" xml:"status_message,omitempty"` // 该订单支持的退款退货操作的集合 Data *OrderRefundActionResponse `json:"data,omitempty" xml:"data,omitempty"` // true表示成功,false表示失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CainiaoRefundRefundactionsGetBizResult 结构体
type CainiaoRefundRefundactionsJudgementAPIRequest ¶
type CainiaoRefundRefundactionsJudgementAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoRefundRefundactionsJudgementAPIRequest 判断当前用户是否能对订单执行一些逆向操作,比如退货操作 API请求 cainiao.refund.refundactions.judgement
判断当前用户是否能对订单执行一些逆向操作,比如退货操作
func NewCainiaoRefundRefundactionsJudgementRequest ¶
func NewCainiaoRefundRefundactionsJudgementRequest() *CainiaoRefundRefundactionsJudgementAPIRequest
NewCainiaoRefundRefundactionsJudgementRequest 初始化CainiaoRefundRefundactionsJudgementAPIRequest对象
func (CainiaoRefundRefundactionsJudgementAPIRequest) GetApiMethodName ¶
func (r CainiaoRefundRefundactionsJudgementAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoRefundRefundactionsJudgementAPIRequest) GetApiParams ¶
func (r CainiaoRefundRefundactionsJudgementAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoRefundRefundactionsJudgementAPIRequest) GetParam0 ¶
func (r CainiaoRefundRefundactionsJudgementAPIRequest) GetParam0() *OrderRefundOperationJudgementReq
GetParam0 Param0 Getter
func (*CainiaoRefundRefundactionsJudgementAPIRequest) SetParam0 ¶
func (r *CainiaoRefundRefundactionsJudgementAPIRequest) SetParam0(_param0 *OrderRefundOperationJudgementReq) error
SetParam0 is Param0 Setter 操作请求
type CainiaoRefundRefundactionsJudgementAPIResponse ¶
type CainiaoRefundRefundactionsJudgementAPIResponse struct { model.CommonResponse CainiaoRefundRefundactionsJudgementAPIResponseModel }
CainiaoRefundRefundactionsJudgementAPIResponse 判断当前用户是否能对订单执行一些逆向操作,比如退货操作 API返回值 cainiao.refund.refundactions.judgement
判断当前用户是否能对订单执行一些逆向操作,比如退货操作
type CainiaoRefundRefundactionsJudgementAPIResponseModel ¶
type CainiaoRefundRefundactionsJudgementAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_refund_refundactions_judgement_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Result *CainiaoRefundRefundactionsJudgementBizResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoRefundRefundactionsJudgementAPIResponseModel is 判断当前用户是否能对订单执行一些逆向操作,比如退货操作 成功返回结果
type CainiaoRefundRefundactionsJudgementBizResult ¶
type CainiaoRefundRefundactionsJudgementBizResult struct { // 调用时错误码 StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"` // 调用时错误描述 StatusMessage string `json:"status_message,omitempty" xml:"status_message,omitempty"` // 是否能对某一个订单进行退货退款操作的返回值 Data *OrderRefundOperationResponse `json:"data,omitempty" xml:"data,omitempty"` // true表示成功,false表示失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CainiaoRefundRefundactionsJudgementBizResult 结构体
type ChannelOrderItem ¶
type ChannelOrderItem struct { // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 条形码 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // skuId SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 商品id(商品id和货号必填一个) ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 货号(商品id和货号必填一个) InventoryNo string `json:"inventory_no,omitempty" xml:"inventory_no,omitempty"` // 分销价格(分) DistributionPrice int64 `json:"distribution_price,omitempty" xml:"distribution_price,omitempty"` // 数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` }
ChannelOrderItem 结构体
type ChannelOrderOption ¶
type ChannelOrderOption struct { // 是否允许供应商修改 IsAllowUpperModify bool `json:"is_allow_upper_modify,omitempty" xml:"is_allow_upper_modify,omitempty"` }
ChannelOrderOption 结构体
type CheckoutExchangeRequest ¶
type CheckoutExchangeRequest struct { // 基准币种(卖家设置的) BaseCurrency string `json:"base_currency,omitempty" xml:"base_currency,omitempty"` // 报价币种(买家看到的) QuoteCurrency string `json:"quote_currency,omitempty" xml:"quote_currency,omitempty"` }
CheckoutExchangeRequest 结构体
type CouponInfo ¶
type CouponInfo struct { // 优惠名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 优惠标识,编号 OptionId string `json:"option_id,omitempty" xml:"option_id,omitempty"` // 优惠金额,单位人民币:分 Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"` }
CouponInfo 结构体
type CreateChannelOrderRequest ¶
type CreateChannelOrderRequest struct { // 子订单信息 ItemList []ChannelOrderItem `json:"item_list,omitempty" xml:"item_list>channel_order_item,omitempty"` // 备注 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 请求单号 RequestNo string `json:"request_no,omitempty" xml:"request_no,omitempty"` // 外部订单号 OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"` // sourceLbx SourceLbx string `json:"source_lbx,omitempty" xml:"source_lbx,omitempty"` // 属性 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 自营实体标示 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 物流信息 ReceiverLogistics *ReceiverLogistics `json:"receiver_logistics,omitempty" xml:"receiver_logistics,omitempty"` // 渠道 Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"` // 选项 Option *ChannelOrderOption `json:"option,omitempty" xml:"option,omitempty"` // 交易类型(1——代销;2——经销) TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"` }
CreateChannelOrderRequest 结构体
type ErrorCode ¶
type ErrorCode struct { // 错误展示信息 DisplayMessage string `json:"display_message,omitempty" xml:"display_message,omitempty"` // 错误码key Key string `json:"key,omitempty" xml:"key,omitempty"` // 错误详情 LogMessage string `json:"log_message,omitempty" xml:"log_message,omitempty"` }
ErrorCode 结构体
type ExpandCardInfo ¶
type ExpandCardInfo struct { // 买卡订单本金 BasicPrice string `json:"basic_price,omitempty" xml:"basic_price,omitempty"` // 买卡订单权益金 ExpandPrice string `json:"expand_price,omitempty" xml:"expand_price,omitempty"` // 用卡订单使用的本金 BasicPriceUsed string `json:"basic_price_used,omitempty" xml:"basic_price_used,omitempty"` // 用卡订单使用的权益金 ExpandPriceUsed string `json:"expand_price_used,omitempty" xml:"expand_price_used,omitempty"` }
ExpandCardInfo 结构体
type FastBuyPosCloseRequest ¶
type FastBuyPosCloseRequest struct { // 外部唯一订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 经营店id StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 外部门店编码 OutShopCode string `json:"out_shop_code,omitempty" xml:"out_shop_code,omitempty"` }
FastBuyPosCloseRequest 结构体
type FastBuyPosCloseResult ¶
type FastBuyPosCloseResult struct { // 错误码 ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"` // 错误信息 ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"` // 关单结果状态: 1为成功,2为失败 ResultResult int64 `json:"result_result,omitempty" xml:"result_result,omitempty"` // 接口调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
FastBuyPosCloseResult 结构体
type FastBuyPosCreateRequest ¶
type FastBuyPosCreateRequest struct { // 购买商品信息 Items []FastBuyPosItemBo `json:"items,omitempty" xml:"items>fast_buy_pos_item_bo,omitempty"` // 收银员工号 CashierNum string `json:"cashier_num,omitempty" xml:"cashier_num,omitempty"` // pos机id MachineId string `json:"machine_id,omitempty" xml:"machine_id,omitempty"` // 外部唯一订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 付款码 PayCode string `json:"pay_code,omitempty" xml:"pay_code,omitempty"` // 经营店id StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 外部门店编码 OutShopCode string `json:"out_shop_code,omitempty" xml:"out_shop_code,omitempty"` // 扩展属性 ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"` // 支付宝支付金额 PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` // 外部优惠券支付金额 OutCouponPayFee int64 `json:"out_coupon_pay_fee,omitempty" xml:"out_coupon_pay_fee,omitempty"` // 外部优惠金额 OutPromotionFee int64 `json:"out_promotion_fee,omitempty" xml:"out_promotion_fee,omitempty"` }
FastBuyPosCreateRequest 结构体
type FastBuyPosCreateResult ¶
type FastBuyPosCreateResult struct { // 返回错误码 ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"` // 返回错误信息 ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"` // 盒马订单号 BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 优惠券优惠金额 CouponFee int64 `json:"coupon_fee,omitempty" xml:"coupon_fee,omitempty"` // 优惠活动优惠金额 PromotionFee int64 `json:"promotion_fee,omitempty" xml:"promotion_fee,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
FastBuyPosCreateResult 结构体
type FastBuyPosItemBo ¶
type FastBuyPosItemBo struct { // 商品条码 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 购买库存数量 InvQuantity string `json:"inv_quantity,omitempty" xml:"inv_quantity,omitempty"` // 商家商品编码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 扩展属性 ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"` // 商品行号,单次下单自增 LineId int64 `json:"line_id,omitempty" xml:"line_id,omitempty"` // 一阶段优惠金额(商品实际优惠金额):单价*数量-商家优惠 PromotionFee int64 `json:"promotion_fee,omitempty" xml:"promotion_fee,omitempty"` // 商品单价 UnitPrice int64 `json:"unit_price,omitempty" xml:"unit_price,omitempty"` }
FastBuyPosItemBo 结构体
type FastBuyPosPayRequest ¶
type FastBuyPosPayRequest struct { // 外部支付宝交易号 AlipayTradeId string `json:"alipay_trade_id,omitempty" xml:"alipay_trade_id,omitempty"` // 外部唯一订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 经营店id StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 外部门店编码 OutShopCode string `json:"out_shop_code,omitempty" xml:"out_shop_code,omitempty"` // 实际支付金额 PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` }
FastBuyPosPayRequest 结构体
type FastBuyPosPayResult ¶
type FastBuyPosPayResult struct { // 返回的错误码 ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"` // 错误描述 ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
FastBuyPosPayResult 结构体
type FastBuyPosQueryRequest ¶
type FastBuyPosQueryRequest struct { // pos机id MachineId string `json:"machine_id,omitempty" xml:"machine_id,omitempty"` // 外部订单id OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 经营店id StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 外部门店编码 OutShopCode string `json:"out_shop_code,omitempty" xml:"out_shop_code,omitempty"` }
FastBuyPosQueryRequest 结构体
type FastBuyPosQueryResult ¶
type FastBuyPosQueryResult struct { // 五道口订单id BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 返回的错误码 ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"` // 错误信息 ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"` // 商品分摊优惠 ItemPromotions string `json:"item_promotions,omitempty" xml:"item_promotions,omitempty"` // 优惠券优惠金额 CouponFee int64 `json:"coupon_fee,omitempty" xml:"coupon_fee,omitempty"` // 订单状态:1为已下单,未支付;2为交易完成;3为已退款;4为已关单 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 优惠活动优惠金额 PromotionFee int64 `json:"promotion_fee,omitempty" xml:"promotion_fee,omitempty"` // 是否调用成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
FastBuyPosQueryResult 结构体
type FastBuyPosReverseRequest ¶
type FastBuyPosReverseRequest struct { // 外部唯一订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 外部退款单号 OutRefundId string `json:"out_refund_id,omitempty" xml:"out_refund_id,omitempty"` // 经营店id StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 退款操作员工工号 OperatorNum string `json:"operator_num,omitempty" xml:"operator_num,omitempty"` // 逆向支付宝交易号,对账使用 RefundAlipayTradeId string `json:"refund_alipay_trade_id,omitempty" xml:"refund_alipay_trade_id,omitempty"` // 外部门店编码 OutShopCode string `json:"out_shop_code,omitempty" xml:"out_shop_code,omitempty"` }
FastBuyPosReverseRequest 结构体
type FastBuyPosReverseResult ¶
type FastBuyPosReverseResult struct { // 返回的错误码 ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"` // 返回的错误信息 ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"` // 退款状态: 1为成功,2为失败 ResultStatus int64 `json:"result_status,omitempty" xml:"result_status,omitempty"` // 调用接口是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
FastBuyPosReverseResult 结构体
type File ¶
type File struct { // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 返回的是绝对路径如:http://img07.taobaocdn.com/imgextra/i7/22670458/T2dD0kXb4cXXXXXXXX_!!22670458.jpg FilePath string `json:"file_path,omitempty" xml:"file_path,omitempty"` // 图片状态,unfroze代表没有被冻结,froze代表被冻结,pass代表排查通过 Status string `json:"status,omitempty" xml:"status,omitempty"` // 文件是否删除 Deleted string `json:"deleted,omitempty" xml:"deleted,omitempty"` // 图片像素,如果非图片,该值为空 PicturePix string `json:"picture_pix,omitempty" xml:"picture_pix,omitempty"` // 文件的大小 Size int64 `json:"size,omitempty" xml:"size,omitempty"` }
File 结构体
type GoodsDetail ¶
type GoodsDetail struct { // 商品标识 GoodsId string `json:"goods_id,omitempty" xml:"goods_id,omitempty"` // 商品单价,人民币:分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 商品数量 Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"` // 商品ID类型。CUSTOM:外部编码;ITEM_SKU:淘系商品itemId_skuId组合形式。无SKU则为itemId_0 IdType string `json:"id_type,omitempty" xml:"id_type,omitempty"` }
GoodsDetail 结构体
type InformRefundSuccessRequest ¶
type InformRefundSuccessRequest struct { // 退货成功履约子单 RefundFulfillSubOrders []RefundSuccessSubOrderRequest `json:"refund_fulfill_sub_orders,omitempty" xml:"refund_fulfill_sub_orders>refund_success_sub_order_request,omitempty"` // 门店编码 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` }
InformRefundSuccessRequest 结构体
type InformRefundSuccessResult ¶
type InformRefundSuccessResult struct { // 错误编码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
InformRefundSuccessResult 结构体
type IsvCreateOrderParam ¶
type IsvCreateOrderParam struct { // 订单行详情 SubOrderInfoList []IsvSimpleSubOrderModel `json:"sub_order_info_list,omitempty" xml:"sub_order_info_list>isv_simple_sub_order_model,omitempty"` // 买家备注 BuyerRemarks string `json:"buyer_remarks,omitempty" xml:"buyer_remarks,omitempty"` // 外部订单ID,仅仅做追踪使用 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 收货地址信息 SmAddrModel *SmAddrModel `json:"sm_addr_model,omitempty" xml:"sm_addr_model,omitempty"` }
IsvCreateOrderParam 结构体
type IsvSimpleSubOrderModel ¶
type IsvSimpleSubOrderModel struct { // 1688的商品ID(offerId) OfferId string `json:"offer_id,omitempty" xml:"offer_id,omitempty"` // 购买数量 Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"` // 1688的单品货号ID(skuId),如果有的话,必须填写 SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 商品的类目(Key),可不填写 CargoKey string `json:"cargo_key,omitempty" xml:"cargo_key,omitempty"` }
IsvSimpleSubOrderModel 结构体
type ItemDigestDto ¶
type ItemDigestDto struct { // 图片url ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"` // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 商品数量 ItemQuantity string `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` // 商品金额 ItemPrice string `json:"item_price,omitempty" xml:"item_price,omitempty"` // 商品订单状态描述 ItemOrderStatusDesc string `json:"item_order_status_desc,omitempty" xml:"item_order_status_desc,omitempty"` }
ItemDigestDto 结构体
type LogisticServiceTag ¶
type LogisticServiceTag struct { // 物流服务下的标签属性,多个标签之间有";"分隔 ServiceTag string `json:"service_tag,omitempty" xml:"service_tag,omitempty"` // 消费者选快递请直接判断service_tag是否包含companyCode。而不要判断service_type ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"` }
LogisticServiceTag 结构体
type LogisticsInfo ¶
type LogisticsInfo struct { // 货品仓储ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 货品仓储code ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 如是菜鸟仓,则将菜鸟仓的区域仓code进行填充,如是商家仓发货则填充商家仓code StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 子订单类型:标示该子交易单来源交易,还是BMS增加的,枚举值(00=交易,10=BMS绑定) Type string `json:"type,omitempty" xml:"type,omitempty"` // 发货类型CN=菜鸟发货,SC的商家仓发货 ConsignType string `json:"consign_type,omitempty" xml:"consign_type,omitempty"` // 商品的最小库存单位Sku的id SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 组合商品编码code CombineItemCode string `json:"combine_item_code,omitempty" xml:"combine_item_code,omitempty"` // 组合商品id CombineItemId string `json:"combine_item_id,omitempty" xml:"combine_item_id,omitempty"` // 交易号 TradeId int64 `json:"trade_id,omitempty" xml:"trade_id,omitempty"` // 子交易号 SubTradeId int64 `json:"sub_trade_id,omitempty" xml:"sub_trade_id,omitempty"` // 应发数量 NeedConsignNum int64 `json:"need_consign_num,omitempty" xml:"need_consign_num,omitempty"` // 商品数字编号 NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品比例 ItemRatio int64 `json:"item_ratio,omitempty" xml:"item_ratio,omitempty"` }
LogisticsInfo 结构体
type LogisticsTag ¶
type LogisticsTag struct { // 服务标签 LogisticServiceTagList []LogisticServiceTag `json:"logistic_service_tag_list,omitempty" xml:"logistic_service_tag_list>logistic_service_tag,omitempty"` // 主订单或子订单的订单号 OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` }
LogisticsTag 结构体
type Order ¶
type Order struct { // 商家外部编码(可与商家外部系统对接)。外部商家自己定义的商品Item的id,可以通过taobao.items.custom.get获取商品的Item的信息 OuterIid string `json:"outer_iid,omitempty" xml:"outer_iid,omitempty"` // 子订单编号 Oid string `json:"oid,omitempty" xml:"oid,omitempty"` // 订单状态(请关注此状态,如果为TRADE_CLOSED_BY_TAOBAO状态,则不要对此订单进行发货,切记啊!)。可选值: <ul><li>TRADE_NO_CREATE_PAY(没有创建支付宝交易) <li>WAIT_BUYER_PAY(等待买家付款) <li>WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) <li>WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) <li>TRADE_BUYER_SIGNED(买家已签收,货到付款专用) <li>TRADE_FINISHED(交易成功) <li>TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) <li>TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易)<li>PAY_PENDING(国际信用卡支付付款确认中) Status string `json:"status,omitempty" xml:"status,omitempty"` // 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 商品的最小库存单位Sku的id.可以通过taobao.item.sku.get获取详细的Sku信息 SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 外部网店自己定义的Sku编号 OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,omitempty"` // 应付金额(商品价格 * 商品数量 + 手工调整金额 - 子订单级订单优惠金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 商品图片的绝对路径 PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 定制信息 Customization string `json:"customization,omitempty" xml:"customization,omitempty"` // 子订单实付金额。精确到2位小数,单位:元。如:200.07,表示:200元7分。 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 子订单级订单优惠金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 分摊之后的实付金额 DivideOrderFee string `json:"divide_order_fee,omitempty" xml:"divide_order_fee,omitempty"` // 优惠分摊 PartMjzDiscount string `json:"part_mjz_discount,omitempty" xml:"part_mjz_discount,omitempty"` // 退款状态。退款状态。可选值 WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功) RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 套餐的值。如:M8原装电池:便携支架:M8专用座充:莫凡保护袋 ItemMealName string `json:"item_meal_name,omitempty" xml:"item_meal_name,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 订单快照URL SnapshotUrl string `json:"snapshot_url,omitempty" xml:"snapshot_url,omitempty"` // 订单快照详细信息 Snapshot string `json:"snapshot,omitempty" xml:"snapshot,omitempty"` // 订单超时到期时间。格式:yyyy-MM-dd HH:mm:ss TimeoutActionTime string `json:"timeout_action_time,omitempty" xml:"timeout_action_time,omitempty"` // 卖家类型,可选值为:B(商城商家),C(普通卖家) SellerType string `json:"seller_type,omitempty" xml:"seller_type,omitempty"` // 天猫国际官网直供子订单关税税费 SubOrderTaxFee string `json:"sub_order_tax_fee,omitempty" xml:"sub_order_tax_fee,omitempty"` // 天猫国际官网直供子订单关税税率 SubOrderTaxRate string `json:"sub_order_tax_rate,omitempty" xml:"sub_order_tax_rate,omitempty"` // 子订单预计发货时间 EstimateConTime string `json:"estimate_con_time,omitempty" xml:"estimate_con_time,omitempty"` // 导购员ID O2oGuideId string `json:"o2o_guide_id,omitempty" xml:"o2o_guide_id,omitempty"` // 导购员名称 O2oGuideName string `json:"o2o_guide_name,omitempty" xml:"o2o_guide_name,omitempty"` // 门店Id O2oShopId string `json:"o2o_shop_id,omitempty" xml:"o2o_shop_id,omitempty"` // 门店名称 O2oShopName string `json:"o2o_shop_name,omitempty" xml:"o2o_shop_name,omitempty"` // 为tmall.daogoubao.cloudstore时表示云店链路 BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"` // 为1,且bizCode不为tmall.daogoubao.cloudstore时,为旗舰店订单 CloudStore string `json:"cloud_store,omitempty" xml:"cloud_store,omitempty"` // 云店是否扣拥 HjSettleNoCommission string `json:"hj_settle_no_commission,omitempty" xml:"hj_settle_no_commission,omitempty"` // 云店接单标记 OrderTaking string `json:"order_taking,omitempty" xml:"order_taking,omitempty"` // 云店改价用token CloudStoreToken string `json:"cloud_store_token,omitempty" xml:"cloud_store_token,omitempty"` // 云店pos单号 CloudStoreBindPos string `json:"cloud_store_bind_pos,omitempty" xml:"cloud_store_bind_pos,omitempty"` // 前N有礼活动id OsActivityId string `json:"os_activity_id,omitempty" xml:"os_activity_id,omitempty"` // 前N有礼赠品id OsFgItemId string `json:"os_fg_item_id,omitempty" xml:"os_fg_item_id,omitempty"` // 前N有礼赠品数量 OsGiftCount string `json:"os_gift_count,omitempty" xml:"os_gift_count,omitempty"` // 前N有礼中奖名次,获得奖品的订单才会有该字段 OsSortNum string `json:"os_sort_num,omitempty" xml:"os_sort_num,omitempty"` // 交易类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 商品的字符串编号(注意:iid近期即将废弃,请用num_iid参数) Iid string `json:"iid,omitempty" xml:"iid,omitempty"` // 子订单来源,如jhs(聚划算)、taobao(淘宝)、wap(无线) OrderFrom string `json:"order_from,omitempty" xml:"order_from,omitempty"` // 服务详情的URL地址 ServiceDetailUrl string `json:"service_detail_url,omitempty" xml:"service_detail_url,omitempty"` // 手工调整金额.格式为:1.01;单位:元;精确到小数点后两位. AdjustFee string `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"` // 订单修改时间,目前只有taobao.trade.ordersku.update会返回此字段。 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // SKU的值。如:机身颜色:黑色;手机套餐:官方标配 SkuPropertiesName string `json:"sku_properties_name,omitempty" xml:"sku_properties_name,omitempty"` // 子订单的交易结束时间说明:子订单有单独的结束时间,与主订单的结束时间可能有所不同,在有退款发起的时候或者是主订单分阶段付款的时候,子订单的结束时间会早于主订单的结束时间,所以开放这个字段便于订单结束状态的判断 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 子订单发货时间,当卖家对订单进行了多次发货,子订单的发货时间和主订单的发货时间可能不一样了,那么就需要以子订单的时间为准。(没有进行多次发货的订单,主订单的发货时间和子订单的发货时间都一样) ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 子订单扩展属性: is_free_down_payment:是否免首付:true:是,false:否,可选字段 car_back_payment:返还免首付金额,单位:分, car_ref_activity_id:服务商传入活动ID,依赖外部服务商传入; OrderAttr string `json:"order_attr,omitempty" xml:"order_attr,omitempty"` // 子订单的运送方式(卖家对订单进行多次发货之后,一个主订单下的子订单的运送方式可能不同,用order.shipping_type来区分子订单的运送方式) ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` // 子订单发货的快递公司名称 LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"` // 子订单所在包裹的运单号 InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"` // 对应门票有效期的外部id TicketOuterId string `json:"ticket_outer_id,omitempty" xml:"ticket_outer_id,omitempty"` // 门票有效期的key TicketExpdateKey string `json:"ticket_expdate_key,omitempty" xml:"ticket_expdate_key,omitempty"` // 发货的仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 支持家装类物流的类型 TmserSpuCode string `json:"tmser_spu_code,omitempty" xml:"tmser_spu_code,omitempty"` // bind_oid字段的升级,支持返回绑定的多个子订单,多个子订单以半角逗号分隔 BindOids string `json:"bind_oids,omitempty" xml:"bind_oids,omitempty"` // 征集预售订单征集状态:1(征集中),2(征集成功),3(征集失败) ZhengjiStatus string `json:"zhengji_status,omitempty" xml:"zhengji_status,omitempty"` // 免单资格属性 MdQualification string `json:"md_qualification,omitempty" xml:"md_qualification,omitempty"` // 免单金额 MdFee string `json:"md_fee,omitempty" xml:"md_fee,omitempty"` // 库存类型:6为在途 InvType string `json:"inv_type,omitempty" xml:"inv_type,omitempty"` // xxx Xxx string `json:"xxx,omitempty" xml:"xxx,omitempty"` // 仓储信息 Shipper string `json:"shipper,omitempty" xml:"shipper,omitempty"` // 订单履行类型,如喵鲜生极速达(jsd) FType string `json:"f_type,omitempty" xml:"f_type,omitempty"` // 订单履行状态,如喵鲜生极速达:分单完成 FStatus string `json:"f_status,omitempty" xml:"f_status,omitempty"` // 单履行内容,如喵鲜生极速达:storeId,phone FTerm string `json:"f_term,omitempty" xml:"f_term,omitempty"` // O2oEtOrderId string `json:"o2o_et_order_id,omitempty" xml:"o2o_et_order_id,omitempty"` // 天猫搭配宝 ComboId string `json:"combo_id,omitempty" xml:"combo_id,omitempty"` // 主商品订单id AssemblyRela string `json:"assembly_rela,omitempty" xml:"assembly_rela,omitempty"` // 价格 AssemblyPrice string `json:"assembly_price,omitempty" xml:"assembly_price,omitempty"` // assemblyItem AssemblyItem string `json:"assembly_item,omitempty" xml:"assembly_item,omitempty"` // 天猫国际子订单计税优惠金额 SubOrderTaxPromotionFee string `json:"sub_order_tax_promotion_fee,omitempty" xml:"sub_order_tax_promotion_fee,omitempty"` // clDownPayment ClDownPayment string `json:"cl_down_payment,omitempty" xml:"cl_down_payment,omitempty"` // clDownPaymentRatio ClDownPaymentRatio string `json:"cl_down_payment_ratio,omitempty" xml:"cl_down_payment_ratio,omitempty"` // clMonthPayment ClMonthPayment string `json:"cl_month_payment,omitempty" xml:"cl_month_payment,omitempty"` // clTailPayment ClTailPayment string `json:"cl_tail_payment,omitempty" xml:"cl_tail_payment,omitempty"` // clInstallmentNum ClInstallmentNum string `json:"cl_installment_num,omitempty" xml:"cl_installment_num,omitempty"` // calPenalty CalPenalty string `json:"cal_penalty,omitempty" xml:"cal_penalty,omitempty"` // clServiceFee ClServiceFee string `json:"cl_service_fee,omitempty" xml:"cl_service_fee,omitempty"` // clCarTaker ClCarTaker string `json:"cl_car_taker,omitempty" xml:"cl_car_taker,omitempty"` // clCarTakerPhone ClCarTakerPhone string `json:"cl_car_taker_phone,omitempty" xml:"cl_car_taker_phone,omitempty"` // clCarTakerIDNum ClCarTakerIDNum string `json:"cl_car_taker_i_d_num,omitempty" xml:"cl_car_taker_i_d_num,omitempty"` // clCarTakerIDNum ClCarTakerIdNum string `json:"cl_car_taker_id_num,omitempty" xml:"cl_car_taker_id_num,omitempty"` // downPayment DownPayment string `json:"down_payment,omitempty" xml:"down_payment,omitempty"` // downPaymentRatio DownPaymentRatio string `json:"down_payment_ratio,omitempty" xml:"down_payment_ratio,omitempty"` // monthPayment MonthPayment string `json:"month_payment,omitempty" xml:"month_payment,omitempty"` // tailPayment TailPayment string `json:"tail_payment,omitempty" xml:"tail_payment,omitempty"` // installmentNum InstallmentNum string `json:"installment_num,omitempty" xml:"installment_num,omitempty"` // penalty Penalty string `json:"penalty,omitempty" xml:"penalty,omitempty"` // serviceFee ServiceFee string `json:"service_fee,omitempty" xml:"service_fee,omitempty"` // carTaker CarTaker string `json:"car_taker,omitempty" xml:"car_taker,omitempty"` // carTakerPhone CarTakerPhone string `json:"car_taker_phone,omitempty" xml:"car_taker_phone,omitempty"` // carTakerIDNum CarTakerIdNum string `json:"car_taker_id_num,omitempty" xml:"car_taker_id_num,omitempty"` // carStoreCode CarStoreCode string `json:"car_store_code,omitempty" xml:"car_store_code,omitempty"` // carStoreName CarStoreName string `json:"car_store_name,omitempty" xml:"car_store_name,omitempty"` // outUniqueId OutUniqueId string `json:"out_unique_id,omitempty" xml:"out_unique_id,omitempty"` // wsBankApplyNo WsBankApplyNo string `json:"ws_bank_apply_no,omitempty" xml:"ws_bank_apply_no,omitempty"` // carTakerID CarTakerId string `json:"car_taker_id,omitempty" xml:"car_taker_id,omitempty"` // oidStr OidStr string `json:"oid_str,omitempty" xml:"oid_str,omitempty"` // 天猫国际订单包税金额 TaxCouponDiscount string `json:"tax_coupon_discount,omitempty" xml:"tax_coupon_discount,omitempty"` // 个人充值红包金额 RechargeFee string `json:"recharge_fee,omitempty" xml:"recharge_fee,omitempty"` // platformSubsidyFee PlatformSubsidyFee string `json:"platform_subsidy_fee,omitempty" xml:"platform_subsidy_fee,omitempty"` // nrReduceInvFail NrReduceInvFail string `json:"nr_reduce_inv_fail,omitempty" xml:"nr_reduce_inv_fail,omitempty"` // 新零售商家端商品唯一编号 NrOuterIid string `json:"nr_outer_iid,omitempty" xml:"nr_outer_iid,omitempty"` // bind_oids字段的升级,在交易成功和交易关闭状态下也能获取到,支持返回绑定的多个子订单,多个子订单以半角逗号分隔 BindOidsAllStatus string `json:"bind_oids_all_status,omitempty" xml:"bind_oids_all_status,omitempty"` // sortInfo SortInfo string `json:"sort_info,omitempty" xml:"sort_info,omitempty"` // 天猫无人店线下店 ID RetailStoreId string `json:"retail_store_id,omitempty" xml:"retail_store_id,omitempty"` // 天猫未来店外部 ERP 商品 ID OutItemId string `json:"out_item_id,omitempty" xml:"out_item_id,omitempty"` // 新零售全渠道订单:商家自有货品编码 RtOmniOuterScId string `json:"rt_omni_outer_sc_id,omitempty" xml:"rt_omni_outer_sc_id,omitempty"` // 新零售全渠道订单:后端货品ID RtOmniScId string `json:"rt_omni_sc_id,omitempty" xml:"rt_omni_sc_id,omitempty"` // 有值表示买家修改了地址;1表示付款后改地址;2表示付款前改地址 ModifyAddress string `json:"modify_address,omitempty" xml:"modify_address,omitempty"` // 买家修改地址时间 TiModifyAddressTime string `json:"ti_modify_address_time,omitempty" xml:"ti_modify_address_time,omitempty"` // 有值表示信用购订单;1表示信用购一期;2表示信用购二期;3表示信用购三期 CreditBuy string `json:"credit_buy,omitempty" xml:"credit_buy,omitempty"` // STariffFee string `json:"s_tariff_fee,omitempty" xml:"s_tariff_fee,omitempty"` // 时效服务身份,如tmallPromise代表天猫时效承诺 TimingPromise string `json:"timing_promise,omitempty" xml:"timing_promise,omitempty"` // 时效服务字段,服务字段,会有多个服务值,以英文半角逗号","切割 PromiseService string `json:"promise_service,omitempty" xml:"promise_service,omitempty"` // 预计送达时间 EsDate string `json:"es_date,omitempty" xml:"es_date,omitempty"` // 预计配送时间段 EsRange string `json:"es_range,omitempty" xml:"es_range,omitempty"` // 预约配送,用户预约时间 OsDate string `json:"os_date,omitempty" xml:"os_date,omitempty"` // 预约配送,用户预约时间段 OsRange string `json:"os_range,omitempty" xml:"os_range,omitempty"` // 物流截单时间,分钟 CutoffMinutes string `json:"cutoff_minutes,omitempty" xml:"cutoff_minutes,omitempty"` // 物流时效,相对时间,单位是天 EsTime string `json:"es_time,omitempty" xml:"es_time,omitempty"` // 最晚发货时间 DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // 最晚揽收时间 CollectTime string `json:"collect_time,omitempty" xml:"collect_time,omitempty"` // 最晚派送时间 DispatchTime string `json:"dispatch_time,omitempty" xml:"dispatch_time,omitempty"` // 最晚签收时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 信用购履约结束时间 PromiseEndTime string `json:"promise_end_time,omitempty" xml:"promise_end_time,omitempty"` // 经销商货品商家编码 OmniJxsOuterid string `json:"omni_jxs_outerid,omitempty" xml:"omni_jxs_outerid,omitempty"` // 使用淘金币的数量,以分为单位,和订单标propoint中间那一段一样 Propoint string `json:"propoint,omitempty" xml:"propoint,omitempty"` // 同城购订单source BrandLightShopSource string `json:"brand_light_shop_source,omitempty" xml:"brand_light_shop_source,omitempty"` // 同城购门店id BrandLightShopStoreId string `json:"brand_light_shop_store_id,omitempty" xml:"brand_light_shop_store_id,omitempty"` // 特殊的退款类型,比如直播返现、价保 SpecialRefundType string `json:"special_refund_type,omitempty" xml:"special_refund_type,omitempty"` // 透出的额外信息 ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"` // 服务供应链-服务订单类型,1:主子挂载;2:双主挂载;3:单独售卖 ServiceOrderType string `json:"service_order_type,omitempty" xml:"service_order_type,omitempty"` // 服务供应链-服务商外部编码 ServiceOuterId string `json:"service_outer_id,omitempty" xml:"service_outer_id,omitempty"` // 购物金核销子订单权益金分摊金额(单位为分) ExpandCardExpandPriceUsedSuborder string `json:"expand_card_expand_price_used_suborder,omitempty" xml:"expand_card_expand_price_used_suborder,omitempty"` // 购物金核销子订单本金分摊金额(单位为分) ExpandCardBasicPriceUsedSuborder string `json:"expand_card_basic_price_used_suborder,omitempty" xml:"expand_card_basic_price_used_suborder,omitempty"` // 商品数字ID NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 购买数量。取值范围:大于零的整数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 最近退款的id RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 交易商品对应的类目ID Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"` // 服务所属的交易订单号。如果服务为一年包换,则item_oid这笔订单享受改服务的保护 ItemOid int64 `json:"item_oid,omitempty" xml:"item_oid,omitempty"` // 服务数字id ServiceId int64 `json:"service_id,omitempty" xml:"service_id,omitempty"` // 套餐ID ItemMealId int64 `json:"item_meal_id,omitempty" xml:"item_meal_id,omitempty"` // 捆绑的子订单号,表示该子订单要和捆绑的子订单一起发货,用于卖家子订单捆绑发货 BindOid int64 `json:"bind_oid,omitempty" xml:"bind_oid,omitempty"` // 花呗分期期数 FqgNum int64 `json:"fqg_num,omitempty" xml:"fqg_num,omitempty"` // 买家是否已评价。可选值:true(已评价),false(未评价) BuyerRate bool `json:"buyer_rate,omitempty" xml:"buyer_rate,omitempty"` // 卖家是否已评价。可选值:true(已评价),false(未评价) SellerRate bool `json:"seller_rate,omitempty" xml:"seller_rate,omitempty"` // 是否超卖 IsOversold bool `json:"is_oversold,omitempty" xml:"is_oversold,omitempty"` // 是否是服务订单,是返回true,否返回false。 IsServiceOrder bool `json:"is_service_order,omitempty" xml:"is_service_order,omitempty"` // 表示订单交易是否含有对应的代销采购单。如果该订单中存在一个对应的代销采购单,那么该值为true;反之,该值为false。 IsDaixiao bool `json:"is_daixiao,omitempty" xml:"is_daixiao,omitempty"` // 子订单是否是www订单 IsWww bool `json:"is_www,omitempty" xml:"is_www,omitempty"` // 是否发货 IsShShip bool `json:"is_sh_ship,omitempty" xml:"is_sh_ship,omitempty"` // 是否商家承担手续费 IsFqgSFee bool `json:"is_fqg_s_fee,omitempty" xml:"is_fqg_s_fee,omitempty"` // 天猫国际订单是否包税 TaxFree bool `json:"tax_free,omitempty" xml:"tax_free,omitempty"` // 是否是考拉商品订单 IsKaola bool `json:"is_kaola,omitempty" xml:"is_kaola,omitempty"` // 子订单优惠贬值 IsDevalueFee bool `json:"is_devalue_fee,omitempty" xml:"is_devalue_fee,omitempty"` }
Order 结构体
type OrderAmount ¶
type OrderAmount struct { // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // SKU的值。如:机身颜色:黑色;手机套餐:官方标配 SkuPropertiesName string `json:"sku_properties_name,omitempty" xml:"sku_properties_name,omitempty"` // 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 子订单的系统优惠金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 卖家手工调整的子订单的优惠金额.格式为:1.01;单位:元;精确到小数点后两位. AdjustFee string `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"` // 子订单的系统优惠的名称,对应于discount_fee的名称 PromotionName string `json:"promotion_name,omitempty" xml:"promotion_name,omitempty"` // 子订单实付金额。精确到2位小数,单位:元。如:200.07,表示:200元7分。计算公式如下:payment = price * num + adjust_fee - discount_fee + post_fee(邮费,单笔子订单时子订单实付金额包含邮费,多笔子订单时不包含邮费);对于退款成功的子订单,由于主订单的优惠分摊金额,会造成该字段可能不为0.00元。建议使用退款前的实付金额减去退款单中的实际退款金额计算。 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 分摊之后的实付金额 DivideOrderFee string `json:"divide_order_fee,omitempty" xml:"divide_order_fee,omitempty"` // 优惠分摊 PartMjzDiscount string `json:"part_mjz_discount,omitempty" xml:"part_mjz_discount,omitempty"` // 子交易订单编号 Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 子交易订单中购买商品的数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 子订单对应的商品数字id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 子订单对应的商品的sku_id SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
OrderAmount 结构体
type OrderDeliverer ¶
type OrderDeliverer struct { // 配送人员编码 DelivererCode string `json:"deliverer_code,omitempty" xml:"deliverer_code,omitempty"` // 配送人员电话 DelivererPhone string `json:"deliverer_phone,omitempty" xml:"deliverer_phone,omitempty"` // 配送人员姓名 DelivererName string `json:"deliverer_name,omitempty" xml:"deliverer_name,omitempty"` // 拣货结束时间 PickupEndTime string `json:"pickup_end_time,omitempty" xml:"pickup_end_time,omitempty"` // 拣货开始时间 PickupStartTime string `json:"pickup_start_time,omitempty" xml:"pickup_start_time,omitempty"` // 批次结束时间 BatchEndTime string `json:"batch_end_time,omitempty" xml:"batch_end_time,omitempty"` // 批次开始时间 BatchStartTime string `json:"batch_start_time,omitempty" xml:"batch_start_time,omitempty"` // 签收时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 配送结束时间 DispatchEndTime string `json:"dispatch_end_time,omitempty" xml:"dispatch_end_time,omitempty"` // 配送开始时间 DispatchStartTime string `json:"dispatch_start_time,omitempty" xml:"dispatch_start_time,omitempty"` // 打包结束时间 PackageEndTime string `json:"package_end_time,omitempty" xml:"package_end_time,omitempty"` // 打包开始时间 PackageStartTime string `json:"package_start_time,omitempty" xml:"package_start_time,omitempty"` // 签收备注 SignMemo string `json:"sign_memo,omitempty" xml:"sign_memo,omitempty"` // 收货开始时间 DeliveryStartTime string `json:"delivery_start_time,omitempty" xml:"delivery_start_time,omitempty"` // 收货人 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 收货结束时间 DeliveryEndTime string `json:"delivery_end_time,omitempty" xml:"delivery_end_time,omitempty"` // 配送坐标 DeliveryGeo string `json:"delivery_geo,omitempty" xml:"delivery_geo,omitempty"` // 配送地址 DeliveryAddress string `json:"delivery_address,omitempty" xml:"delivery_address,omitempty"` // 收货人电话 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 运费 DeliveryFee int64 `json:"delivery_fee,omitempty" xml:"delivery_fee,omitempty"` }
OrderDeliverer 结构体
type OrderDelivery ¶
type OrderDelivery struct { // 配送开始时间 DeliveryStartTime string `json:"delivery_start_time,omitempty" xml:"delivery_start_time,omitempty"` // 收货人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 配送结束时间 DeliveryEndTime string `json:"delivery_end_time,omitempty" xml:"delivery_end_time,omitempty"` // 配送坐标 DeliveryGeo string `json:"delivery_geo,omitempty" xml:"delivery_geo,omitempty"` // 配送地址 DeliveryAddress string `json:"delivery_address,omitempty" xml:"delivery_address,omitempty"` // 收货人电话 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 配送员编码 DelivererCode string `json:"deliverer_code,omitempty" xml:"deliverer_code,omitempty"` // 配送员电话 DelivererPhone string `json:"deliverer_phone,omitempty" xml:"deliverer_phone,omitempty"` // 配送员姓名 DelivererName string `json:"deliverer_name,omitempty" xml:"deliverer_name,omitempty"` // 配送费用金额 DeliveryFee int64 `json:"delivery_fee,omitempty" xml:"delivery_fee,omitempty"` }
OrderDelivery 结构体
type OrderDiscountBillBo ¶
type OrderDiscountBillBo struct { // 活动名称 ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"` // 主订单号 MainOrderId string `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 商家编码 MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"` // 外部订单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 商品编码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 商品名称 SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"` // 经营店id StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 子单号 SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 业务时间 BizTime string `json:"biz_time,omitempty" xml:"biz_time,omitempty"` // 活动ID ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 活动类型 1:活动 2:券 ActivityType int64 `json:"activity_type,omitempty" xml:"activity_type,omitempty"` // 购买数量 BuyQuantity int64 `json:"buy_quantity,omitempty" xml:"buy_quantity,omitempty"` // 优惠金额 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 优惠件数 DiscountQuantity int64 `json:"discount_quantity,omitempty" xml:"discount_quantity,omitempty"` // 补差类型 DiscountType int64 `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 主键id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 商家优惠补差金额 MerchantDiscountFee int64 `json:"merchant_discount_fee,omitempty" xml:"merchant_discount_fee,omitempty"` // 交易状态 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 淘鲜达优惠金额 TxdDiscountFee int64 `json:"txd_discount_fee,omitempty" xml:"txd_discount_fee,omitempty"` // 订单渠道 OrderChannel int64 `json:"order_channel,omitempty" xml:"order_channel,omitempty"` }
OrderDiscountBillBo 结构体
type OrderDiscountBillQueryRequest ¶
type OrderDiscountBillQueryRequest struct { // 查询结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 查询开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 经营店id,store_id和out_shop_code不能同时为空 StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"` // 外部门店编码 OutShopCode string `json:"out_shop_code,omitempty" xml:"out_shop_code,omitempty"` // 传入上一次查询结果的next_id,第一次查询时传0 NextId int64 `json:"next_id,omitempty" xml:"next_id,omitempty"` // 每页数量 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 订单渠道 1代表"轻POS",2代表"淘鲜达",默认为 1 OrderChannel int64 `json:"order_channel,omitempty" xml:"order_channel,omitempty"` }
OrderDiscountBillQueryRequest 结构体
type OrderDiscountBillQueryResult ¶
type OrderDiscountBillQueryResult struct { // 账单列表 DiscountBills []OrderDiscountBillBo `json:"discount_bills,omitempty" xml:"discount_bills>order_discount_bill_bo,omitempty"` // 结果码 ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"` // 结果文案 ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"` // 下一页查询的入参,当为-1时表示没有更多数据 NextId int64 `json:"next_id,omitempty" xml:"next_id,omitempty"` // 总数量,只在查询第一页时返回 TotalNumber int64 `json:"total_number,omitempty" xml:"total_number,omitempty"` // 业务请求成功与否 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
OrderDiscountBillQueryResult 结构体
type OrderInfoDto ¶
type OrderInfoDto struct { // 商品摘要 ItemDigests []ItemDigestDto `json:"item_digests,omitempty" xml:"item_digests>item_digest_dto,omitempty"` // 订单状态描述 OrderStatusDesc string `json:"order_status_desc,omitempty" xml:"order_status_desc,omitempty"` // 店铺名称 ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // 店铺url ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"` // 订单标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 订单总数 TotalCount string `json:"total_count,omitempty" xml:"total_count,omitempty"` // 订单总数说明 TotalCountDesc string `json:"total_count_desc,omitempty" xml:"total_count_desc,omitempty"` // 支付金额 PayAmount string `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"` // 订单详情url OrderDetailUrl string `json:"order_detail_url,omitempty" xml:"order_detail_url,omitempty"` // 支付金额描述 PayInfo string `json:"pay_info,omitempty" xml:"pay_info,omitempty"` }
OrderInfoDto 结构体
type OrderInfoResultDto ¶
type OrderInfoResultDto struct { // 订单信息list OrderInfoList []OrderInfoDto `json:"order_info_list,omitempty" xml:"order_info_list>order_info_dto,omitempty"` // 当前页 CurPageNo int64 `json:"cur_page_no,omitempty" xml:"cur_page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否下一页 HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"` }
OrderInfoResultDto 结构体
type OrderObject ¶
type OrderObject struct { // 子订单 SubOrders []Suborders `json:"sub_orders,omitempty" xml:"sub_orders>suborders,omitempty"` // 用户昵称 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 订单状态 PAID_DONE 已付款 ACCEPT_ORDER 已接单 PICK_ORDER 已拣货 SHIPPED 已发货 TRADE_SUCCESS 交易成功 TRADE_CLOSE 交易关闭 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 用户备注 UserMem string `json:"user_mem,omitempty" xml:"user_mem,omitempty"` // 订单履约状态 ACCEPTED 接单 REJECTED 拒单 CANCELED 取消订单 SHIPPING 揽收(配送中) REFUSED 用户拒收 SHIPPED TIMEOUTSHIPPED 超时签收 RESHIPPED 二次妥投 OUTOFSTOCK 缺货出 FOODPROCESSDONE 加工完成 PACKAGED 打包完成 REFUNDED 逆向终态(已取货入站&退款完成) OrderFulfillStatus string `json:"order_fulfill_status,omitempty" xml:"order_fulfill_status,omitempty"` // 门店标识 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 买家标识 UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 业务订单标识 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 商家编码 MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"` // 业务订单标识 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 优惠金额 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 订单原金额 OriginFee int64 `json:"origin_fee,omitempty" xml:"origin_fee,omitempty"` // 配送人员信息 Deliverer *OrderDeliverer `json:"deliverer,omitempty" xml:"deliverer,omitempty"` // 实际支付金额 PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` // 收货人信息 Delivery *OrderDelivery `json:"delivery,omitempty" xml:"delivery,omitempty"` }
OrderObject 结构体
type OrderQuery ¶
type OrderQuery struct { // 查询交易创建时间结束。格式:yyyy-MM-dd HH:mm:ss StartCreated string `json:"start_created,omitempty" xml:"start_created,omitempty"` // 查询三个月内交易创建时间开始。格式:yyyy-MM-dd HH:mm:ss EndCreated string `json:"end_created,omitempty" xml:"end_created,omitempty"` // 收件人的姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 收件人的手机号 ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"` // 收件人电话号码 ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"` }
OrderQuery 结构体
type OrderRefundActionResponse ¶
type OrderRefundActionResponse struct { // 该订单支持的退款退货操作的集合 SupportRefundActions []Supportrefundactions `json:"support_refund_actions,omitempty" xml:"support_refund_actions>supportrefundactions,omitempty"` // 操作用户ID OperationUserId string `json:"operation_user_id,omitempty" xml:"operation_user_id,omitempty"` // 子订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` }
OrderRefundActionResponse 结构体
type OrderRefundOperationJudgementReq ¶
type OrderRefundOperationJudgementReq struct { // 退款退货操作的Code,由系统定义,目前支持的方式有:refundFeeOnly(仅退款),refundFeeWithGoods(退货退款),swithGoods(换货) RefundOrderActionType string `json:"refund_order_action_type,omitempty" xml:"refund_order_action_type,omitempty"` // 订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` }
OrderRefundOperationJudgementReq 结构体
type OrderRefundOperationReq ¶
type OrderRefundOperationReq struct { // 退款退货操作的Code,由系统定义,目前支持的方式有:refundFeeOnly(仅退款),refundFeeWithGoods(退货退款),swithGoods(换货) RefundOrderActionType string `json:"refund_order_action_type,omitempty" xml:"refund_order_action_type,omitempty"` // 订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` }
OrderRefundOperationReq 结构体
type OrderRefundOperationResponse ¶
type OrderRefundOperationResponse struct { // 不能对某一个订单进行操作时的原因描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 不能对某一个订单进行操作时的错误Code OperationResultCode string `json:"operation_result_code,omitempty" xml:"operation_result_code,omitempty"` // 退款退货操作的Code,由系统定义,目前支持的方式有:refundFeeOnly(仅退款),refundFeeWithGoods(退货退款),swithGoods(换货) OrderRefundActionType string `json:"order_refund_action_type,omitempty" xml:"order_refund_action_type,omitempty"` // 操作的用户ID OperationUserId string `json:"operation_user_id,omitempty" xml:"operation_user_id,omitempty"` // 订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 是否能对某一个订单进行操作 CanOperate bool `json:"can_operate,omitempty" xml:"can_operate,omitempty"` }
OrderRefundOperationResponse 结构体
type OrderResult ¶
type OrderResult struct { // 错误编码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误消息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 取消的订单 Result *OrderObject `json:"result,omitempty" xml:"result,omitempty"` // 创建的订单 Trade *TradeOrder `json:"trade,omitempty" xml:"trade,omitempty"` // 是否取消成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
OrderResult 结构体
type PromotionDetail ¶
type PromotionDetail struct { // 优惠id,(由营销工具id、优惠活动id和优惠详情id组成,结构为:营销工具id-优惠活动id_优惠详情id,如mjs-123024_211143) PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"` // 优惠活动的描述 PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"` // 满就送礼物的礼物数量 GiftItemNum string `json:"gift_item_num,omitempty" xml:"gift_item_num,omitempty"` // 赠品的宝贝id GiftItemId string `json:"gift_item_id,omitempty" xml:"gift_item_id,omitempty"` // 满就送商品时,所送商品的名称 GiftItemName string `json:"gift_item_name,omitempty" xml:"gift_item_name,omitempty"` // 优惠金额(免运费、限时打折时为空),单位:元 DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 优惠信息的名称 PromotionName string `json:"promotion_name,omitempty" xml:"promotion_name,omitempty"` // 交易的主订单或子订单号 Id string `json:"id,omitempty" xml:"id,omitempty"` }
PromotionDetail 结构体
type ReceiverLogistics ¶
type ReceiverLogistics struct { // 手机号码 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 地区名 AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"` // 城市名 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 收货人 ReceiverFullName string `json:"receiver_full_name,omitempty" xml:"receiver_full_name,omitempty"` // 省份名 ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"` // (忽略) WholeAddress string `json:"whole_address,omitempty" xml:"whole_address,omitempty"` // 收货地址 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 地区码 AreaCode int64 `json:"area_code,omitempty" xml:"area_code,omitempty"` // divisionId DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"` // 省份码 ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"` // 城市码 CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"` }
ReceiverLogistics 结构体
type Refund ¶
type Refund struct { // 退款单号 RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 交易总金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 退款申请时间。格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 更新时间。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 退款对应的订单交易状态。可选值TRADE_NO_CREATE_PAY(没有创建支付宝交易) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用) TRADE_FINISHED(交易成功) TRADE_CLOSED(交易关闭) TRADE_CLOSED_BY_TAOBAO(交易被淘宝关闭) ALL_WAIT_PAY(包含:WAIT_BUYER_PAY、TRADE_NO_CREATE_PAY) ALL_CLOSED(包含:TRADE_CLOSED、TRADE_CLOSED_BY_TAOBAO) 取自"http://open.taobao.com/dev/index.php/%E4%BA%A4%E6%98%93%E7%8A%B6%E6%80%81" OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 退款状态。可选值WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功) Status string `json:"status,omitempty" xml:"status,omitempty"` // 货物状态。可选值BUYER_NOT_RECEIVED (买家未收到货) BUYER_RECEIVED (买家已收到货) BUYER_RETURNED_GOODS (买家已退货) GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"` // 退还金额(退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 支付给卖家的金额(交易总金额-退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 退款原因 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 退款说明 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 退货运单号 Sid string `json:"sid,omitempty" xml:"sid,omitempty"` // 退款阶段,可选值:onsale/aftersale RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"` // 商品SKU信息 Sku string `json:"sku,omitempty" xml:"sku,omitempty"` // 退款扩展属性 Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"` // 商品外部商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 退款约束,可选值:cannot_refuse(不允许操作),refund_onweb(需要到网页版操作) OperationContraint string `json:"operation_contraint,omitempty" xml:"operation_contraint,omitempty"` // 淘宝交易单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 子订单号。如果是单笔交易oid会等于tid Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 商品购买数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 退款版本号(时间戳) RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"` // 买家是否需要退货。可选值:true(是),false(否) HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"` }
Refund 结构体
type RefundGoodsCreateRequest ¶
type RefundGoodsCreateRequest struct { // 退货商品列表 RefundGoodsSubOrders []RefundGoodsSubOrder `json:"refund_goods_sub_orders,omitempty" xml:"refund_goods_sub_orders>refund_goods_sub_order,omitempty"` // 子订单号,默认传商品列表的第一个子订单号 SubBizOrderId string `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"` // 门店标识 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 取货类型("FETCH_HOME":上门;"ON_SHOP":到店;"NONE":无需取) RefundFetchType string `json:"refund_fetch_type,omitempty" xml:"refund_fetch_type,omitempty"` // 主订单号 MainBizOrderId string `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"` // 买家标识 BuyerId string `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"` // 买家姓名 BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"` // 买家联系方式 BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"` // 买家地址 BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"` // 操作人 Operator string `json:"operator,omitempty" xml:"operator,omitempty"` // 小二备注 OperatorMemo string `json:"operator_memo,omitempty" xml:"operator_memo,omitempty"` // 渠道来源,欧尚外卖默认是19 InitFrom int64 `json:"init_from,omitempty" xml:"init_from,omitempty"` }
RefundGoodsCreateRequest 结构体
type RefundGoodsCreateResult ¶
type RefundGoodsCreateResult struct { // 退货单id RefundGoodsId string `json:"refund_goods_id,omitempty" xml:"refund_goods_id,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否创建成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
RefundGoodsCreateResult 结构体
type RefundGoodsQueryRequest ¶
type RefundGoodsQueryRequest struct { // 退货单id RefundGoodsId string `json:"refund_goods_id,omitempty" xml:"refund_goods_id,omitempty"` // 门店id ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` }
RefundGoodsQueryRequest 结构体
type RefundGoodsQueryResult ¶
type RefundGoodsQueryResult struct { // 退货子订单详情 RefundGoodsSubOrderDetailList []RefundGoodsSubOrderDetail `` /* 132-byte string literal not displayed */ // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 取货类型("FETCH_HOME":上门;"ON_SHOP":到店;"NONE":无需取) RefundFetchType string `json:"refund_fetch_type,omitempty" xml:"refund_fetch_type,omitempty"` // 买家id BuyerId string `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"` // 买家姓名 BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"` // 买家电话 BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"` // 买家地址 BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"` // 发起人 InitOperator string `json:"init_operator,omitempty" xml:"init_operator,omitempty"` // 发起退货备注 InitMemo string `json:"init_memo,omitempty" xml:"init_memo,omitempty"` // 发起退货来源 InitFrom int64 `json:"init_from,omitempty" xml:"init_from,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
RefundGoodsQueryResult 结构体
type RefundGoodsSubOrder ¶
type RefundGoodsSubOrder struct { // 退货商品子订单号 SubBizOrderId string `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"` // 退货件数 GoodsAmount string `json:"goods_amount,omitempty" xml:"goods_amount,omitempty"` // 取货件数 FulfillAmount string `json:"fulfill_amount,omitempty" xml:"fulfill_amount,omitempty"` // 商品skucode SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 期待取货结束时间 FulfillEndTime string `json:"fulfill_end_time,omitempty" xml:"fulfill_end_time,omitempty"` // 期待取货开始时间 FulfillStartTime string `json:"fulfill_start_time,omitempty" xml:"fulfill_start_time,omitempty"` // 退款单id RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 退款金额 RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 是否称重 WeightItem bool `json:"weight_item,omitempty" xml:"weight_item,omitempty"` // 是否赠品 Gift bool `json:"gift,omitempty" xml:"gift,omitempty"` // 是否离开货架 LeftWarehouse bool `json:"left_warehouse,omitempty" xml:"left_warehouse,omitempty"` }
RefundGoodsSubOrder 结构体
type RefundGoodsSubOrderDetail ¶
type RefundGoodsSubOrderDetail struct { // 子订单号 SubBizOrderId string `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"` // 履约单号 FulfillId string `json:"fulfill_id,omitempty" xml:"fulfill_id,omitempty"` // 退货单号 RefundGoodsId string `json:"refund_goods_id,omitempty" xml:"refund_goods_id,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 更新时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 期望取货开始时间 ExpectFulfilStartTime string `json:"expect_fulfil_start_time,omitempty" xml:"expect_fulfil_start_time,omitempty"` // 期望取货结束时间 ExpectFulfilEndTime string `json:"expect_fulfil_end_time,omitempty" xml:"expect_fulfil_end_time,omitempty"` // 期望退货件数 ExpectRefundAmount string `json:"expect_refund_amount,omitempty" xml:"expect_refund_amount,omitempty"` // 实际退货件数 ActualRefundAmount string `json:"actual_refund_amount,omitempty" xml:"actual_refund_amount,omitempty"` // 履约取货件数 FulfilRefundAmount string `json:"fulfil_refund_amount,omitempty" xml:"fulfil_refund_amount,omitempty"` // 同意退货件数 AgreeRefundAmount string `json:"agree_refund_amount,omitempty" xml:"agree_refund_amount,omitempty"` // 退货商品skuId SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 商品名称 AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"` // 商品主计价单位 ItemIu string `json:"item_iu,omitempty" xml:"item_iu,omitempty"` // 商品销售单位 ItemBu string `json:"item_bu,omitempty" xml:"item_bu,omitempty"` // 退货类型(1:"闪退";2: "标准") RefundSpeedType int64 `json:"refund_speed_type,omitempty" xml:"refund_speed_type,omitempty"` // 是否称重商品 1:是,0:否 WeightItem int64 `json:"weight_item,omitempty" xml:"weight_item,omitempty"` // Create(10, "已发起退货"),SellerAgree(20, "卖家已同意"),OperatorAccept(30, "配送员已接单"),OperatorReceive(40, "配送员已取货"),Finish(50, "退货结束"); RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // Init(0,"初始状态"),NoTakeGoods(1, "无需取货"),FailTakeGoods(2, "取货失败"),Timeout(3, "超时关闭"),EnterDock(4, "已入站"); FinishType int64 `json:"finish_type,omitempty" xml:"finish_type,omitempty"` }
RefundGoodsSubOrderDetail 结构体
type RefundReq ¶
type RefundReq struct { // 代理商订单号 AgentOrderId string `json:"agent_order_id,omitempty" xml:"agent_order_id,omitempty"` // 退票失败码 FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"` // 退票失败原因 FailReason string `json:"fail_reason,omitempty" xml:"fail_reason,omitempty"` // 代理商id AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"` // 退票申请单号 ApplyId int64 `json:"apply_id,omitempty" xml:"apply_id,omitempty"` // 手续费(单位分) ChargeFee int64 `json:"charge_fee,omitempty" xml:"charge_fee,omitempty"` // 应退额(单位分) RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 平台订单号 TpOrderId int64 `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // 退票成功标志 Status bool `json:"status,omitempty" xml:"status,omitempty"` }
RefundReq 结构体
type RefundSuccessSubOrderRequest ¶
type RefundSuccessSubOrderRequest struct { // 子订单id SubBizOrderId string `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"` // 退货单id RefundGoodsId string `json:"refund_goods_id,omitempty" xml:"refund_goods_id,omitempty"` // 履约单id FulfillId string `json:"fulfill_id,omitempty" xml:"fulfill_id,omitempty"` // 退款单id RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 商品编码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 实际退货数量 ActualRefundQuantity string `json:"actual_refund_quantity,omitempty" xml:"actual_refund_quantity,omitempty"` // 实际退款金额 RefundAmount string `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"` // 期望取货销售数量 ExpectFetchSaleQuantity string `json:"expect_fetch_sale_quantity,omitempty" xml:"expect_fetch_sale_quantity,omitempty"` // 退货状态(1:退货退款;0:仅退款) RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` }
RefundSuccessSubOrderRequest 结构体
type ServiceOrder ¶
type ServiceOrder struct { // 服务详情的URL地址 ServiceDetailUrl string `json:"service_detail_url,omitempty" xml:"service_detail_url,omitempty"` // 服务价格,精确到小数点后两位:单位:元 Price string `json:"price,omitempty" xml:"price,omitempty"` // 子订单实付金额。精确到2位小数,单位:元。如:200.07,表示:200元7分。 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 服务子订单总费用 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 卖家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 最近退款的id RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 服务图片地址 PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"` // 支持家装类物流的类型 TmserSpuCode string `json:"tmser_spu_code,omitempty" xml:"tmser_spu_code,omitempty"` // 虚拟服务子订单订单号(String类型) OidStr string `json:"oid_str,omitempty" xml:"oid_str,omitempty"` // appleCareEmail AppleCareEmail string `json:"apple_care_email,omitempty" xml:"apple_care_email,omitempty"` // appleCareMPN AppleCareMpn string `json:"apple_care_mpn,omitempty" xml:"apple_care_mpn,omitempty"` // 服务订单与实物订单关联关系 ExtServiceBizId string `json:"ext_service_biz_id,omitempty" xml:"ext_service_biz_id,omitempty"` // 服务供应链-服务订单类型,1:主子挂载;2:双主挂载;3:单独售卖 ServiceOrderType string `json:"service_order_type,omitempty" xml:"service_order_type,omitempty"` // 服务供应链-服务商外部编码标 ServiceOuterId string `json:"service_outer_id,omitempty" xml:"service_outer_id,omitempty"` // 虚拟服务子订单订单号 Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 服务所属的交易订单号。如果服务为一年包换,则item_oid这笔订单享受改服务的保护 ItemOid int64 `json:"item_oid,omitempty" xml:"item_oid,omitempty"` // 服务数字id ServiceId int64 `json:"service_id,omitempty" xml:"service_id,omitempty"` // 购买数量,取值范围为大于0的整数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` }
ServiceOrder 结构体
type SmAddrModel ¶
type SmAddrModel struct { // 详细地址,如果地区Code没有填写,API会根据address反向解析地区Code Address string `json:"address,omitempty" xml:"address,omitempty"` // 地区Code AreaCode string `json:"area_code,omitempty" xml:"area_code,omitempty"` // 地区名 AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"` // 城市Code CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"` // 城市名 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 收货人姓名 FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"` // 收货人手机号 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 收货人电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 邮编 PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"` // 省份名 PrivinceName string `json:"privince_name,omitempty" xml:"privince_name,omitempty"` // 省份Code ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"` }
SmAddrModel 结构体
type StatementBo ¶
type StatementBo struct { // 对账单号 BillNo string `json:"bill_no,omitempty" xml:"bill_no,omitempty"` // 渠道编码 WX_APPLET("10001", "微信小程序"), WX_OFFICIAL_SERVER("10002", "微信服务号/微信商城"), ALIPAY_APPLET("20001", "支付宝小程序"), OFFLINE_MEMBER_CARD("30001", "线下会员卡"), MERCHANT_APP("40001", "商家自有app"), TXD_APP("50001", "淘鲜达app"), TXD_SELF_POS("60001", "淘鲜达自助pos"), TXD_ARTIFACT_POS("60001", "淘鲜达人工pos"); ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"` // 订单创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 外部会员Id OpenMemberId string `json:"open_member_id,omitempty" xml:"open_member_id,omitempty"` // 渠道订单Id OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 订单金额 Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` // 订单类型 NORMAL(0, "正向"), REFUND(1, "逆向"), REVOKED(2, "撤销"); OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 支付方式 ALIPAY(1, "支付宝"), WECHAT(2, "微信"), CASH(3, "现金"), VALUE_CARD(4, "储值卡"), OTHER(99, "其他") PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` }
StatementBo 结构体
type Suborders ¶
type Suborders struct { // 销售单位(非标品) SaleUnit string `json:"sale_unit,omitempty" xml:"sale_unit,omitempty"` // 订单履约状态 OrderFulfillStatus string `json:"order_fulfill_status,omitempty" xml:"order_fulfill_status,omitempty"` // sku名称 SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"` // 业务订单标识 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 订单状态 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 商家编码 MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"` // sku编码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 加工方式 HandlingType string `json:"handling_type,omitempty" xml:"handling_type,omitempty"` // 外部关联订单标识 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 取消时的作业节点:WAREHOUSE和DELIVERY_DOCK CancelNodeType string `json:"cancel_node_type,omitempty" xml:"cancel_node_type,omitempty"` // 取消结果: SUCCESS-已拦截,FAILURE-未拦截,SYSTEM_ERROR-系统异常,PARAM_ERROR-参数错误,BUSINESS_ERROR-业务异常 CancelResultCode string `json:"cancel_result_code,omitempty" xml:"cancel_result_code,omitempty"` // 销售实物库存数量 SaleStockQuantity string `json:"sale_stock_quantity,omitempty" xml:"sale_stock_quantity,omitempty"` // 实物库存单位 StockUnit string `json:"stock_unit,omitempty" xml:"stock_unit,omitempty"` // 门店编码 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 拣货实物库存数量 PickSaleStockQuantity string `json:"pick_sale_stock_quantity,omitempty" xml:"pick_sale_stock_quantity,omitempty"` // 销售数量 SaleQuantity int64 `json:"sale_quantity,omitempty" xml:"sale_quantity,omitempty"` // 销售单价 SalePrice int64 `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 订单金额 OriginFee int64 `json:"origin_fee,omitempty" xml:"origin_fee,omitempty"` // 子商品优惠金额(可以为0) DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 子商品实际支付金额(=商品原总-优惠金额价) PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` // 拣货数量 PickSaleQuantity int64 `json:"pick_sale_quantity,omitempty" xml:"pick_sale_quantity,omitempty"` // 拣货金额 PickStockFee int64 `json:"pick_stock_fee,omitempty" xml:"pick_stock_fee,omitempty"` // 是否加工 Handling bool `json:"handling,omitempty" xml:"handling,omitempty"` }
Suborders 结构体
type SupplierOrder ¶
type SupplierOrder struct { // 外部门店ID OuterStoreId string `json:"outer_store_id,omitempty" xml:"outer_store_id,omitempty"` // 买家账号 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 商品名称 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 退款状态,有两种状态,已退款和未退款 RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 交易完成时间 TradeEndTime string `json:"trade_end_time,omitempty" xml:"trade_end_time,omitempty"` // 买家ID BuyerId string `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"` // 交易创建时间 TradeCreateTime string `json:"trade_create_time,omitempty" xml:"trade_create_time,omitempty"` // 子订单ID SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 外部商品ID,对RT来说就是货号 OuterItemId string `json:"outer_item_id,omitempty" xml:"outer_item_id,omitempty"` // 交易状态 TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"` // 供货商身份标识 Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"` // 退款完成时间 RefundEndTime string `json:"refund_end_time,omitempty" xml:"refund_end_time,omitempty"` // 驿站名称 StationName string `json:"station_name,omitempty" xml:"station_name,omitempty"` // 门店名称 StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"` // 主订单ID MainOrderId string `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` // 营销活动开始时间 ActivityStartTime string `json:"activity_start_time,omitempty" xml:"activity_start_time,omitempty"` // 营销活动扩展属性,可能包含到货时间 ActivityAttributes string `json:"activity_attributes,omitempty" xml:"activity_attributes,omitempty"` // 营销活动类型 ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"` // 营销活动名称 ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"` // 营销活动结束时间 ActivityEndTime string `json:"activity_end_time,omitempty" xml:"activity_end_time,omitempty"` // 更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 退款金额 RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 商品总价,单位为分 ItemTotalPrice int64 `json:"item_total_price,omitempty" xml:"item_total_price,omitempty"` // 购买数量 BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"` // 商品价格,单位为分 ItemPrice int64 `json:"item_price,omitempty" xml:"item_price,omitempty"` // 驿站ID StationId int64 `json:"station_id,omitempty" xml:"station_id,omitempty"` // 营销活动id ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 实付金额,单位为分 ActualTotalFee int64 `json:"actual_total_fee,omitempty" xml:"actual_total_fee,omitempty"` }
SupplierOrder 结构体
type SupplierOrderQueryDto ¶
type SupplierOrderQueryDto struct { // 外部门店ID OuterStoreId string `json:"outer_store_id,omitempty" xml:"outer_store_id,omitempty"` // 查询交易创建时间在2020-06-03的订单,只接受yyyy-MM-dd格式的字符串 TradeCreateDate string `json:"trade_create_date,omitempty" xml:"trade_create_date,omitempty"` // 供货商身份标识,比如大润发就传DRF Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"` // 分页游标 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // 分页参数,页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
SupplierOrderQueryDto 结构体
type Supportrefundactions ¶
type Supportrefundactions struct { // 退款退货操作的描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 退款退货操作按钮的建议描述,仅仅是一个建议,ISV可以自己定义 DefaultLabel string `json:"default_label,omitempty" xml:"default_label,omitempty"` // 退款退货操作的Code,由系统定义,目前支持的方式有:refundFeeOnly(仅退款),refundFeeWithGoods(退货退款),swithGoods(换货) Key string `json:"key,omitempty" xml:"key,omitempty"` // 一个纠纷单可能已经在处理流程中,比如退款退货操作,买家已经提交申请,卖家正在审核中,则该字段是true InProcess string `json:"in_process,omitempty" xml:"in_process,omitempty"` }
Supportrefundactions 结构体
type TaobaoKoubeiTribeOpenOrderPageAPIRequest ¶
type TaobaoKoubeiTribeOpenOrderPageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoKoubeiTribeOpenOrderPageAPIRequest 口碑综合体订单列表信息查询 API请求 taobao.koubei.tribe.open.order.page
查询口碑商圈用户的订单列表信息
func NewTaobaoKoubeiTribeOpenOrderPageRequest ¶
func NewTaobaoKoubeiTribeOpenOrderPageRequest() *TaobaoKoubeiTribeOpenOrderPageAPIRequest
NewTaobaoKoubeiTribeOpenOrderPageRequest 初始化TaobaoKoubeiTribeOpenOrderPageAPIRequest对象
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetApiMethodName ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetApiParams ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetDataSetId ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetDataSetId() string
GetDataSetId DataSetId Getter
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetOpenId ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetOpenId() string
GetOpenId OpenId Getter
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetOrderStatus ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetOrderStatus() string
GetOrderStatus OrderStatus Getter
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetPageNo ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetPageSize ¶
func (r TaobaoKoubeiTribeOpenOrderPageAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetDataSetId ¶
func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetDataSetId(_dataSetId string) error
SetDataSetId is DataSetId Setter 数据集Id
func (*TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetOpenId ¶
func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetOpenId(_openId string) error
SetOpenId is OpenId Setter 用户openId
func (*TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetOrderStatus ¶
func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetOrderStatus(_orderStatus string) error
SetOrderStatus is OrderStatus Setter 订单状态;ALL(全部),WAIT_PAY(代付款),WAIT_CONSUME(代消费)
func (*TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetPageNo ¶
func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 起始页
func (*TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetPageSize ¶
func (r *TaobaoKoubeiTribeOpenOrderPageAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
type TaobaoKoubeiTribeOpenOrderPageAPIResponse ¶
type TaobaoKoubeiTribeOpenOrderPageAPIResponse struct { model.CommonResponse TaobaoKoubeiTribeOpenOrderPageAPIResponseModel }
TaobaoKoubeiTribeOpenOrderPageAPIResponse 口碑综合体订单列表信息查询 API返回值 taobao.koubei.tribe.open.order.page
查询口碑商圈用户的订单列表信息
type TaobaoKoubeiTribeOpenOrderPageAPIResponseModel ¶
type TaobaoKoubeiTribeOpenOrderPageAPIResponseModel struct { XMLName xml.Name `xml:"koubei_tribe_open_order_page_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoKoubeiTribeOpenOrderPageResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoKoubeiTribeOpenOrderPageAPIResponseModel is 口碑综合体订单列表信息查询 成功返回结果
type TaobaoKoubeiTribeOpenOrderPageResult ¶
type TaobaoKoubeiTribeOpenOrderPageResult struct { // 错误提示 Error string `json:"error,omitempty" xml:"error,omitempty"` // request唯一ID TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 订单信息结果 Data *OrderInfoResultDto `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoKoubeiTribeOpenOrderPageResult 结构体
type TaobaoLifeReservationItemOrderChangeAPIRequest ¶
type TaobaoLifeReservationItemOrderChangeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLifeReservationItemOrderChangeAPIRequest 生服购后预约单外部发起变更 API请求 taobao.life.reservation.item.order.change
生服购后预约单外部发起变更,例如改期、取消。目前体检场景,用户会直接联系ISV改期/取消,因此开放给ISV这块的能力
func NewTaobaoLifeReservationItemOrderChangeRequest ¶
func NewTaobaoLifeReservationItemOrderChangeRequest() *TaobaoLifeReservationItemOrderChangeAPIRequest
NewTaobaoLifeReservationItemOrderChangeRequest 初始化TaobaoLifeReservationItemOrderChangeAPIRequest对象
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetAction ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetAction() string
GetAction Action Getter
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetApiMethodName ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetApiParams ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetReserveEndTime ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetReserveEndTime() string
GetReserveEndTime ReserveEndTime Getter
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetReserveStartTime ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetReserveStartTime() string
GetReserveStartTime ReserveStartTime Getter
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetTicketId ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetTicketId() string
GetTicketId TicketId Getter
func (TaobaoLifeReservationItemOrderChangeAPIRequest) GetTradeNo ¶
func (r TaobaoLifeReservationItemOrderChangeAPIRequest) GetTradeNo() string
GetTradeNo TradeNo Getter
func (*TaobaoLifeReservationItemOrderChangeAPIRequest) SetAction ¶
func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetAction(_action string) error
SetAction is Action Setter 改期:MODIFY 取消:CANCEL
func (*TaobaoLifeReservationItemOrderChangeAPIRequest) SetReserveEndTime ¶
func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetReserveEndTime(_reserveEndTime string) error
SetReserveEndTime is ReserveEndTime Setter 改期必填,格式:yyyy-MM-dd HH:mm。时分固定23:59
func (*TaobaoLifeReservationItemOrderChangeAPIRequest) SetReserveStartTime ¶
func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetReserveStartTime(_reserveStartTime string) error
SetReserveStartTime is ReserveStartTime Setter 改期必填,格式:yyyy-MM-dd HH:mm。时分固定00:00
func (*TaobaoLifeReservationItemOrderChangeAPIRequest) SetTicketId ¶
func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetTicketId(_ticketId string) error
SetTicketId is TicketId Setter 凭证ID
func (*TaobaoLifeReservationItemOrderChangeAPIRequest) SetTradeNo ¶
func (r *TaobaoLifeReservationItemOrderChangeAPIRequest) SetTradeNo(_tradeNo string) error
SetTradeNo is TradeNo Setter 淘宝主单号
type TaobaoLifeReservationItemOrderChangeAPIResponse ¶
type TaobaoLifeReservationItemOrderChangeAPIResponse struct { model.CommonResponse TaobaoLifeReservationItemOrderChangeAPIResponseModel }
TaobaoLifeReservationItemOrderChangeAPIResponse 生服购后预约单外部发起变更 API返回值 taobao.life.reservation.item.order.change
生服购后预约单外部发起变更,例如改期、取消。目前体检场景,用户会直接联系ISV改期/取消,因此开放给ISV这块的能力
type TaobaoLifeReservationItemOrderChangeAPIResponseModel ¶
type TaobaoLifeReservationItemOrderChangeAPIResponseModel struct { XMLName xml.Name `xml:"life_reservation_item_order_change_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoLifeReservationItemOrderChangeResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLifeReservationItemOrderChangeAPIResponseModel is 生服购后预约单外部发起变更 成功返回结果
type TaobaoLifeReservationItemOrderChangeResult ¶
type TaobaoLifeReservationItemOrderChangeResult struct { // 内部trace 用于排查问题 TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 错误 Error *TribeError `json:"error,omitempty" xml:"error,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoLifeReservationItemOrderChangeResult 结构体
type TaobaoLifeReservationItemOrderConfirmAPIRequest ¶
type TaobaoLifeReservationItemOrderConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLifeReservationItemOrderConfirmAPIRequest 生服购后预约单外部确认 API请求 taobao.life.reservation.item.order.confirm
生服团购下单预约后,用户改期/取消,外调ISV。ISV人工确认后调接口同意或驳回
func NewTaobaoLifeReservationItemOrderConfirmRequest ¶
func NewTaobaoLifeReservationItemOrderConfirmRequest() *TaobaoLifeReservationItemOrderConfirmAPIRequest
NewTaobaoLifeReservationItemOrderConfirmRequest 初始化TaobaoLifeReservationItemOrderConfirmAPIRequest对象
func (TaobaoLifeReservationItemOrderConfirmAPIRequest) GetApiMethodName ¶
func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLifeReservationItemOrderConfirmAPIRequest) GetApiParams ¶
func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLifeReservationItemOrderConfirmAPIRequest) GetOptType ¶
func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetOptType() string
GetOptType OptType Getter
func (TaobaoLifeReservationItemOrderConfirmAPIRequest) GetTicketId ¶
func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetTicketId() string
GetTicketId TicketId Getter
func (TaobaoLifeReservationItemOrderConfirmAPIRequest) GetTradeNo ¶
func (r TaobaoLifeReservationItemOrderConfirmAPIRequest) GetTradeNo() string
GetTradeNo TradeNo Getter
func (*TaobaoLifeReservationItemOrderConfirmAPIRequest) SetOptType ¶
func (r *TaobaoLifeReservationItemOrderConfirmAPIRequest) SetOptType(_optType string) error
SetOptType is OptType Setter 审核类型,PASS-通过;REJECT-驳回
func (*TaobaoLifeReservationItemOrderConfirmAPIRequest) SetTicketId ¶
func (r *TaobaoLifeReservationItemOrderConfirmAPIRequest) SetTicketId(_ticketId string) error
SetTicketId is TicketId Setter 凭证ID
func (*TaobaoLifeReservationItemOrderConfirmAPIRequest) SetTradeNo ¶
func (r *TaobaoLifeReservationItemOrderConfirmAPIRequest) SetTradeNo(_tradeNo string) error
SetTradeNo is TradeNo Setter 淘宝主单号
type TaobaoLifeReservationItemOrderConfirmAPIResponse ¶
type TaobaoLifeReservationItemOrderConfirmAPIResponse struct { model.CommonResponse TaobaoLifeReservationItemOrderConfirmAPIResponseModel }
TaobaoLifeReservationItemOrderConfirmAPIResponse 生服购后预约单外部确认 API返回值 taobao.life.reservation.item.order.confirm
生服团购下单预约后,用户改期/取消,外调ISV。ISV人工确认后调接口同意或驳回
type TaobaoLifeReservationItemOrderConfirmAPIResponseModel ¶
type TaobaoLifeReservationItemOrderConfirmAPIResponseModel struct { XMLName xml.Name `xml:"life_reservation_item_order_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoLifeReservationItemOrderConfirmResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLifeReservationItemOrderConfirmAPIResponseModel is 生服购后预约单外部确认 成功返回结果
type TaobaoLifeReservationItemOrderConfirmResult ¶
type TaobaoLifeReservationItemOrderConfirmResult struct { // 内部trace 用于排查问题 TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 错误 Error *TribeError `json:"error,omitempty" xml:"error,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoLifeReservationItemOrderConfirmResult 结构体
type TaobaoLifeReservationTradeConsumeNoticeAPIRequest ¶
type TaobaoLifeReservationTradeConsumeNoticeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLifeReservationTradeConsumeNoticeAPIRequest 生服购后预约外部核销 API请求 taobao.life.reservation.trade.consume.notice
生服团购商品,购后预约。外部ISV进行核销
func NewTaobaoLifeReservationTradeConsumeNoticeRequest ¶
func NewTaobaoLifeReservationTradeConsumeNoticeRequest() *TaobaoLifeReservationTradeConsumeNoticeAPIRequest
NewTaobaoLifeReservationTradeConsumeNoticeRequest 初始化TaobaoLifeReservationTradeConsumeNoticeAPIRequest对象
func (TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetApiMethodName ¶
func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetApiParams ¶
func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetTicketId ¶
func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetTicketId() string
GetTicketId TicketId Getter
func (TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetTradeNo ¶
func (r TaobaoLifeReservationTradeConsumeNoticeAPIRequest) GetTradeNo() string
GetTradeNo TradeNo Getter
func (*TaobaoLifeReservationTradeConsumeNoticeAPIRequest) SetTicketId ¶
func (r *TaobaoLifeReservationTradeConsumeNoticeAPIRequest) SetTicketId(_ticketId string) error
SetTicketId is TicketId Setter 凭证ID
func (*TaobaoLifeReservationTradeConsumeNoticeAPIRequest) SetTradeNo ¶
func (r *TaobaoLifeReservationTradeConsumeNoticeAPIRequest) SetTradeNo(_tradeNo string) error
SetTradeNo is TradeNo Setter 淘宝主单号
type TaobaoLifeReservationTradeConsumeNoticeAPIResponse ¶
type TaobaoLifeReservationTradeConsumeNoticeAPIResponse struct { model.CommonResponse TaobaoLifeReservationTradeConsumeNoticeAPIResponseModel }
TaobaoLifeReservationTradeConsumeNoticeAPIResponse 生服购后预约外部核销 API返回值 taobao.life.reservation.trade.consume.notice
生服团购商品,购后预约。外部ISV进行核销
type TaobaoLifeReservationTradeConsumeNoticeAPIResponseModel ¶
type TaobaoLifeReservationTradeConsumeNoticeAPIResponseModel struct { XMLName xml.Name `xml:"life_reservation_trade_consume_notice_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoLifeReservationTradeConsumeNoticeResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLifeReservationTradeConsumeNoticeAPIResponseModel is 生服购后预约外部核销 成功返回结果
type TaobaoLifeReservationTradeConsumeNoticeResult ¶
type TaobaoLifeReservationTradeConsumeNoticeResult struct { // traceId TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 错误 Error *TribeError `json:"error,omitempty" xml:"error,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoLifeReservationTradeConsumeNoticeResult 结构体
type TaobaoOpenTradeGetAPIRequest ¶
TaobaoOpenTradeGetAPIRequest 获取单笔交易的部分信息(商家应用使用) API请求 taobao.open.trade.get
获取单笔交易的部分信息</br> 1.入参fields中传入buyer_nick ,才能返回buyer_open_id
func NewTaobaoOpenTradeGetRequest ¶
func NewTaobaoOpenTradeGetRequest() *TaobaoOpenTradeGetAPIRequest
NewTaobaoOpenTradeGetRequest 初始化TaobaoOpenTradeGetAPIRequest对象
func (TaobaoOpenTradeGetAPIRequest) GetApiMethodName ¶
func (r TaobaoOpenTradeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenTradeGetAPIRequest) GetApiParams ¶
func (r TaobaoOpenTradeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenTradeGetAPIRequest) GetFields ¶
func (r TaobaoOpenTradeGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoOpenTradeGetAPIRequest) GetTid ¶
func (r TaobaoOpenTradeGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenTradeGetAPIRequest) SetFields ¶
func (r *TaobaoOpenTradeGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。
func (*TaobaoOpenTradeGetAPIRequest) SetTid ¶
func (r *TaobaoOpenTradeGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号
type TaobaoOpenTradeGetAPIResponse ¶
type TaobaoOpenTradeGetAPIResponse struct { model.CommonResponse TaobaoOpenTradeGetAPIResponseModel }
TaobaoOpenTradeGetAPIResponse 获取单笔交易的部分信息(商家应用使用) API返回值 taobao.open.trade.get
获取单笔交易的部分信息</br> 1.入参fields中传入buyer_nick ,才能返回buyer_open_id
type TaobaoOpenTradeGetAPIResponseModel ¶
type TaobaoOpenTradeGetAPIResponseModel struct { XMLName xml.Name `xml:"open_trade_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息 Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoOpenTradeGetAPIResponseModel is 获取单笔交易的部分信息(商家应用使用) 成功返回结果
type TaobaoOpenTradesSoldGetAPIRequest ¶
type TaobaoOpenTradesSoldGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenTradesSoldGetAPIRequest 查询卖家已卖出的交易数据(商家应用使用) API请求 taobao.open.trades.sold.get
搜索当前会话用户作为卖家已卖出的交易数据(只能获取到三个月以内的交易信息)<br/> 1. 返回的数据结果是以订单的创建时间倒序排列的。<br/> 注意:type字段的说明,如果该字段不传,接口默认只查4种类型订单,非默认查询的订单是不返回。遇到订单查不到的情况的,通常都是这个原因造成。解决办法就是type加上订单类型就可正常返回了。<br/> 2.入参fields中传入buyer_nick ,才能返回buyer_open_id
func NewTaobaoOpenTradesSoldGetRequest ¶
func NewTaobaoOpenTradesSoldGetRequest() *TaobaoOpenTradesSoldGetAPIRequest
NewTaobaoOpenTradesSoldGetRequest 初始化TaobaoOpenTradesSoldGetAPIRequest对象
func (TaobaoOpenTradesSoldGetAPIRequest) GetApiMethodName ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenTradesSoldGetAPIRequest) GetApiParams ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenTradesSoldGetAPIRequest) GetBuyerOpenId ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetBuyerOpenId() string
GetBuyerOpenId BuyerOpenId Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetEndCreated ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetFields ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetPageNo ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetPageSize ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetStartCreated ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetStatus ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetType ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetType() string
GetType Type Getter
func (TaobaoOpenTradesSoldGetAPIRequest) GetUseHasNext ¶
func (r TaobaoOpenTradesSoldGetAPIRequest) GetUseHasNext() bool
GetUseHasNext UseHasNext Getter
func (*TaobaoOpenTradesSoldGetAPIRequest) SetBuyerOpenId ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetBuyerOpenId(_buyerOpenId string) error
SetBuyerOpenId is BuyerOpenId Setter 买家的openId
func (*TaobaoOpenTradesSoldGetAPIRequest) SetEndCreated ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 查询交易创建时间结束。格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoOpenTradesSoldGetAPIRequest) SetFields ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。rx_audit_status=0,处方药未审核
func (*TaobaoOpenTradesSoldGetAPIRequest) SetPageNo ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零的整数; 默认值:1
func (*TaobaoOpenTradesSoldGetAPIRequest) SetPageSize ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100
func (*TaobaoOpenTradesSoldGetAPIRequest) SetStartCreated ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 查询三个月内交易创建时间开始。格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoOpenTradesSoldGetAPIRequest) SetStatus ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。
func (*TaobaoOpenTradesSoldGetAPIRequest) SetType ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetType(_type string) error
SetType is Type Setter 交易类型列表,同时查询多种交易类型可用逗号分隔。<span style="color:red;font-weight: bold;">默认同时查询guarantee_trade,auto_delivery,ec,cod,step 这5 种的交易类型的数据;查询所有交易类型的数据,需要设置下面全部可选值。</span>可选值:fixed(一口价)auction(拍卖)guarantee_trade(一口价、拍卖)step(分阶段付款,万人团,阶梯团订单)independent_simple_trade(旺店入门版交易)independent_shop_trade(旺店标准版交易)auto_delivery(自动发货)ec(直冲)cod(货到付款)game_equipment(游戏装备)shopex_trade(ShopEX交易)netcn_trade(万网交易)external_trade(统一外部交易)instant_trade (即时到账)b2c_cod(大商家货到付款)hotel_trade(酒店类型交易)super_market_trade(商超交易)super_market_cod_trade(商超货到付款交易)taohua(淘花网交易类型)waimai(外卖交易类型)o2o_offlinetrade(O2O交易)nopaid(即时到帐/趣味猜交易类型)step (万人团) eticket(电子凭证) tmall_i18n(天猫国际);nopaid (无付款交易)insurance_plus(保险)finance(基金)注:guarantee_trade是一个组合查询条件,并不是一种交易类型,获取批量或单个订单中不会返回此种类型的订单。pre_auth_type(预授权0元购) lazada(获取lazada订单类型)
func (*TaobaoOpenTradesSoldGetAPIRequest) SetUseHasNext ¶
func (r *TaobaoOpenTradesSoldGetAPIRequest) SetUseHasNext(_useHasNext bool) error
SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量交易,接口调用成功率在原有的基础上有所提升。
type TaobaoOpenTradesSoldGetAPIResponse ¶
type TaobaoOpenTradesSoldGetAPIResponse struct { model.CommonResponse TaobaoOpenTradesSoldGetAPIResponseModel }
TaobaoOpenTradesSoldGetAPIResponse 查询卖家已卖出的交易数据(商家应用使用) API返回值 taobao.open.trades.sold.get
搜索当前会话用户作为卖家已卖出的交易数据(只能获取到三个月以内的交易信息)<br/> 1. 返回的数据结果是以订单的创建时间倒序排列的。<br/> 注意:type字段的说明,如果该字段不传,接口默认只查4种类型订单,非默认查询的订单是不返回。遇到订单查不到的情况的,通常都是这个原因造成。解决办法就是type加上订单类型就可正常返回了。<br/> 2.入参fields中传入buyer_nick ,才能返回buyer_open_id
type TaobaoOpenTradesSoldGetAPIResponseModel ¶
type TaobaoOpenTradesSoldGetAPIResponseModel struct { XMLName xml.Name `xml:"open_trades_sold_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息 Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"` // 搜索到的交易信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoOpenTradesSoldGetAPIResponseModel is 查询卖家已卖出的交易数据(商家应用使用) 成功返回结果
type TaobaoOpentradeCustomizationRefundEnableAPIRequest ¶
type TaobaoOpentradeCustomizationRefundEnableAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpentradeCustomizationRefundEnableAPIRequest 定制订单设置允许仅退款 API请求 taobao.opentrade.customization.refund.enable
定制订单设置允许仅退款
func NewTaobaoOpentradeCustomizationRefundEnableRequest ¶
func NewTaobaoOpentradeCustomizationRefundEnableRequest() *TaobaoOpentradeCustomizationRefundEnableAPIRequest
NewTaobaoOpentradeCustomizationRefundEnableRequest 初始化TaobaoOpentradeCustomizationRefundEnableAPIRequest对象
func (TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetApiMethodName ¶
func (r TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetApiParams ¶
func (r TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetTradeId ¶
func (r TaobaoOpentradeCustomizationRefundEnableAPIRequest) GetTradeId() int64
GetTradeId TradeId Getter
func (*TaobaoOpentradeCustomizationRefundEnableAPIRequest) SetTradeId ¶
func (r *TaobaoOpentradeCustomizationRefundEnableAPIRequest) SetTradeId(_tradeId int64) error
SetTradeId is TradeId Setter 主订单ID
type TaobaoOpentradeCustomizationRefundEnableAPIResponse ¶
type TaobaoOpentradeCustomizationRefundEnableAPIResponse struct { model.CommonResponse TaobaoOpentradeCustomizationRefundEnableAPIResponseModel }
TaobaoOpentradeCustomizationRefundEnableAPIResponse 定制订单设置允许仅退款 API返回值 taobao.opentrade.customization.refund.enable
定制订单设置允许仅退款
type TaobaoOpentradeCustomizationRefundEnableAPIResponseModel ¶
type TaobaoOpentradeCustomizationRefundEnableAPIResponseModel struct { XMLName xml.Name `xml:"opentrade_customization_refund_enable_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否设置成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpentradeCustomizationRefundEnableAPIResponseModel is 定制订单设置允许仅退款 成功返回结果
type TaobaoRdcAligeniusOrdermsgUpdateAPIRequest ¶
type TaobaoRdcAligeniusOrdermsgUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRdcAligeniusOrdermsgUpdateAPIRequest 订单消息状态回传 API请求 taobao.rdc.aligenius.ordermsg.update
用于订单消息处理状态回传
func NewTaobaoRdcAligeniusOrdermsgUpdateRequest ¶
func NewTaobaoRdcAligeniusOrdermsgUpdateRequest() *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest
NewTaobaoRdcAligeniusOrdermsgUpdateRequest 初始化TaobaoRdcAligeniusOrdermsgUpdateAPIRequest对象
func (TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetApiParams ¶
func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetOid ¶
func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetOid() int64
GetOid Oid Getter
func (TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetStatus ¶
func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetTid ¶
func (r TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetOid ¶
func (r *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetOid(_oid int64) error
SetOid is Oid Setter 子订单(消息中传的子订单)
func (*TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetStatus ¶
func (r *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 处理状态,1=成功,2=处理失败
func (*TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetTid ¶
func (r *TaobaoRdcAligeniusOrdermsgUpdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 主订单(消息中传的主订单)
type TaobaoRdcAligeniusOrdermsgUpdateAPIResponse ¶
type TaobaoRdcAligeniusOrdermsgUpdateAPIResponse struct { model.CommonResponse TaobaoRdcAligeniusOrdermsgUpdateAPIResponseModel }
TaobaoRdcAligeniusOrdermsgUpdateAPIResponse 订单消息状态回传 API返回值 taobao.rdc.aligenius.ordermsg.update
用于订单消息处理状态回传
type TaobaoRdcAligeniusOrdermsgUpdateAPIResponseModel ¶
type TaobaoRdcAligeniusOrdermsgUpdateAPIResponseModel struct { XMLName xml.Name `xml:"rdc_aligenius_ordermsg_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoRdcAligeniusOrdermsgUpdateResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoRdcAligeniusOrdermsgUpdateAPIResponseModel is 订单消息状态回传 成功返回结果
type TaobaoRdcAligeniusOrdermsgUpdateResult ¶
type TaobaoRdcAligeniusOrdermsgUpdateResult struct { // resultData ResultData string `json:"result_data,omitempty" xml:"result_data,omitempty"` // errorInfo ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoRdcAligeniusOrdermsgUpdateResult 结构体
type TaobaoRefundsReceiveGetAPIRequest ¶
type TaobaoRefundsReceiveGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRefundsReceiveGetAPIRequest 查询卖家收到的退款列表 API请求 taobao.refunds.receive.get
查询卖家收到的退款列表
func NewTaobaoRefundsReceiveGetRequest ¶
func NewTaobaoRefundsReceiveGetRequest() *TaobaoRefundsReceiveGetAPIRequest
NewTaobaoRefundsReceiveGetRequest 初始化TaobaoRefundsReceiveGetAPIRequest对象
func (TaobaoRefundsReceiveGetAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRefundsReceiveGetAPIRequest) GetApiParams ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRefundsReceiveGetAPIRequest) GetBuyerNick ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetEndModified ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetFields ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetPageNo ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetPageSize ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetStartModified ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetStatus ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetType ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetType() string
GetType Type Getter
func (TaobaoRefundsReceiveGetAPIRequest) GetUseHasNext ¶
func (r TaobaoRefundsReceiveGetAPIRequest) GetUseHasNext() bool
GetUseHasNext UseHasNext Getter
func (*TaobaoRefundsReceiveGetAPIRequest) SetBuyerNick ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaoRefundsReceiveGetAPIRequest) SetEndModified ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 查询修改时间结束。格式: yyyy-MM-dd HH:mm:ss
func (*TaobaoRefundsReceiveGetAPIRequest) SetFields ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, tid, title, buyer_nick, seller_nick, total_fee, status, created, refund_fee, oid, good_status, company_name, sid, payment, reason, desc, has_good_return, modified, order_status,refund_phase
func (*TaobaoRefundsReceiveGetAPIRequest) SetPageNo ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零的整数; 默认值:1
func (*TaobaoRefundsReceiveGetAPIRequest) SetPageSize ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100
func (*TaobaoRefundsReceiveGetAPIRequest) SetStartModified ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 查询修改时间开始。格式: yyyy-MM-dd HH:mm:ss
func (*TaobaoRefundsReceiveGetAPIRequest) SetStatus ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)
func (*TaobaoRefundsReceiveGetAPIRequest) SetType ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetType(_type string) error
SetType is Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery这两种类型的数据,<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>
func (*TaobaoRefundsReceiveGetAPIRequest) SetUseHasNext ¶
func (r *TaobaoRefundsReceiveGetAPIRequest) SetUseHasNext(_useHasNext bool) error
SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量退款,接口调用成功率在原有的基础上有所提升。
type TaobaoRefundsReceiveGetAPIResponse ¶
type TaobaoRefundsReceiveGetAPIResponse struct { model.CommonResponse TaobaoRefundsReceiveGetAPIResponseModel }
TaobaoRefundsReceiveGetAPIResponse 查询卖家收到的退款列表 API返回值 taobao.refunds.receive.get
查询卖家收到的退款列表
type TaobaoRefundsReceiveGetAPIResponseModel ¶
type TaobaoRefundsReceiveGetAPIResponseModel struct { XMLName xml.Name `xml:"refunds_receive_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的退款信息列表 Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"` // 搜索到的退款信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoRefundsReceiveGetAPIResponseModel is 查询卖家收到的退款列表 成功返回结果
type TaobaoTradeAmountGetAPIRequest ¶
type TaobaoTradeAmountGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeAmountGetAPIRequest 交易帐务查询 API请求 taobao.trade.amount.get
卖家查询该笔交易的资金帐务相关的数据; 1. 只供卖家使用,买家不可使用 2. 可查询所有的状态的交易,但不同状态时交易的相关数据可能会有不同
func NewTaobaoTradeAmountGetRequest ¶
func NewTaobaoTradeAmountGetRequest() *TaobaoTradeAmountGetAPIRequest
NewTaobaoTradeAmountGetRequest 初始化TaobaoTradeAmountGetAPIRequest对象
func (TaobaoTradeAmountGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeAmountGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeAmountGetAPIRequest) GetApiParams ¶
func (r TaobaoTradeAmountGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeAmountGetAPIRequest) GetFields ¶
func (r TaobaoTradeAmountGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTradeAmountGetAPIRequest) GetTid ¶
func (r TaobaoTradeAmountGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeAmountGetAPIRequest) SetFields ¶
func (r *TaobaoTradeAmountGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 订单帐务详情需要返回的字段信息,可选值如下:1. TradeAmount中可指定的fields:tid,alipay_no,created,pay_time,end_time,total_fee,payment,post_fee,cod_fee,commission_fee,buyer_obtain_point_fee2. OrderAmount中可指定的fields:order_amounts.oid,order_amounts.title,order_amounts.num_iid,order_amounts.sku_properties_name,order_amounts.sku_id,order_amounts.num,order_amounts.price,order_amounts.discount_fee,order_amounts.adjust_fee,order_amounts.payment,order_amounts.promotion_name3. order_amounts(返回OrderAmount的所有内容)4. promotion_details(指定该值会返回主订单的promotion_details中除id之外的所有字段)
func (*TaobaoTradeAmountGetAPIRequest) SetTid ¶
func (r *TaobaoTradeAmountGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号
type TaobaoTradeAmountGetAPIResponse ¶
type TaobaoTradeAmountGetAPIResponse struct { model.CommonResponse TaobaoTradeAmountGetAPIResponseModel }
TaobaoTradeAmountGetAPIResponse 交易帐务查询 API返回值 taobao.trade.amount.get
卖家查询该笔交易的资金帐务相关的数据; 1. 只供卖家使用,买家不可使用 2. 可查询所有的状态的交易,但不同状态时交易的相关数据可能会有不同
type TaobaoTradeAmountGetAPIResponseModel ¶
type TaobaoTradeAmountGetAPIResponseModel struct { XMLName xml.Name `xml:"trade_amount_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 主订单的财务信息详情 TradeAmount *TradeAmount `json:"trade_amount,omitempty" xml:"trade_amount,omitempty"` }
TaobaoTradeAmountGetAPIResponseModel is 交易帐务查询 成功返回结果
type TaobaoTradeCloseAPIRequest ¶
TaobaoTradeCloseAPIRequest 卖家关闭一笔交易 API请求 taobao.trade.close
关闭一笔订单,可以是主订单或子订单。当订单从创建到关闭时间小于10s的时候,会报“CLOSE_TRADE_TOO_FAST”错误。
func NewTaobaoTradeCloseRequest ¶
func NewTaobaoTradeCloseRequest() *TaobaoTradeCloseAPIRequest
NewTaobaoTradeCloseRequest 初始化TaobaoTradeCloseAPIRequest对象
func (TaobaoTradeCloseAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeCloseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeCloseAPIRequest) GetApiParams ¶
func (r TaobaoTradeCloseAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeCloseAPIRequest) GetCloseReason ¶
func (r TaobaoTradeCloseAPIRequest) GetCloseReason() string
GetCloseReason CloseReason Getter
func (TaobaoTradeCloseAPIRequest) GetTid ¶
func (r TaobaoTradeCloseAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeCloseAPIRequest) SetCloseReason ¶
func (r *TaobaoTradeCloseAPIRequest) SetCloseReason(_closeReason string) error
SetCloseReason is CloseReason Setter 交易关闭原因。可以选择的理由有:1.未及时付款2、买家不想买了3、买家信息填写错误,重新拍4、恶意买家/同行捣乱5、缺货6、买家拍错了7、同城见面交易
func (*TaobaoTradeCloseAPIRequest) SetTid ¶
func (r *TaobaoTradeCloseAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 主订单或子订单编号。
type TaobaoTradeCloseAPIResponse ¶
type TaobaoTradeCloseAPIResponse struct { model.CommonResponse TaobaoTradeCloseAPIResponseModel }
TaobaoTradeCloseAPIResponse 卖家关闭一笔交易 API返回值 taobao.trade.close
关闭一笔订单,可以是主订单或子订单。当订单从创建到关闭时间小于10s的时候,会报“CLOSE_TRADE_TOO_FAST”错误。
type TaobaoTradeCloseAPIResponseModel ¶
type TaobaoTradeCloseAPIResponseModel struct { XMLName xml.Name `xml:"trade_close_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 关闭交易时返回的Trade信息,可用字段有tid和modified Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeCloseAPIResponseModel is 卖家关闭一笔交易 成功返回结果
type TaobaoTradeConfirmfeeGetAPIRequest ¶
type TaobaoTradeConfirmfeeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeConfirmfeeGetAPIRequest 获取交易确认收货费用 API请求 taobao.trade.confirmfee.get
获取交易确认收货费用,可以获取主订单或子订单的确认收货费用
func NewTaobaoTradeConfirmfeeGetRequest ¶
func NewTaobaoTradeConfirmfeeGetRequest() *TaobaoTradeConfirmfeeGetAPIRequest
NewTaobaoTradeConfirmfeeGetRequest 初始化TaobaoTradeConfirmfeeGetAPIRequest对象
func (TaobaoTradeConfirmfeeGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeConfirmfeeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeConfirmfeeGetAPIRequest) GetApiParams ¶
func (r TaobaoTradeConfirmfeeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeConfirmfeeGetAPIRequest) GetTid ¶
func (r TaobaoTradeConfirmfeeGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeConfirmfeeGetAPIRequest) SetTid ¶
func (r *TaobaoTradeConfirmfeeGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易主订单或子订单ID
type TaobaoTradeConfirmfeeGetAPIResponse ¶
type TaobaoTradeConfirmfeeGetAPIResponse struct { model.CommonResponse TaobaoTradeConfirmfeeGetAPIResponseModel }
TaobaoTradeConfirmfeeGetAPIResponse 获取交易确认收货费用 API返回值 taobao.trade.confirmfee.get
获取交易确认收货费用,可以获取主订单或子订单的确认收货费用
type TaobaoTradeConfirmfeeGetAPIResponseModel ¶
type TaobaoTradeConfirmfeeGetAPIResponseModel struct { XMLName xml.Name `xml:"trade_confirmfee_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 获取到的交易确认收货费用 TradeConfirmFee *TradeConfirmFee `json:"trade_confirm_fee,omitempty" xml:"trade_confirm_fee,omitempty"` }
TaobaoTradeConfirmfeeGetAPIResponseModel is 获取交易确认收货费用 成功返回结果
type TaobaoTradeFullinfoGetAPIRequest ¶
type TaobaoTradeFullinfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeFullinfoGetAPIRequest 获取单笔交易的详细信息 API请求 taobao.trade.fullinfo.get
获取单笔交易的详细信息 <br/>1. 只有单笔订单的情况下Trade数据结构中才包含商品相关的信息 <br/>2. 获取到的Order中的payment字段在单笔子订单时包含物流费用,多笔子订单时不包含物流费用 <br/>3. 获取红包优惠金额可以使用字段 coupon_fee <br/>4. 请按需获取字段,减少TOP系统的压力 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
func NewTaobaoTradeFullinfoGetRequest ¶
func NewTaobaoTradeFullinfoGetRequest() *TaobaoTradeFullinfoGetAPIRequest
NewTaobaoTradeFullinfoGetRequest 初始化TaobaoTradeFullinfoGetAPIRequest对象
func (TaobaoTradeFullinfoGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeFullinfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeFullinfoGetAPIRequest) GetApiParams ¶
func (r TaobaoTradeFullinfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeFullinfoGetAPIRequest) GetFields ¶
func (r TaobaoTradeFullinfoGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTradeFullinfoGetAPIRequest) GetIncludeOaid ¶
func (r TaobaoTradeFullinfoGetAPIRequest) GetIncludeOaid() string
GetIncludeOaid IncludeOaid Getter
func (TaobaoTradeFullinfoGetAPIRequest) GetTid ¶
func (r TaobaoTradeFullinfoGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeFullinfoGetAPIRequest) SetFields ¶
func (r *TaobaoTradeFullinfoGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。
func (*TaobaoTradeFullinfoGetAPIRequest) SetIncludeOaid ¶
func (r *TaobaoTradeFullinfoGetAPIRequest) SetIncludeOaid(_includeOaid string) error
SetIncludeOaid is IncludeOaid Setter appkey未对接oaid加密,则忽略该字段。对接oaid加密情况下,(收货人+手机号+座机+收货地址+create)5个字段组合成oaid,原始订单上座机为空也满足条件。传true,代表必须返回oaid,生成不了就报isv.oaid-field-miss错误;默认或者传false,满足生成条件则返回oaid,否则为空
func (*TaobaoTradeFullinfoGetAPIRequest) SetTid ¶
func (r *TaobaoTradeFullinfoGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号
type TaobaoTradeFullinfoGetAPIResponse ¶
type TaobaoTradeFullinfoGetAPIResponse struct { model.CommonResponse TaobaoTradeFullinfoGetAPIResponseModel }
TaobaoTradeFullinfoGetAPIResponse 获取单笔交易的详细信息 API返回值 taobao.trade.fullinfo.get
获取单笔交易的详细信息 <br/>1. 只有单笔订单的情况下Trade数据结构中才包含商品相关的信息 <br/>2. 获取到的Order中的payment字段在单笔子订单时包含物流费用,多笔子订单时不包含物流费用 <br/>3. 获取红包优惠金额可以使用字段 coupon_fee <br/>4. 请按需获取字段,减少TOP系统的压力 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
type TaobaoTradeFullinfoGetAPIResponseModel ¶
type TaobaoTradeFullinfoGetAPIResponseModel struct { XMLName xml.Name `xml:"trade_fullinfo_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 交易主订单信息 Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeFullinfoGetAPIResponseModel is 获取单笔交易的详细信息 成功返回结果
type TaobaoTradeGetAPIRequest ¶
TaobaoTradeGetAPIRequest 获取单笔交易的部分信息(性能高) API请求 taobao.trade.get
获取单笔交易的部分信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
func NewTaobaoTradeGetRequest ¶
func NewTaobaoTradeGetRequest() *TaobaoTradeGetAPIRequest
NewTaobaoTradeGetRequest 初始化TaobaoTradeGetAPIRequest对象
func (TaobaoTradeGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeGetAPIRequest) GetApiParams ¶
func (r TaobaoTradeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeGetAPIRequest) GetFields ¶
func (r TaobaoTradeGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTradeGetAPIRequest) GetTid ¶
func (r TaobaoTradeGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeGetAPIRequest) SetFields ¶
func (r *TaobaoTradeGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。
func (*TaobaoTradeGetAPIRequest) SetTid ¶
func (r *TaobaoTradeGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号
type TaobaoTradeGetAPIResponse ¶
type TaobaoTradeGetAPIResponse struct { model.CommonResponse TaobaoTradeGetAPIResponseModel }
TaobaoTradeGetAPIResponse 获取单笔交易的部分信息(性能高) API返回值 taobao.trade.get
获取单笔交易的部分信息 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
type TaobaoTradeGetAPIResponseModel ¶
type TaobaoTradeGetAPIResponseModel struct { XMLName xml.Name `xml:"trade_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息 Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeGetAPIResponseModel is 获取单笔交易的部分信息(性能高) 成功返回结果
type TaobaoTradeInvoiceAmountGetAPIRequest ¶
type TaobaoTradeInvoiceAmountGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeInvoiceAmountGetAPIRequest 获取订单应开票金额 API请求 taobao.trade.invoice.amount.get
订单应开票金额计算
func NewTaobaoTradeInvoiceAmountGetRequest ¶
func NewTaobaoTradeInvoiceAmountGetRequest() *TaobaoTradeInvoiceAmountGetAPIRequest
NewTaobaoTradeInvoiceAmountGetRequest 初始化TaobaoTradeInvoiceAmountGetAPIRequest对象
func (TaobaoTradeInvoiceAmountGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeInvoiceAmountGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeInvoiceAmountGetAPIRequest) GetApiParams ¶
func (r TaobaoTradeInvoiceAmountGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeInvoiceAmountGetAPIRequest) GetTid ¶
func (r TaobaoTradeInvoiceAmountGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeInvoiceAmountGetAPIRequest) SetTid ¶
func (r *TaobaoTradeInvoiceAmountGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 业务订单ID
type TaobaoTradeInvoiceAmountGetAPIResponse ¶
type TaobaoTradeInvoiceAmountGetAPIResponse struct { model.CommonResponse TaobaoTradeInvoiceAmountGetAPIResponseModel }
TaobaoTradeInvoiceAmountGetAPIResponse 获取订单应开票金额 API返回值 taobao.trade.invoice.amount.get
订单应开票金额计算
type TaobaoTradeInvoiceAmountGetAPIResponseModel ¶
type TaobaoTradeInvoiceAmountGetAPIResponseModel struct { XMLName xml.Name `xml:"trade_invoice_amount_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 应开票给消费者的金额,单位分 ConsumerInvoiceAmount string `json:"consumer_invoice_amount,omitempty" xml:"consumer_invoice_amount,omitempty"` // 应开票给平台的金额,单位分 PlatformInvoiceAmount string `json:"platform_invoice_amount,omitempty" xml:"platform_invoice_amount,omitempty"` }
TaobaoTradeInvoiceAmountGetAPIResponseModel is 获取订单应开票金额 成功返回结果
type TaobaoTradeMemoAddAPIRequest ¶
TaobaoTradeMemoAddAPIRequest 对一笔交易添加备注 API请求 taobao.trade.memo.add
根据登录用户的身份(买家或卖家),自动添加相应的交易备注,不能重复调用些接口添加备注,需要更新备注请用taobao.trade.memo.update
func NewTaobaoTradeMemoAddRequest ¶
func NewTaobaoTradeMemoAddRequest() *TaobaoTradeMemoAddAPIRequest
NewTaobaoTradeMemoAddRequest 初始化TaobaoTradeMemoAddAPIRequest对象
func (TaobaoTradeMemoAddAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeMemoAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeMemoAddAPIRequest) GetApiParams ¶
func (r TaobaoTradeMemoAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeMemoAddAPIRequest) GetFlag ¶
func (r TaobaoTradeMemoAddAPIRequest) GetFlag() int64
GetFlag Flag Getter
func (TaobaoTradeMemoAddAPIRequest) GetMemo ¶
func (r TaobaoTradeMemoAddAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoTradeMemoAddAPIRequest) GetTid ¶
func (r TaobaoTradeMemoAddAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeMemoAddAPIRequest) SetFlag ¶
func (r *TaobaoTradeMemoAddAPIRequest) SetFlag(_flag int64) error
SetFlag is Flag Setter 交易备注旗帜,可选值为:0(灰色), 1(红色), 2(黄色), 3(绿色), 4(蓝色), 5(粉红色),默认值为0
func (*TaobaoTradeMemoAddAPIRequest) SetMemo ¶
func (r *TaobaoTradeMemoAddAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 交易备注。最大长度: 1000个字节
func (*TaobaoTradeMemoAddAPIRequest) SetTid ¶
func (r *TaobaoTradeMemoAddAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号
type TaobaoTradeMemoAddAPIResponse ¶
type TaobaoTradeMemoAddAPIResponse struct { model.CommonResponse TaobaoTradeMemoAddAPIResponseModel }
TaobaoTradeMemoAddAPIResponse 对一笔交易添加备注 API返回值 taobao.trade.memo.add
根据登录用户的身份(买家或卖家),自动添加相应的交易备注,不能重复调用些接口添加备注,需要更新备注请用taobao.trade.memo.update
type TaobaoTradeMemoAddAPIResponseModel ¶
type TaobaoTradeMemoAddAPIResponseModel struct { XMLName xml.Name `xml:"trade_memo_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 对一笔交易添加备注后返回其对应的Trade,Trade中可用的返回字段有tid和created Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeMemoAddAPIResponseModel is 对一笔交易添加备注 成功返回结果
type TaobaoTradeMemoUpdateAPIRequest ¶
type TaobaoTradeMemoUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeMemoUpdateAPIRequest 修改交易备注 API请求 taobao.trade.memo.update
需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能
func NewTaobaoTradeMemoUpdateRequest ¶
func NewTaobaoTradeMemoUpdateRequest() *TaobaoTradeMemoUpdateAPIRequest
NewTaobaoTradeMemoUpdateRequest 初始化TaobaoTradeMemoUpdateAPIRequest对象
func (TaobaoTradeMemoUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeMemoUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeMemoUpdateAPIRequest) GetApiParams ¶
func (r TaobaoTradeMemoUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeMemoUpdateAPIRequest) GetFlag ¶
func (r TaobaoTradeMemoUpdateAPIRequest) GetFlag() int64
GetFlag Flag Getter
func (TaobaoTradeMemoUpdateAPIRequest) GetMemo ¶
func (r TaobaoTradeMemoUpdateAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoTradeMemoUpdateAPIRequest) GetReset ¶
func (r TaobaoTradeMemoUpdateAPIRequest) GetReset() bool
GetReset Reset Getter
func (TaobaoTradeMemoUpdateAPIRequest) GetTid ¶
func (r TaobaoTradeMemoUpdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeMemoUpdateAPIRequest) SetFlag ¶
func (r *TaobaoTradeMemoUpdateAPIRequest) SetFlag(_flag int64) error
SetFlag is Flag Setter 卖家交易备注旗帜,可选值为:0(灰色), 1(红色), 2(黄色), 3(绿色), 4(蓝色), 5(粉红色),默认值为0
func (*TaobaoTradeMemoUpdateAPIRequest) SetMemo ¶
func (r *TaobaoTradeMemoUpdateAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 卖家交易备注。最大长度: 1000个字节
func (*TaobaoTradeMemoUpdateAPIRequest) SetReset ¶
func (r *TaobaoTradeMemoUpdateAPIRequest) SetReset(_reset bool) error
SetReset is Reset Setter 是否对memo的值置空若为true,则不管传入的memo字段的值是否为空,都将会对已有的memo值清空,慎用;若用false,则会根据memo是否为空来修改memo的值:若memo为空则忽略对已有memo字段的修改,若memo非空,则使用新传入的memo覆盖已有的memo的值
func (*TaobaoTradeMemoUpdateAPIRequest) SetTid ¶
func (r *TaobaoTradeMemoUpdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号
type TaobaoTradeMemoUpdateAPIResponse ¶
type TaobaoTradeMemoUpdateAPIResponse struct { model.CommonResponse TaobaoTradeMemoUpdateAPIResponseModel }
TaobaoTradeMemoUpdateAPIResponse 修改交易备注 API返回值 taobao.trade.memo.update
需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能
type TaobaoTradeMemoUpdateAPIResponseModel ¶
type TaobaoTradeMemoUpdateAPIResponseModel struct { XMLName xml.Name `xml:"trade_memo_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新交易的备注信息后返回的Trade,其中可用字段为tid和modified Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeMemoUpdateAPIResponseModel is 修改交易备注 成功返回结果
type TaobaoTradeOrderskuUpdateAPIRequest ¶
type TaobaoTradeOrderskuUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeOrderskuUpdateAPIRequest 更新交易的销售属性 API请求 taobao.trade.ordersku.update
只能更新发货前子订单的销售属性 <br/>只能更新价格相同的销售属性。对于拍下减库存的交易会同步更新销售属性的库存量。对于旺店的交易,要使用商品扩展信息中的SKU价格来比较。 <br/>必须使用sku_id或sku_props中的一个参数来更新,如果两个都传的话,sku_id优先
func NewTaobaoTradeOrderskuUpdateRequest ¶
func NewTaobaoTradeOrderskuUpdateRequest() *TaobaoTradeOrderskuUpdateAPIRequest
NewTaobaoTradeOrderskuUpdateRequest 初始化TaobaoTradeOrderskuUpdateAPIRequest对象
func (TaobaoTradeOrderskuUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeOrderskuUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeOrderskuUpdateAPIRequest) GetApiParams ¶
func (r TaobaoTradeOrderskuUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeOrderskuUpdateAPIRequest) GetOid ¶
func (r TaobaoTradeOrderskuUpdateAPIRequest) GetOid() int64
GetOid Oid Getter
func (TaobaoTradeOrderskuUpdateAPIRequest) GetSkuId ¶
func (r TaobaoTradeOrderskuUpdateAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoTradeOrderskuUpdateAPIRequest) GetSkuProps ¶
func (r TaobaoTradeOrderskuUpdateAPIRequest) GetSkuProps() string
GetSkuProps SkuProps Getter
func (*TaobaoTradeOrderskuUpdateAPIRequest) SetOid ¶
func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetOid(_oid int64) error
SetOid is Oid Setter 子订单编号(对于单笔订单的交易可以传交易编号)。
func (*TaobaoTradeOrderskuUpdateAPIRequest) SetSkuId ¶
func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 销售属性编号,可以通过taobao.item.skus.get获取订单对应的商品的所有销售属性。
func (*TaobaoTradeOrderskuUpdateAPIRequest) SetSkuProps ¶
func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetSkuProps(_skuProps string) error
SetSkuProps is SkuProps Setter 销售属性组合串,格式:p1:v1;p2:v2,如:1627207:28329;20509:28314。可以通过taobao.item.skus.get获取订单对应的商品的所有销售属性。
type TaobaoTradeOrderskuUpdateAPIResponse ¶
type TaobaoTradeOrderskuUpdateAPIResponse struct { model.CommonResponse TaobaoTradeOrderskuUpdateAPIResponseModel }
TaobaoTradeOrderskuUpdateAPIResponse 更新交易的销售属性 API返回值 taobao.trade.ordersku.update
只能更新发货前子订单的销售属性 <br/>只能更新价格相同的销售属性。对于拍下减库存的交易会同步更新销售属性的库存量。对于旺店的交易,要使用商品扩展信息中的SKU价格来比较。 <br/>必须使用sku_id或sku_props中的一个参数来更新,如果两个都传的话,sku_id优先
type TaobaoTradeOrderskuUpdateAPIResponseModel ¶
type TaobaoTradeOrderskuUpdateAPIResponseModel struct { XMLName xml.Name `xml:"trade_ordersku_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 只返回oid和modified Order *Order `json:"order,omitempty" xml:"order,omitempty"` }
TaobaoTradeOrderskuUpdateAPIResponseModel is 更新交易的销售属性 成功返回结果
type TaobaoTradePostageUpdateAPIRequest ¶
type TaobaoTradePostageUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradePostageUpdateAPIRequest 修改交易邮费价格 API请求 taobao.trade.postage.update
修改订单邮费接口,通过传入订单编号和邮费价格,修改订单的邮费,返回修改时间modified,邮费post_fee,总费用total_fee。 <br/> <span style="color:red"> API取消加邮费功能通知:http://open.taobao.com/support/announcement_detail.htm?tid=24750</span>
func NewTaobaoTradePostageUpdateRequest ¶
func NewTaobaoTradePostageUpdateRequest() *TaobaoTradePostageUpdateAPIRequest
NewTaobaoTradePostageUpdateRequest 初始化TaobaoTradePostageUpdateAPIRequest对象
func (TaobaoTradePostageUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoTradePostageUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradePostageUpdateAPIRequest) GetApiParams ¶
func (r TaobaoTradePostageUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradePostageUpdateAPIRequest) GetPostFee ¶
func (r TaobaoTradePostageUpdateAPIRequest) GetPostFee() string
GetPostFee PostFee Getter
func (TaobaoTradePostageUpdateAPIRequest) GetTid ¶
func (r TaobaoTradePostageUpdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradePostageUpdateAPIRequest) SetPostFee ¶
func (r *TaobaoTradePostageUpdateAPIRequest) SetPostFee(_postFee string) error
SetPostFee is PostFee Setter 邮费价格(邮费单位是元)
func (*TaobaoTradePostageUpdateAPIRequest) SetTid ¶
func (r *TaobaoTradePostageUpdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 主订单编号
type TaobaoTradePostageUpdateAPIResponse ¶
type TaobaoTradePostageUpdateAPIResponse struct { model.CommonResponse TaobaoTradePostageUpdateAPIResponseModel }
TaobaoTradePostageUpdateAPIResponse 修改交易邮费价格 API返回值 taobao.trade.postage.update
修改订单邮费接口,通过传入订单编号和邮费价格,修改订单的邮费,返回修改时间modified,邮费post_fee,总费用total_fee。 <br/> <span style="color:red"> API取消加邮费功能通知:http://open.taobao.com/support/announcement_detail.htm?tid=24750</span>
type TaobaoTradePostageUpdateAPIResponseModel ¶
type TaobaoTradePostageUpdateAPIResponseModel struct { XMLName xml.Name `xml:"trade_postage_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回trade类型,其中包含修改时间modified,修改邮费post_fee,修改后的总费用total_fee和买家实付款payment Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradePostageUpdateAPIResponseModel is 修改交易邮费价格 成功返回结果
type TaobaoTradeReceivetimeDelayAPIRequest ¶
type TaobaoTradeReceivetimeDelayAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeReceivetimeDelayAPIRequest 延长交易收货时间 API请求 taobao.trade.receivetime.delay
延长交易收货时间
func NewTaobaoTradeReceivetimeDelayRequest ¶
func NewTaobaoTradeReceivetimeDelayRequest() *TaobaoTradeReceivetimeDelayAPIRequest
NewTaobaoTradeReceivetimeDelayRequest 初始化TaobaoTradeReceivetimeDelayAPIRequest对象
func (TaobaoTradeReceivetimeDelayAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeReceivetimeDelayAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeReceivetimeDelayAPIRequest) GetApiParams ¶
func (r TaobaoTradeReceivetimeDelayAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeReceivetimeDelayAPIRequest) GetDays ¶
func (r TaobaoTradeReceivetimeDelayAPIRequest) GetDays() int64
GetDays Days Getter
func (TaobaoTradeReceivetimeDelayAPIRequest) GetTid ¶
func (r TaobaoTradeReceivetimeDelayAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeReceivetimeDelayAPIRequest) SetDays ¶
func (r *TaobaoTradeReceivetimeDelayAPIRequest) SetDays(_days int64) error
SetDays is Days Setter 延长收货的天数,可选值为:3, 5, 7, 10。
func (*TaobaoTradeReceivetimeDelayAPIRequest) SetTid ¶
func (r *TaobaoTradeReceivetimeDelayAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 主订单号
type TaobaoTradeReceivetimeDelayAPIResponse ¶
type TaobaoTradeReceivetimeDelayAPIResponse struct { model.CommonResponse TaobaoTradeReceivetimeDelayAPIResponseModel }
TaobaoTradeReceivetimeDelayAPIResponse 延长交易收货时间 API返回值 taobao.trade.receivetime.delay
延长交易收货时间
type TaobaoTradeReceivetimeDelayAPIResponseModel ¶
type TaobaoTradeReceivetimeDelayAPIResponseModel struct { XMLName xml.Name `xml:"trade_receivetime_delay_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新后的交易数据,只包括tid和modified两个字段。 Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeReceivetimeDelayAPIResponseModel is 延长交易收货时间 成功返回结果
type TaobaoTradeShippingaddressUpdateAPIRequest ¶
type TaobaoTradeShippingaddressUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeShippingaddressUpdateAPIRequest 更改交易的收货地址 API请求 taobao.trade.shippingaddress.update
只能更新一笔交易里面的买家收货地址 <br/>只能更新发货前(即买家已付款,等待卖家发货状态)的交易的买家收货地址 <br/>更新后的发货地址可以通过taobao.trade.fullinfo.get查到 <br/>参数中所说的字节为GBK编码的(英文和数字占1字节,中文占2字节)
func NewTaobaoTradeShippingaddressUpdateRequest ¶
func NewTaobaoTradeShippingaddressUpdateRequest() *TaobaoTradeShippingaddressUpdateAPIRequest
NewTaobaoTradeShippingaddressUpdateRequest 初始化TaobaoTradeShippingaddressUpdateAPIRequest对象
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetApiParams ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverAddress ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverAddress() string
GetReceiverAddress ReceiverAddress Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverCity ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverCity() string
GetReceiverCity ReceiverCity Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverDistrict ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverDistrict() string
GetReceiverDistrict ReceiverDistrict Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverMobile ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverMobile() string
GetReceiverMobile ReceiverMobile Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverName ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverName() string
GetReceiverName ReceiverName Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverPhone ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverPhone() string
GetReceiverPhone ReceiverPhone Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverState ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverState() string
GetReceiverState ReceiverState Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverTown ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverTown() string
GetReceiverTown ReceiverTown Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverZip ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverZip() string
GetReceiverZip ReceiverZip Getter
func (TaobaoTradeShippingaddressUpdateAPIRequest) GetTid ¶
func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverAddress ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverAddress(_receiverAddress string) error
SetReceiverAddress is ReceiverAddress Setter 收货地址。最大长度为228个字节。
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverCity ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverCity(_receiverCity string) error
SetReceiverCity is ReceiverCity Setter 城市。最大长度为32个字节。如:杭州
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverDistrict ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverDistrict(_receiverDistrict string) error
SetReceiverDistrict is ReceiverDistrict Setter 区/县。最大长度为32个字节。如:西湖区
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverMobile ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverMobile(_receiverMobile string) error
SetReceiverMobile is ReceiverMobile Setter 移动电话。最大长度为11个字节。
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverName ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverName(_receiverName string) error
SetReceiverName is ReceiverName Setter 收货人全名。最大长度为50个字节。
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverPhone ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverPhone(_receiverPhone string) error
SetReceiverPhone is ReceiverPhone Setter 固定电话。最大长度为30个字节。
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverState ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverState(_receiverState string) error
SetReceiverState is ReceiverState Setter 省份。最大长度为32个字节。如:浙江
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverTown ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverTown(_receiverTown string) error
SetReceiverTown is ReceiverTown Setter 四级地址。最大长度为32个字节。如:五常街道
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverZip ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverZip(_receiverZip string) error
SetReceiverZip is ReceiverZip Setter 邮政编码。必须由6个数字组成。
func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetTid ¶
func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易编号。
type TaobaoTradeShippingaddressUpdateAPIResponse ¶
type TaobaoTradeShippingaddressUpdateAPIResponse struct { model.CommonResponse TaobaoTradeShippingaddressUpdateAPIResponseModel }
TaobaoTradeShippingaddressUpdateAPIResponse 更改交易的收货地址 API返回值 taobao.trade.shippingaddress.update
只能更新一笔交易里面的买家收货地址 <br/>只能更新发货前(即买家已付款,等待卖家发货状态)的交易的买家收货地址 <br/>更新后的发货地址可以通过taobao.trade.fullinfo.get查到 <br/>参数中所说的字节为GBK编码的(英文和数字占1字节,中文占2字节)
type TaobaoTradeShippingaddressUpdateAPIResponseModel ¶
type TaobaoTradeShippingaddressUpdateAPIResponseModel struct { XMLName xml.Name `xml:"trade_shippingaddress_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 交易结构 Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"` }
TaobaoTradeShippingaddressUpdateAPIResponseModel is 更改交易的收货地址 成功返回结果
type TaobaoTradeVoucherUploadAPIRequest ¶
type TaobaoTradeVoucherUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeVoucherUploadAPIRequest 淘宝交易凭证上传 API请求 taobao.trade.voucher.upload
定制化交易流程中,涉及到 买家自定义 图片、声音、视频 等多富媒体文件,且该商品或服务的附属sku,通过此接口上传作为交易凭证。
func NewTaobaoTradeVoucherUploadRequest ¶
func NewTaobaoTradeVoucherUploadRequest() *TaobaoTradeVoucherUploadAPIRequest
NewTaobaoTradeVoucherUploadRequest 初始化TaobaoTradeVoucherUploadAPIRequest对象
func (TaobaoTradeVoucherUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeVoucherUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeVoucherUploadAPIRequest) GetApiParams ¶
func (r TaobaoTradeVoucherUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeVoucherUploadAPIRequest) GetBuyerNick ¶
func (r TaobaoTradeVoucherUploadAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoTradeVoucherUploadAPIRequest) GetFileData ¶
func (r TaobaoTradeVoucherUploadAPIRequest) GetFileData() *model.File
GetFileData FileData Getter
func (TaobaoTradeVoucherUploadAPIRequest) GetFileName ¶
func (r TaobaoTradeVoucherUploadAPIRequest) GetFileName() string
GetFileName FileName Getter
func (TaobaoTradeVoucherUploadAPIRequest) GetSellerNick ¶
func (r TaobaoTradeVoucherUploadAPIRequest) GetSellerNick() string
GetSellerNick SellerNick Getter
func (*TaobaoTradeVoucherUploadAPIRequest) SetBuyerNick ¶
func (r *TaobaoTradeVoucherUploadAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 该笔订单的买家Nick(混淆nick)
func (*TaobaoTradeVoucherUploadAPIRequest) SetFileData ¶
func (r *TaobaoTradeVoucherUploadAPIRequest) SetFileData(_fileData *model.File) error
SetFileData is FileData Setter 文件
func (*TaobaoTradeVoucherUploadAPIRequest) SetFileName ¶
func (r *TaobaoTradeVoucherUploadAPIRequest) SetFileName(_fileName string) error
SetFileName is FileName Setter 上传文件的名称
func (*TaobaoTradeVoucherUploadAPIRequest) SetSellerNick ¶
func (r *TaobaoTradeVoucherUploadAPIRequest) SetSellerNick(_sellerNick string) error
SetSellerNick is SellerNick Setter 该笔订单的卖家Nick
type TaobaoTradeVoucherUploadAPIResponse ¶
type TaobaoTradeVoucherUploadAPIResponse struct { model.CommonResponse TaobaoTradeVoucherUploadAPIResponseModel }
TaobaoTradeVoucherUploadAPIResponse 淘宝交易凭证上传 API返回值 taobao.trade.voucher.upload
定制化交易流程中,涉及到 买家自定义 图片、声音、视频 等多富媒体文件,且该商品或服务的附属sku,通过此接口上传作为交易凭证。
type TaobaoTradeVoucherUploadAPIResponseModel ¶
type TaobaoTradeVoucherUploadAPIResponseModel struct { XMLName xml.Name `xml:"trade_voucher_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 上传到多媒体平台的文件 File *File `json:"file,omitempty" xml:"file,omitempty"` }
TaobaoTradeVoucherUploadAPIResponseModel is 淘宝交易凭证上传 成功返回结果
type TaobaoTradeWtverticalGetAPIRequest ¶
type TaobaoTradeWtverticalGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradeWtverticalGetAPIRequest 网厅垂直信息查询接口 API请求 taobao.trade.wtvertical.get
网厅订单垂直信息的查询
func NewTaobaoTradeWtverticalGetRequest ¶
func NewTaobaoTradeWtverticalGetRequest() *TaobaoTradeWtverticalGetAPIRequest
NewTaobaoTradeWtverticalGetRequest 初始化TaobaoTradeWtverticalGetAPIRequest对象
func (TaobaoTradeWtverticalGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradeWtverticalGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradeWtverticalGetAPIRequest) GetApiParams ¶
func (r TaobaoTradeWtverticalGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradeWtverticalGetAPIRequest) GetTids ¶
func (r TaobaoTradeWtverticalGetAPIRequest) GetTids() []int64
GetTids Tids Getter
func (*TaobaoTradeWtverticalGetAPIRequest) SetTids ¶
func (r *TaobaoTradeWtverticalGetAPIRequest) SetTids(_tids []int64) error
SetTids is Tids Setter 主订单列表,用“,”分隔tid的字符串,最大列表长度为15
type TaobaoTradeWtverticalGetAPIResponse ¶
type TaobaoTradeWtverticalGetAPIResponse struct { model.CommonResponse TaobaoTradeWtverticalGetAPIResponseModel }
TaobaoTradeWtverticalGetAPIResponse 网厅垂直信息查询接口 API返回值 taobao.trade.wtvertical.get
网厅订单垂直信息的查询
type TaobaoTradeWtverticalGetAPIResponseModel ¶
type TaobaoTradeWtverticalGetAPIResponseModel struct { XMLName xml.Name `xml:"trade_wtvertical_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回交易垂直信息的数据结构 WtextResults []WtExtResult `json:"wtext_results,omitempty" xml:"wtext_results>wt_ext_result,omitempty"` // 返回查询记录的条数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTradeWtverticalGetAPIResponseModel is 网厅垂直信息查询接口 成功返回结果
type TaobaoTradesSoldGetAPIRequest ¶
type TaobaoTradesSoldGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradesSoldGetAPIRequest 查询卖家已卖出的交易数据(根据创建时间) API请求 taobao.trades.sold.get
搜索当前会话用户作为卖家已卖出的交易数据(只能获取到三个月以内的交易信息) <br/>1. 返回的数据结果是以订单的创建时间倒序排列的。 <br/>2. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/>注意:type字段的说明,如果该字段不传,接口默认只查4种类型订单,非默认查询的订单是不返回。遇到订单查不到的情况的,解决办法就是type加上订单类型就可正常返回了。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
func NewTaobaoTradesSoldGetRequest ¶
func NewTaobaoTradesSoldGetRequest() *TaobaoTradesSoldGetAPIRequest
NewTaobaoTradesSoldGetRequest 初始化TaobaoTradesSoldGetAPIRequest对象
func (TaobaoTradesSoldGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradesSoldGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradesSoldGetAPIRequest) GetApiParams ¶
func (r TaobaoTradesSoldGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradesSoldGetAPIRequest) GetBuyerNick ¶
func (r TaobaoTradesSoldGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoTradesSoldGetAPIRequest) GetBuyerOpenId ¶
func (r TaobaoTradesSoldGetAPIRequest) GetBuyerOpenId() string
GetBuyerOpenId BuyerOpenId Getter
func (TaobaoTradesSoldGetAPIRequest) GetEndCreated ¶
func (r TaobaoTradesSoldGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoTradesSoldGetAPIRequest) GetExtType ¶
func (r TaobaoTradesSoldGetAPIRequest) GetExtType() string
GetExtType ExtType Getter
func (TaobaoTradesSoldGetAPIRequest) GetFields ¶
func (r TaobaoTradesSoldGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTradesSoldGetAPIRequest) GetPageNo ¶
func (r TaobaoTradesSoldGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTradesSoldGetAPIRequest) GetPageSize ¶
func (r TaobaoTradesSoldGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTradesSoldGetAPIRequest) GetRateStatus ¶
func (r TaobaoTradesSoldGetAPIRequest) GetRateStatus() string
GetRateStatus RateStatus Getter
func (TaobaoTradesSoldGetAPIRequest) GetStartCreated ¶
func (r TaobaoTradesSoldGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (TaobaoTradesSoldGetAPIRequest) GetStatus ¶
func (r TaobaoTradesSoldGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoTradesSoldGetAPIRequest) GetTag ¶
func (r TaobaoTradesSoldGetAPIRequest) GetTag() string
GetTag Tag Getter
func (TaobaoTradesSoldGetAPIRequest) GetType ¶
func (r TaobaoTradesSoldGetAPIRequest) GetType() string
GetType Type Getter
func (TaobaoTradesSoldGetAPIRequest) GetUseHasNext ¶
func (r TaobaoTradesSoldGetAPIRequest) GetUseHasNext() bool
GetUseHasNext UseHasNext Getter
func (*TaobaoTradesSoldGetAPIRequest) SetBuyerNick ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaoTradesSoldGetAPIRequest) SetBuyerOpenId ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetBuyerOpenId(_buyerOpenId string) error
SetBuyerOpenId is BuyerOpenId Setter 买家的openId
func (*TaobaoTradesSoldGetAPIRequest) SetEndCreated ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 查询交易创建时间结束。格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoTradesSoldGetAPIRequest) SetExtType ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetExtType(_extType string) error
SetExtType is ExtType Setter 可选值有ershou(二手市场的订单),service(商城服务子订单)mark(双十一大促活动异常订单)作为扩展类型筛选只能做单个ext_type查询,不能全部查询所有的ext_type类型
func (*TaobaoTradesSoldGetAPIRequest) SetFields ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。rx_audit_status=0,处方药未审核
func (*TaobaoTradesSoldGetAPIRequest) SetPageNo ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。默认值:1,可填整数,通过传入page_no来控制获取的页数,总页数=total_results÷page_size
func (*TaobaoTradesSoldGetAPIRequest) SetPageSize ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。 默认值:40;最大值:100,可填整数。通过page_no和page_size组合多次调用实现翻页获取全量数据。
func (*TaobaoTradesSoldGetAPIRequest) SetRateStatus ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetRateStatus(_rateStatus string) error
SetRateStatus is RateStatus Setter 评价状态,默认查询所有评价状态的数据,除了默认值外每次只能查询一种状态。<br>可选值:RATE_UNBUYER(买家未评)RATE_UNSELLER(卖家未评)RATE_BUYER_UNSELLER(买家已评,卖家未评)RATE_UNBUYER_SELLER(买家未评,卖家已评)RATE_BUYER_SELLER(买家已评,卖家已评)
func (*TaobaoTradesSoldGetAPIRequest) SetStartCreated ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 查询三个月内交易创建时间开始。格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoTradesSoldGetAPIRequest) SetStatus ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。
func (*TaobaoTradesSoldGetAPIRequest) SetTag ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetTag(_tag string) error
SetTag is Tag Setter 卖家对交易的自定义分组标签,目前可选值为:time_card(点卡软件代充),fee_card(话费软件代充)
func (*TaobaoTradesSoldGetAPIRequest) SetType ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetType(_type string) error
SetType is Type Setter 交易类型列表,同时查询多种交易类型可用逗号分隔。<span style="color:red;font-weight: bold;">默认同时查询guarantee_trade,auto_delivery,ec,cod,step 这5 种的交易类型的数据;查询所有交易类型的数据,需要设置下面全部可选值。</span>可选值:fixed(一口价)auction(拍卖)guarantee_trade(一口价、拍卖)step(分阶段付款,万人团,阶梯团订单)independent_simple_trade(旺店入门版交易)independent_shop_trade(旺店标准版交易)auto_delivery(自动发货)ec(直冲)cod(货到付款)game_equipment(游戏装备)shopex_trade(ShopEX交易)netcn_trade(万网交易)external_trade(统一外部交易)instant_trade (即时到账)b2c_cod(大商家货到付款)hotel_trade(酒店类型交易)super_market_trade(商超交易)super_market_cod_trade(商超货到付款交易)taohua(淘花网交易类型)waimai(外卖交易类型)o2o_offlinetrade(O2O交易)nopaid(即时到帐/趣味猜交易类型)step (万人团) eticket(电子凭证) tmall_i18n(天猫国际);nopaid (无付款交易)insurance_plus(保险)finance(基金)注:guarantee_trade是一个组合查询条件,并不是一种交易类型,获取批量或单个订单中不会返回此种类型的订单。pre_auth_type(预授权0元购) lazada(获取lazada订单类型)
func (*TaobaoTradesSoldGetAPIRequest) SetUseHasNext ¶
func (r *TaobaoTradesSoldGetAPIRequest) SetUseHasNext(_useHasNext bool) error
SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量交易,接口调用成功率在原有的基础上有所提升。
type TaobaoTradesSoldGetAPIResponse ¶
type TaobaoTradesSoldGetAPIResponse struct { model.CommonResponse TaobaoTradesSoldGetAPIResponseModel }
TaobaoTradesSoldGetAPIResponse 查询卖家已卖出的交易数据(根据创建时间) API返回值 taobao.trades.sold.get
搜索当前会话用户作为卖家已卖出的交易数据(只能获取到三个月以内的交易信息) <br/>1. 返回的数据结果是以订单的创建时间倒序排列的。 <br/>2. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/>注意:type字段的说明,如果该字段不传,接口默认只查4种类型订单,非默认查询的订单是不返回。遇到订单查不到的情况的,解决办法就是type加上订单类型就可正常返回了。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
type TaobaoTradesSoldGetAPIResponseModel ¶
type TaobaoTradesSoldGetAPIResponseModel struct { XMLName xml.Name `xml:"trades_sold_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息 Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"` // 搜索到的交易信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoTradesSoldGetAPIResponseModel is 查询卖家已卖出的交易数据(根据创建时间) 成功返回结果
type TaobaoTradesSoldIncrementGetAPIRequest ¶
type TaobaoTradesSoldIncrementGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradesSoldIncrementGetAPIRequest 查询卖家已卖出的增量交易数据(根据修改时间) API请求 taobao.trades.sold.increment.get
搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_modified - start_modified <= 1天。 <br/>2. 返回的数据结果是以订单的修改时间倒序排列的,通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
func NewTaobaoTradesSoldIncrementGetRequest ¶
func NewTaobaoTradesSoldIncrementGetRequest() *TaobaoTradesSoldIncrementGetAPIRequest
NewTaobaoTradesSoldIncrementGetRequest 初始化TaobaoTradesSoldIncrementGetAPIRequest对象
func (TaobaoTradesSoldIncrementGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradesSoldIncrementGetAPIRequest) GetApiParams ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradesSoldIncrementGetAPIRequest) GetBuyerNick ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetEndModified ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetExtType ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetExtType() string
GetExtType ExtType Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetFields ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetPageNo ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetPageSize ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetStartModified ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetStatus ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetTag ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetTag() string
GetTag Tag Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetType ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetType() string
GetType Type Getter
func (TaobaoTradesSoldIncrementGetAPIRequest) GetUseHasNext ¶
func (r TaobaoTradesSoldIncrementGetAPIRequest) GetUseHasNext() bool
GetUseHasNext UseHasNext Getter
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerNick ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetEndModified ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 查询修改结束时间,必须大于修改开始时间(修改时间跨度不能大于一天),格式:yyyy-MM-dd HH:mm:ss。<span style="color:red;font-weight: bold;">建议使用30分钟以内的时间跨度,能大大提高响应速度和成功率</span>。
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetExtType ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetExtType(_extType string) error
SetExtType is ExtType Setter 可选值有ershou(二手市场的订单),service(商城服务子订单)mark(双十一大促活动异常订单)作为扩展类型筛选只能做单个ext_type查询,不能全部查询所有的ext_type类型
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetFields ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。rx_audit_status=0为处方药未审核状态
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetPageNo ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零的整数;默认值:1。<span style="color:red;font-weight: bold;">注:必须采用倒序的分页方式(从最后一页往回取)才能避免漏单问题。</span>
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetPageSize ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:1~100,默认值:40。<span style="color:red;font-weight: bold;">建议使用40~50,可以提高成功率,减少超时数量</span>。
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetStartModified ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 查询修改开始时间(修改时间跨度不能大于一天)。格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetStatus ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetTag ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetTag(_tag string) error
SetTag is Tag Setter 卖家对交易的自定义分组标签,目前可选值为:time_card(点卡软件代充),fee_card(话费软件代充)
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetType ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetType(_type string) error
SetType is Type Setter 交易类型列表(<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>),一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade,auto_delivery,ec,cod,step这5种类型的数据。
func (*TaobaoTradesSoldIncrementGetAPIRequest) SetUseHasNext ¶
func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetUseHasNext(_useHasNext bool) error
SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,<span style="color:red;font-weight: bold;">通过此种方式获取增量交易,效率在原有的基础上有80%的提升</span>。
type TaobaoTradesSoldIncrementGetAPIResponse ¶
type TaobaoTradesSoldIncrementGetAPIResponse struct { model.CommonResponse TaobaoTradesSoldIncrementGetAPIResponseModel }
TaobaoTradesSoldIncrementGetAPIResponse 查询卖家已卖出的增量交易数据(根据修改时间) API返回值 taobao.trades.sold.increment.get
搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_modified - start_modified <= 1天。 <br/>2. 返回的数据结果是以订单的修改时间倒序排列的,通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
type TaobaoTradesSoldIncrementGetAPIResponseModel ¶
type TaobaoTradesSoldIncrementGetAPIResponseModel struct { XMLName xml.Name `xml:"trades_sold_increment_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息 Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"` // 搜索到的交易信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoTradesSoldIncrementGetAPIResponseModel is 查询卖家已卖出的增量交易数据(根据修改时间) 成功返回结果
type TaobaoTradesSoldIncrementvGetAPIRequest ¶
type TaobaoTradesSoldIncrementvGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradesSoldIncrementvGetAPIRequest 查询卖家已卖出的增量交易数据(根据入库时间) API请求 taobao.trades.sold.incrementv.get
搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_create - start_create <= 1天。 <br/>2. 返回的数据结果是以订单入库时间的倒序排列的(该时间和订单修改时间不同),通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
func NewTaobaoTradesSoldIncrementvGetRequest ¶
func NewTaobaoTradesSoldIncrementvGetRequest() *TaobaoTradesSoldIncrementvGetAPIRequest
NewTaobaoTradesSoldIncrementvGetRequest 初始化TaobaoTradesSoldIncrementvGetAPIRequest对象
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetApiMethodName ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetApiParams ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetEndCreate ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetEndCreate() string
GetEndCreate EndCreate Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetExtType ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetExtType() string
GetExtType ExtType Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetFields ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetPageNo ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetPageSize ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetStartCreate ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetStartCreate() string
GetStartCreate StartCreate Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetStatus ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetTag ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetTag() string
GetTag Tag Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetType ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetType() string
GetType Type Getter
func (TaobaoTradesSoldIncrementvGetAPIRequest) GetUseHasNext ¶
func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetUseHasNext() bool
GetUseHasNext UseHasNext Getter
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetEndCreate ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetEndCreate(_endCreate string) error
SetEndCreate is EndCreate Setter 查询入库结束时间,必须大于入库开始时间(修改时间跨度不能大于一天),格式:yyyy-MM-dd HH:mm:ss。<span style="color:red;font-weight: bold;">建议使用30分钟以内的时间跨度,能大大提高响应速度和成功率</span>。
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetExtType ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetExtType(_extType string) error
SetExtType is ExtType Setter 可选值有ershou(二手市场的订单),service(商城服务子订单)mark(双十一大促活动异常订单)作为扩展类型筛选只能做单个ext_type查询,不能全部查询所有的ext_type类型
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetFields ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetPageNo ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零的整数;默认值:1。<span style="color:red;font-weight: bold;">注:必须采用倒序的分页方式(从最后一页往回取)才能避免漏单问题。</span>
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetPageSize ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:1~100,默认值:40。<span style="color:red;font-weight: bold;">建议使用40~50,可以提高成功率,减少超时数量</span>。
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetStartCreate ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetStartCreate(_startCreate string) error
SetStartCreate is StartCreate Setter 查询入库开始时间(修改时间跨度不能大于一天)。格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetStatus ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetTag ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetTag(_tag string) error
SetTag is Tag Setter 卖家对交易的自定义分组标签,目前可选值为:time_card(点卡软件代充),fee_card(话费软件代充)
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetType ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetType(_type string) error
SetType is Type Setter 交易类型列表(<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>),一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade,auto_delivery,ec,cod,step这5种类型的数据。
func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetUseHasNext ¶
func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetUseHasNext(_useHasNext bool) error
SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,<span style="color:red;font-weight: bold;">通过此种方式获取增量交易,效率在原有的基础上有80%的提升</span>。
type TaobaoTradesSoldIncrementvGetAPIResponse ¶
type TaobaoTradesSoldIncrementvGetAPIResponse struct { model.CommonResponse TaobaoTradesSoldIncrementvGetAPIResponseModel }
TaobaoTradesSoldIncrementvGetAPIResponse 查询卖家已卖出的增量交易数据(根据入库时间) API返回值 taobao.trades.sold.incrementv.get
搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_create - start_create <= 1天。 <br/>2. 返回的数据结果是以订单入库时间的倒序排列的(该时间和订单修改时间不同),通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>
type TaobaoTradesSoldIncrementvGetAPIResponseModel ¶
type TaobaoTradesSoldIncrementvGetAPIResponseModel struct { XMLName xml.Name `xml:"trades_sold_incrementv_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息 Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"` // 搜索到的交易信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoTradesSoldIncrementvGetAPIResponseModel is 查询卖家已卖出的增量交易数据(根据入库时间) 成功返回结果
type TaobaoTradesSoldQueryAPIRequest ¶
type TaobaoTradesSoldQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTradesSoldQueryAPIRequest 根据收件人信息查询交易单号 API请求 taobao.trades.sold.query
根据收件人信息查询交易单号。
func NewTaobaoTradesSoldQueryRequest ¶
func NewTaobaoTradesSoldQueryRequest() *TaobaoTradesSoldQueryAPIRequest
NewTaobaoTradesSoldQueryRequest 初始化TaobaoTradesSoldQueryAPIRequest对象
func (TaobaoTradesSoldQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoTradesSoldQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTradesSoldQueryAPIRequest) GetApiParams ¶
func (r TaobaoTradesSoldQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTradesSoldQueryAPIRequest) GetQueryList ¶
func (r TaobaoTradesSoldQueryAPIRequest) GetQueryList() []OrderQuery
GetQueryList QueryList Getter
func (*TaobaoTradesSoldQueryAPIRequest) SetQueryList ¶
func (r *TaobaoTradesSoldQueryAPIRequest) SetQueryList(_queryList []OrderQuery) error
SetQueryList is QueryList Setter 查询条件列表,多个条件之间是OR关系,最多支持20个。receiver_name、receiver_mobile、receiver_phone至少有一个值不为空。
type TaobaoTradesSoldQueryAPIResponse ¶
type TaobaoTradesSoldQueryAPIResponse struct { model.CommonResponse TaobaoTradesSoldQueryAPIResponseModel }
TaobaoTradesSoldQueryAPIResponse 根据收件人信息查询交易单号 API返回值 taobao.trades.sold.query
根据收件人信息查询交易单号。
type TaobaoTradesSoldQueryAPIResponseModel ¶
type TaobaoTradesSoldQueryAPIResponseModel struct { XMLName xml.Name `xml:"trades_sold_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单ID列表。按照订单创建时间倒序,最多返回最近的100笔订单。 TidList []string `json:"tid_list,omitempty" xml:"tid_list>string,omitempty"` }
TaobaoTradesSoldQueryAPIResponseModel is 根据收件人信息查询交易单号 成功返回结果
type TaobaoWttTradeServiceGetAPIRequest ¶
type TaobaoWttTradeServiceGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWttTradeServiceGetAPIRequest 获取网厅号卡垂直标信息 API请求 taobao.wtt.trade.service.get
查询网厅订单信息
func NewTaobaoWttTradeServiceGetRequest ¶
func NewTaobaoWttTradeServiceGetRequest() *TaobaoWttTradeServiceGetAPIRequest
NewTaobaoWttTradeServiceGetRequest 初始化TaobaoWttTradeServiceGetAPIRequest对象
func (TaobaoWttTradeServiceGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWttTradeServiceGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWttTradeServiceGetAPIRequest) GetApiParams ¶
func (r TaobaoWttTradeServiceGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWttTradeServiceGetAPIRequest) GetBizOrder ¶
func (r TaobaoWttTradeServiceGetAPIRequest) GetBizOrder() int64
GetBizOrder BizOrder Getter
func (*TaobaoWttTradeServiceGetAPIRequest) SetBizOrder ¶
func (r *TaobaoWttTradeServiceGetAPIRequest) SetBizOrder(_bizOrder int64) error
SetBizOrder is BizOrder Setter 订单ID
type TaobaoWttTradeServiceGetAPIResponse ¶
type TaobaoWttTradeServiceGetAPIResponse struct { model.CommonResponse TaobaoWttTradeServiceGetAPIResponseModel }
TaobaoWttTradeServiceGetAPIResponse 获取网厅号卡垂直标信息 API返回值 taobao.wtt.trade.service.get
查询网厅订单信息
type TaobaoWttTradeServiceGetAPIResponseModel ¶
type TaobaoWttTradeServiceGetAPIResponseModel struct { XMLName xml.Name `xml:"wtt_trade_service_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回实例 Modules *WtverticalDto `json:"modules,omitempty" xml:"modules,omitempty"` }
TaobaoWttTradeServiceGetAPIResponseModel is 获取网厅号卡垂直标信息 成功返回结果
type TaobaoXhotelDistributionOrderDetailSearchAPIRequest ¶
type TaobaoXhotelDistributionOrderDetailSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelDistributionOrderDetailSearchAPIRequest 分销渠道订单详情查询 API请求 taobao.xhotel.distribution.order.detail.search
该接口用于提供酒店分销渠道的订单详情查询
func NewTaobaoXhotelDistributionOrderDetailSearchRequest ¶
func NewTaobaoXhotelDistributionOrderDetailSearchRequest() *TaobaoXhotelDistributionOrderDetailSearchAPIRequest
NewTaobaoXhotelDistributionOrderDetailSearchRequest 初始化TaobaoXhotelDistributionOrderDetailSearchAPIRequest对象
func (TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetApiParams ¶
func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetDistributionOid ¶
func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetDistributionOid() string
GetDistributionOid DistributionOid Getter
func (TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetOpenId ¶
func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetOpenId() string
GetOpenId OpenId Getter
func (TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetTid ¶
func (r TaobaoXhotelDistributionOrderDetailSearchAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetDistributionOid ¶
func (r *TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetDistributionOid(_distributionOid string) error
SetDistributionOid is DistributionOid Setter 外部分销渠道的订单号(与tid必填其一)
func (*TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetOpenId ¶
func (r *TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetOpenId(_openId string) error
SetOpenId is OpenId Setter 传入用户对应的openId
func (*TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetTid ¶
func (r *TaobaoXhotelDistributionOrderDetailSearchAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 飞猪的订单号(与distribution_oid必填其一)
type TaobaoXhotelDistributionOrderDetailSearchAPIResponse ¶
type TaobaoXhotelDistributionOrderDetailSearchAPIResponse struct { model.CommonResponse TaobaoXhotelDistributionOrderDetailSearchAPIResponseModel }
TaobaoXhotelDistributionOrderDetailSearchAPIResponse 分销渠道订单详情查询 API返回值 taobao.xhotel.distribution.order.detail.search
该接口用于提供酒店分销渠道的订单详情查询
type TaobaoXhotelDistributionOrderDetailSearchAPIResponseModel ¶
type TaobaoXhotelDistributionOrderDetailSearchAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_distribution_order_detail_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 Error string `json:"error,omitempty" xml:"error,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 订单详情对象 TopDistributionOrderDetail *TopDistributionOrderDetail `json:"top_distribution_order_detail,omitempty" xml:"top_distribution_order_detail,omitempty"` }
TaobaoXhotelDistributionOrderDetailSearchAPIResponseModel is 分销渠道订单详情查询 成功返回结果
type TmallAscpOrdersSaleCreateAPIRequest ¶
type TmallAscpOrdersSaleCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallAscpOrdersSaleCreateAPIRequest ASCP渠道中心销售单创建接口 API请求 tmall.ascp.orders.sale.create
ASCP渠道中心销售单创建接口
func NewTmallAscpOrdersSaleCreateRequest ¶
func NewTmallAscpOrdersSaleCreateRequest() *TmallAscpOrdersSaleCreateAPIRequest
NewTmallAscpOrdersSaleCreateRequest 初始化TmallAscpOrdersSaleCreateAPIRequest对象
func (TmallAscpOrdersSaleCreateAPIRequest) GetApiMethodName ¶
func (r TmallAscpOrdersSaleCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallAscpOrdersSaleCreateAPIRequest) GetApiParams ¶
func (r TmallAscpOrdersSaleCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallAscpOrdersSaleCreateAPIRequest) GetChannelOrderRequest ¶
func (r TmallAscpOrdersSaleCreateAPIRequest) GetChannelOrderRequest() *CreateChannelOrderRequest
GetChannelOrderRequest ChannelOrderRequest Getter
func (*TmallAscpOrdersSaleCreateAPIRequest) SetChannelOrderRequest ¶
func (r *TmallAscpOrdersSaleCreateAPIRequest) SetChannelOrderRequest(_channelOrderRequest *CreateChannelOrderRequest) error
SetChannelOrderRequest is ChannelOrderRequest Setter 请求对象
type TmallAscpOrdersSaleCreateAPIResponse ¶
type TmallAscpOrdersSaleCreateAPIResponse struct { model.CommonResponse TmallAscpOrdersSaleCreateAPIResponseModel }
TmallAscpOrdersSaleCreateAPIResponse ASCP渠道中心销售单创建接口 API返回值 tmall.ascp.orders.sale.create
ASCP渠道中心销售单创建接口
type TmallAscpOrdersSaleCreateAPIResponseModel ¶
type TmallAscpOrdersSaleCreateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_ascp_orders_sale_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TmallAscpOrdersSaleCreateResultDo `json:"result,omitempty" xml:"result,omitempty"` }
TmallAscpOrdersSaleCreateAPIResponseModel is ASCP渠道中心销售单创建接口 成功返回结果
type TmallAscpOrdersSaleCreateResultDo ¶
type TmallAscpOrdersSaleCreateResultDo struct { // errorMessage ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // module Module string `json:"module,omitempty" xml:"module,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // totalCount TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TmallAscpOrdersSaleCreateResultDo 结构体
type TopDistributionOrderDetail ¶
type TopDistributionOrderDetail struct { // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 订单状态 OrderStatusDesc string `json:"order_status_desc,omitempty" xml:"order_status_desc,omitempty"` // 房型名称 RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"` // 离店日期 CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"` // rp名称 RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"` // 订单更新时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 订单类型名称 TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 酒店名称 HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 入住时间 CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"` // 买家姓名 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 订单创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 分销渠道外部订单号 DisOid string `json:"dis_oid,omitempty" xml:"dis_oid,omitempty"` // 飞猪拆单订单(当一次下单定多间房的时候会出现这种情况) MultiTids string `json:"multi_tids,omitempty" xml:"multi_tids,omitempty"` // 房型id Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"` // 订单类型id Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 付款金额 Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"` // 总房费 TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"` // 订单状态Code OrderStatusCode int64 `json:"order_status_code,omitempty" xml:"order_status_code,omitempty"` // 酒店hid Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 飞猪订单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 房间数 RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"` // 价格计划ID Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"` // 间夜 Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TopDistributionOrderDetail 结构体
type Trade ¶
type Trade struct { // 订单列表 Orders []Order `json:"orders,omitempty" xml:"orders>order,omitempty"` // 优惠详情 PromotionDetails []PromotionDetail `json:"promotion_details,omitempty" xml:"promotion_details>promotion_detail,omitempty"` // 服务子订单列表 ServiceOrders []ServiceOrder `json:"service_orders,omitempty" xml:"service_orders>service_order,omitempty"` // 物流标签 ServiceTags []LogisticsTag `json:"service_tags,omitempty" xml:"service_tags>logistics_tag,omitempty"` // logisticsInfos LogisticsInfos []LogisticsInfo `json:"logistics_infos,omitempty" xml:"logistics_infos>logistics_info,omitempty"` // 交易编号 (父订单的交易编号) Tid string `json:"tid,omitempty" xml:"tid,omitempty"` // 交易状态。可选值: * TRADE_NO_CREATE_PAY(没有创建支付宝交易) * WAIT_BUYER_PAY(等待买家付款) * SELLER_CONSIGNED_PART(卖家部分发货) * WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) * WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) * TRADE_BUYER_SIGNED(买家已签收,货到付款专用) * TRADE_FINISHED(交易成功) * TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) * TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易) * PAY_PENDING(国际信用卡支付付款确认中) * WAIT_PRE_AUTH_CONFIRM(0元购合约中) * PAID_FORBID_CONSIGN(拼团中订单或者发货强管控的订单,已付款但禁止发货) Status string `json:"status,omitempty" xml:"status,omitempty"` // 交易类型列表,同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据 可选值 fixed(一口价) auction(拍卖) guarantee_trade(一口价、拍卖) auto_delivery(自动发货) independent_simple_trade(旺店入门版交易) independent_shop_trade(旺店标准版交易) ec(直冲) cod(货到付款) fenxiao(分销) game_equipment(游戏装备) shopex_trade(ShopEX交易) netcn_trade(万网交易) external_trade(统一外部交易)o2o_offlinetrade(O2O交易)step (万人团)nopaid(无付款订单)pre_auth_type(预授权0元购机交易) Type string `json:"type,omitempty" xml:"type,omitempty"` // 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 商品金额(商品价格乘以数量的总金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 交易创建时间。格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 买家的openuid,入参fields中传入buyer_nick ,才能返回 BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"` // 付款时间。格式:yyyy-MM-dd HH:mm:ss。订单的付款时间即为物流订单的创建时间。 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 卖家备注(与淘宝网上订单的卖家备注对应,只有卖家才能查看该字段) SellerMemo string `json:"seller_memo,omitempty" xml:"seller_memo,omitempty"` // 买家备注(与淘宝网上订单的买家备注对应,只有买家才能查看该字段) BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"` // 邮费。精确到2位小数;单位:元。如:200.07,表示:200元7分 PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 分阶段付款的订单状态(例如万人团订单等),目前有三返回状态FRONT_NOPAID_FINAL_NOPAID(定金未付尾款未付),FRONT_PAID_FINAL_NOPAID(定金已付尾款未付),FRONT_PAID_FINAL_PAID(定金和尾款都付) StepTradeStatus string `json:"step_trade_status,omitempty" xml:"step_trade_status,omitempty"` // 分阶段付款的已付金额(万人团订单已付金额) StepPaidFee string `json:"step_paid_fee,omitempty" xml:"step_paid_fee,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 实付金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 交易修改时间(用户对订单的任何修改都会更新此字段)。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 商品图片绝对途径 PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"` // 收货人的姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 收货人的所在省份 ReceiverState string `json:"receiver_state,omitempty" xml:"receiver_state,omitempty"` // 收货人的详细地址 ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"` // 收货人的邮编 ReceiverZip string `json:"receiver_zip,omitempty" xml:"receiver_zip,omitempty"` // 收货人的手机号码 ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"` // 收货人的电话号码 ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"` // 卖家发货时间。格式:yyyy-MM-dd HH:mm:ss ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 卖家实际收到的支付宝打款金额(由于子订单可以部分确认收货,这个金额会随着子订单的确认收货而不断增加,交易成功后等于买家实付款减去退款金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 ReceivedPayment string `json:"received_payment,omitempty" xml:"received_payment,omitempty"` // 商家的预计发货时间 EstConTime string `json:"est_con_time,omitempty" xml:"est_con_time,omitempty"` // 收货人国籍 ReceiverCountry string `json:"receiver_country,omitempty" xml:"receiver_country,omitempty"` // 收货人街道地址 ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"` // 天猫国际官网直供主订单关税税费 OrderTaxFee string `json:"order_tax_fee,omitempty" xml:"order_tax_fee,omitempty"` // 满返红包的金额;如果没有满返红包,则值为 0.00 PaidCouponFee string `json:"paid_coupon_fee,omitempty" xml:"paid_coupon_fee,omitempty"` // 门店自提,总店发货,分店取货的门店自提订单标识 ShopPick string `json:"shop_pick,omitempty" xml:"shop_pick,omitempty"` // 同tid TidStr string `json:"tid_str,omitempty" xml:"tid_str,omitempty"` // 为tmall.daogoubao.cloudstore时表示云店链路 BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"` // 值为1,且bizCode不为tmall.daogoubao.cloudstore时,为旗舰店订单 CloudStore string `json:"cloud_store,omitempty" xml:"cloud_store,omitempty"` // 默认为0,0 表示用户主动支付1 表示系统代扣2 表示保险赔付 PayChannel string `json:"pay_channel,omitempty" xml:"pay_channel,omitempty"` // 交易标题,以店铺名作为此标题的值。注:taobao.trades.get接口返回的Trade中的title是商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 可以使用trade.promotion_details查询系统优惠系统优惠金额(如打折,VIP,满就送等),精确到2位小数,单位:元。如:200.07,表示:200元7分 DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 交易结束时间。交易成功时间(更新交易状态为成功的同时更新)/确认收货时间或者交易关闭时间 。格式:yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 买家留言 BuyerMessage string `json:"buyer_message,omitempty" xml:"buyer_message,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // top动态字段 TradeAttr string `json:"trade_attr,omitempty" xml:"trade_attr,omitempty"` // 订单的运费险,单位为元 YfxFee string `json:"yfx_fee,omitempty" xml:"yfx_fee,omitempty"` // 使用信用卡支付金额数 CreditCardFee string `json:"credit_card_fee,omitempty" xml:"credit_card_fee,omitempty"` // 订单出现异常问题的时候,给予用户的描述,没有异常的时候,此值为空 MarkDesc string `json:"mark_desc,omitempty" xml:"mark_desc,omitempty"` // 创建交易时的物流方式(交易完成前,物流方式有可能改变,但系统里的这个字段一直不变)。可选值:free(卖家包邮),post(平邮),express(快递),ems(EMS),virtual(虚拟发货),25(次日必达),26(预约配送)。 ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` // 买家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分 BuyerCodFee string `json:"buyer_cod_fee,omitempty" xml:"buyer_cod_fee,omitempty"` // 卖家手工调整金额,精确到2位小数,单位:元。如:200.07,表示:200元7分。来源于订单价格修改,如果有多笔子订单的时候,这个为0,单笔的话则跟[order].adjust_fee一样 AdjustFee string `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"` // 交易内部来源。WAP(手机);HITAO(嗨淘);TOP(TOP平台);TAOBAO(普通淘宝);JHS(聚划算)一笔订单可能同时有以上多个标记,则以逗号分隔 TradeFrom string `json:"trade_from,omitempty" xml:"trade_from,omitempty"` // 收货人的所在城市<br/>注:因为国家对于城市和地区的划分的有:省直辖市和省直辖县级行政区(区级别的)划分的,淘宝这边根据这个差异保存在不同字段里面比如:广东广州:广州属于一个直辖市是放在的receiver_city的字段里面;而河南济源:济源属于省直辖县级行政区划分,是区级别的,放在了receiver_district里面<br/>建议:程序依赖于城市字段做物流等判断的操作,最好加一个判断逻辑:如果返回值里面只有receiver_district参数,该参数作为城市 ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"` // 收货人的所在地区<br/>注:因为国家对于城市和地区的划分的有:省直辖市和省直辖县级行政区(区级别的)划分的,淘宝这边根据这个差异保存在不同字段里面比如:广东广州:广州属于一个直辖市是放在的receiver_city的字段里面;而河南济源:济源属于省直辖县级行政区划分,是区级别的,放在了receiver_district里面<br/>建议:程序依赖于城市字段做物流等判断的操作,最好加一个判断逻辑:如果返回值里面只有receiver_district参数,该参数作为城市 ReceiverDistrict string `json:"receiver_district,omitempty" xml:"receiver_district,omitempty"` // 导购宝=crm O2o string `json:"o2o,omitempty" xml:"o2o,omitempty"` // 导购员id O2oGuideId string `json:"o2o_guide_id,omitempty" xml:"o2o_guide_id,omitempty"` // 导购员门店id O2oShopId string `json:"o2o_shop_id,omitempty" xml:"o2o_shop_id,omitempty"` // 导购员名称 O2oGuideName string `json:"o2o_guide_name,omitempty" xml:"o2o_guide_name,omitempty"` // 导购门店名称 O2oShopName string `json:"o2o_shop_name,omitempty" xml:"o2o_shop_name,omitempty"` // 导购宝提货方式,inshop:店内提货,online:线上发货 O2oDelivery string `json:"o2o_delivery,omitempty" xml:"o2o_delivery,omitempty"` // 天猫电子凭证家装 EticketServiceAddr string `json:"eticket_service_addr,omitempty" xml:"eticket_service_addr,omitempty"` // 处方药未审核状态 RxAuditStatus string `json:"rx_audit_status,omitempty" xml:"rx_audit_status,omitempty"` // 时间段 EsRange string `json:"es_range,omitempty" xml:"es_range,omitempty"` // 时间 EsDate string `json:"es_date,omitempty" xml:"es_date,omitempty"` // 时间 OsDate string `json:"os_date,omitempty" xml:"os_date,omitempty"` // 时间段 OsRange string `json:"os_range,omitempty" xml:"os_range,omitempty"` // 分阶段交易的特权定金订单ID O2oEtOrderId string `json:"o2o_et_order_id,omitempty" xml:"o2o_et_order_id,omitempty"` // 全渠道商品通相关字段 OmnichannelParam string `json:"omnichannel_param,omitempty" xml:"omnichannel_param,omitempty"` // 组合商品 Assembly string `json:"assembly,omitempty" xml:"assembly,omitempty"` // 星盘标识字段 OmniAttr string `json:"omni_attr,omitempty" xml:"omni_attr,omitempty"` // 星盘业务字段 OmniParam string `json:"omni_param,omitempty" xml:"omni_param,omitempty"` // 采购订单标识 Identity string `json:"identity,omitempty" xml:"identity,omitempty"` // 组装O2O多阶段尾款订单的明细数据 总阶段数,当前阶数,阶段金额(单位:分),支付状态,例如 3_1_100_paid ; 3_2_2000_nopaid O2oStepTradeDetail string `json:"o2o_step_trade_detail,omitempty" xml:"o2o_step_trade_detail,omitempty"` // 特权定金订单的尾款订单ID O2oStepOrderId string `json:"o2o_step_order_id,omitempty" xml:"o2o_step_order_id,omitempty"` // 分阶段订单的特权定金抵扣金额,单位:分 O2oVoucherPrice string `json:"o2o_voucher_price,omitempty" xml:"o2o_voucher_price,omitempty"` // 天猫国际计税优惠金额 OrderTaxPromotionFee string `json:"order_tax_promotion_fee,omitempty" xml:"order_tax_promotion_fee,omitempty"` // serviceType ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"` // o2oServiceMobile O2oServiceMobile string `json:"o2o_service_mobile,omitempty" xml:"o2o_service_mobile,omitempty"` // o2oServiceName O2oServiceName string `json:"o2o_service_name,omitempty" xml:"o2o_service_name,omitempty"` // o2oServiceState O2oServiceState string `json:"o2o_service_state,omitempty" xml:"o2o_service_state,omitempty"` // o2oServiceCity O2oServiceCity string `json:"o2o_service_city,omitempty" xml:"o2o_service_city,omitempty"` // o2oServiceDistrict O2oServiceDistrict string `json:"o2o_service_district,omitempty" xml:"o2o_service_district,omitempty"` // o2oServiceTown O2oServiceTown string `json:"o2o_service_town,omitempty" xml:"o2o_service_town,omitempty"` // o2oServiceAddress O2oServiceAddress string `json:"o2o_service_address,omitempty" xml:"o2o_service_address,omitempty"` // o2oStepTradeDetailNew O2oStepTradeDetailNew string `json:"o2o_step_trade_detail_new,omitempty" xml:"o2o_step_trade_detail_new,omitempty"` // o2oXiaopiao O2oXiaopiao string `json:"o2o_xiaopiao,omitempty" xml:"o2o_xiaopiao,omitempty"` // o2oContract O2oContract string `json:"o2o_contract,omitempty" xml:"o2o_contract,omitempty"` // 新零售门店编码 RetailStoreCode string `json:"retail_store_code,omitempty" xml:"retail_store_code,omitempty"` // 新零售线下订单id RetailOutOrderId string `json:"retail_out_order_id,omitempty" xml:"retail_out_order_id,omitempty"` // rechargeFee RechargeFee string `json:"recharge_fee,omitempty" xml:"recharge_fee,omitempty"` // platformSubsidyFee PlatformSubsidyFee string `json:"platform_subsidy_fee,omitempty" xml:"platform_subsidy_fee,omitempty"` // nrOffline NrOffline string `json:"nr_offline,omitempty" xml:"nr_offline,omitempty"` // 网厅订单垂直表信息 WttParam string `json:"wtt_param,omitempty" xml:"wtt_param,omitempty"` // nrStoreOrderId NrStoreOrderId string `json:"nr_store_order_id,omitempty" xml:"nr_store_order_id,omitempty"` // 门店 ID NrShopId string `json:"nr_shop_id,omitempty" xml:"nr_shop_id,omitempty"` // 门店名称 NrShopName string `json:"nr_shop_name,omitempty" xml:"nr_shop_name,omitempty"` // 导购员ID NrShopGuideId string `json:"nr_shop_guide_id,omitempty" xml:"nr_shop_guide_id,omitempty"` // 导购员名称 NrShopGuideName string `json:"nr_shop_guide_name,omitempty" xml:"nr_shop_guide_name,omitempty"` // sortInfo SortInfo string `json:"sort_info,omitempty" xml:"sort_info,omitempty"` // 一小时达不处理订单 NrNoHandle string `json:"nr_no_handle,omitempty" xml:"nr_no_handle,omitempty"` // doneeNick DoneeNick string `json:"donee_nick,omitempty" xml:"donee_nick,omitempty"` // doneeUid DoneeOpenUid string `json:"donee_open_uid,omitempty" xml:"donee_open_uid,omitempty"` // suningShopCode SuningShopCode string `json:"suning_shop_code,omitempty" xml:"suning_shop_code,omitempty"` // retailStoreId RetailStoreId string `json:"retail_store_id,omitempty" xml:"retail_store_id,omitempty"` // ua Ua string `json:"ua,omitempty" xml:"ua,omitempty"` // 截单时间 CutoffMinutes string `json:"cutoff_minutes,omitempty" xml:"cutoff_minutes,omitempty"` // 时效:天 EsTime string `json:"es_time,omitempty" xml:"es_time,omitempty"` // 发货时间 DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // 揽收时间 CollectTime string `json:"collect_time,omitempty" xml:"collect_time,omitempty"` // 派送时间 DispatchTime string `json:"dispatch_time,omitempty" xml:"dispatch_time,omitempty"` // 签收时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 派送CP DeliveryCps string `json:"delivery_cps,omitempty" xml:"delivery_cps,omitempty"` // linkedmall透传参数 LinkedmallExtInfo string `json:"linkedmall_ext_info,omitempty" xml:"linkedmall_ext_info,omitempty"` // 新零售全渠道订单:订单类型,自提订单:pickUp,电商发货:tmall,门店发货(配送、骑手):storeSend RtOmniSendType string `json:"rt_omni_send_type,omitempty" xml:"rt_omni_send_type,omitempty"` // 新零售全渠道订单:发货门店ID RtOmniStoreId string `json:"rt_omni_store_id,omitempty" xml:"rt_omni_store_id,omitempty"` // 新零售全渠道订单:商家自有发货门店编码 RtOmniOuterStoreId string `json:"rt_omni_outer_store_id,omitempty" xml:"rt_omni_outer_store_id,omitempty"` // 同城预约配送开始时间 TcpsStart string `json:"tcps_start,omitempty" xml:"tcps_start,omitempty"` // 同城业务类型,com.tmall.dsd:定时送,storeDsd-fn-3-1:淘速达3公里蜂鸟配送 TcpsCode string `json:"tcps_code,omitempty" xml:"tcps_code,omitempty"` // 同城预约配送结束时间 TcpsEnd string `json:"tcps_end,omitempty" xml:"tcps_end,omitempty"` // MTariffFee string `json:"m_tariff_fee,omitempty" xml:"m_tariff_fee,omitempty"` // 时效服务身份,如tmallPromise代表天猫时效承诺 TimingPromise string `json:"timing_promise,omitempty" xml:"timing_promise,omitempty"` // 时效服务字段,服务字段,会有多个服务值,以英文半角逗号","切割 PromiseService string `json:"promise_service,omitempty" xml:"promise_service,omitempty"` // 苏宁预约安装,用户安装时间段 OiRange string `json:"oi_range,omitempty" xml:"oi_range,omitempty"` // 苏宁预约安装,用户安装时间 OiDate string `json:"oi_date,omitempty" xml:"oi_date,omitempty"` // 苏宁预约安装,暂不安装 HoldInstall string `json:"hold_install,omitempty" xml:"hold_install,omitempty"` // 外部会员id OuterPartnerMemberId string `json:"outer_partner_member_id,omitempty" xml:"outer_partner_member_id,omitempty"` // 叶子分类 RootCat string `json:"root_cat,omitempty" xml:"root_cat,omitempty"` // 1-gifting订单 Gifting string `json:"gifting,omitempty" xml:"gifting,omitempty"` // 1-coffee gifting订单 GiftingTakeout string `json:"gifting_takeout,omitempty" xml:"gifting_takeout,omitempty"` // 订单来源 AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"` // 居然之家同城站订单类型 deposit:预约到店,direct:直接购买,tail:尾款核销 EasyHomeCityType string `json:"easy_home_city_type,omitempty" xml:"easy_home_city_type,omitempty"` // 同城站关联订单号 NrDepositOrderId string `json:"nr_deposit_order_id,omitempty" xml:"nr_deposit_order_id,omitempty"` // 摊位id NrStoreCode string `json:"nr_store_code,omitempty" xml:"nr_store_code,omitempty"` // 使用淘金币的数量,以分为单位,和订单标propoint中间那一段一样,没有返回null Propoint string `json:"propoint,omitempty" xml:"propoint,omitempty"` // 1-周期送订单 ZqsOrderTag string `json:"zqs_order_tag,omitempty" xml:"zqs_order_tag,omitempty"` // 天鲜配冰柜id TxpFreezerId string `json:"txp_freezer_id,omitempty" xml:"txp_freezer_id,omitempty"` // 天鲜配自提方式 TxpReceiveMethod string `json:"txp_receive_method,omitempty" xml:"txp_receive_method,omitempty"` // 同城购门店ID BrandLightShopStoreId string `json:"brand_light_shop_store_id,omitempty" xml:"brand_light_shop_store_id,omitempty"` // 同城购订单source BrandLightShopSource string `json:"brand_light_shop_source,omitempty" xml:"brand_light_shop_source,omitempty"` // 透出的额外信息 ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"` // 收货地址有变更,返回"1" Lm string `json:"lm,omitempty" xml:"lm,omitempty"` // 新康众定制数据 NczExtAttr string `json:"ncz_ext_attr,omitempty" xml:"ncz_ext_attr,omitempty"` // 标识完美履约订单 IsWmly string `json:"is_wmly,omitempty" xml:"is_wmly,omitempty"` // 全渠道包裹信息 OmniPackage string `json:"omni_package,omitempty" xml:"omni_package,omitempty"` // 苹果发票详情 InvoiceDetailAfterRefund string `json:"invoice_detail_after_refund,omitempty" xml:"invoice_detail_after_refund,omitempty"` // 苹果发票详情 InvoiceDetailPay string `json:"invoice_detail_pay,omitempty" xml:"invoice_detail_pay,omitempty"` // 苹果发票详情 InvoiceDetailMidRefund string `json:"invoice_detail_mid_refund,omitempty" xml:"invoice_detail_mid_refund,omitempty"` // 买卡订单本金 ExpandCardBasicPrice string `json:"expand_card_basic_price,omitempty" xml:"expand_card_basic_price,omitempty"` // 买卡订单权益金 ExpandCardExpandPrice string `json:"expand_card_expand_price,omitempty" xml:"expand_card_expand_price,omitempty"` // 用卡订单所用的本金 ExpandCardBasicPriceUsed string `json:"expand_card_basic_price_used,omitempty" xml:"expand_card_basic_price_used,omitempty"` // 用卡订单所用的权益金 ExpandCardExpandPriceUsed string `json:"expand_card_expand_price_used,omitempty" xml:"expand_card_expand_price_used,omitempty"` // asdp业务身份 AsdpBizType string `json:"asdp_biz_type,omitempty" xml:"asdp_biz_type,omitempty"` // (收货人+手机号+收货地址+create)4字段返回值都都不能为空,否则生成不了oaid Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 关联下单订单 OrderFollowId string `json:"order_follow_id,omitempty" xml:"order_follow_id,omitempty"` // 送货上门标 AsdpAds string `json:"asdp_ads,omitempty" xml:"asdp_ads,omitempty"` // 抢单状态0,未处理待分发;1,抢单中;2,已抢单;3,已发货;-1,超时;-2,处理异常;-3,匹配失败;-4,取消抢单;-5,退款取消;-9,逻辑删除 O2oSnatchStatus string `json:"o2o_snatch_status,omitempty" xml:"o2o_snatch_status,omitempty"` // 垂直市场 Market string `json:"market,omitempty" xml:"market,omitempty"` // 电子凭证扫码购-扫码支付订单type EtType string `json:"et_type,omitempty" xml:"et_type,omitempty"` // 门店预约自提订单标 Obs string `json:"obs,omitempty" xml:"obs,omitempty"` // 透出前置营销工具 Pmtp string `json:"pmtp,omitempty" xml:"pmtp,omitempty"` // 天猫直送服务 CnService string `json:"cn_service,omitempty" xml:"cn_service,omitempty"` // 商品购买数量。取值范围:大于零的整数,对于一个trade对应多个order的时候(一笔主订单,对应多笔子订单),num=0,num是一个跟商品关联的属性,一笔订单对应多比子订单的时候,主订单上的num无意义。 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 商品数字编号 NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 买家备注旗帜(与淘宝网上订单的买家备注旗帜对应,只有买家才能查看该字段)红、黄、绿、蓝、紫 分别对应 1、2、3、4、5 BuyerFlag int64 `json:"buyer_flag,omitempty" xml:"buyer_flag,omitempty"` // 卖家备注旗帜(与淘宝网上订单的卖家备注旗帜对应,只有卖家才能查看该字段)红、黄、绿、蓝、紫 分别对应 1、2、3、4、5 SellerFlag int64 `json:"seller_flag,omitempty" xml:"seller_flag,omitempty"` // 交易扩展表信息 TradeExt *TradeExt `json:"trade_ext,omitempty" xml:"trade_ext,omitempty"` // 订单中使用红包付款的金额 CouponFee int64 `json:"coupon_fee,omitempty" xml:"coupon_fee,omitempty"` // TOP拦截标识,0不拦截,1拦截 TopHold int64 `json:"top_hold,omitempty" xml:"top_hold,omitempty"` // 聚划算一起买字段 ForbidConsign int64 `json:"forbid_consign,omitempty" xml:"forbid_consign,omitempty"` // 天猫拼团拦截标示 TeamBuyHold int64 `json:"team_buy_hold,omitempty" xml:"team_buy_hold,omitempty"` ShareGroupHold int64 `json:"share_group_hold,omitempty" xml:"share_group_hold,omitempty"` // 天猫国际拦截 OfpHold int64 `json:"ofp_hold,omitempty" xml:"ofp_hold,omitempty"` // 聚划算火拼标记 DelayCreateDelivery int64 `json:"delay_create_delivery,omitempty" xml:"delay_create_delivery,omitempty"` // top定义订单类型 Toptype int64 `json:"toptype,omitempty" xml:"toptype,omitempty"` // 1已排序 2不排序 Sorted int64 `json:"sorted,omitempty" xml:"sorted,omitempty"` // suningShopValid SuningShopValid int64 `json:"suning_shop_valid,omitempty" xml:"suning_shop_valid,omitempty"` // 购物金信息输出 ExpandcardInfo *ExpandCardInfo `json:"expandcard_info,omitempty" xml:"expandcard_info,omitempty"` // 扫码购关联门店 EtShopId int64 `json:"et_shop_id,omitempty" xml:"et_shop_id,omitempty"` // 是否包含邮费。与available_confirm_fee同时使用。可选值:true(包含),false(不包含) HasPostFee bool `json:"has_post_fee,omitempty" xml:"has_post_fee,omitempty"` // 卖家是否已评价。可选值:true(已评价),false(未评价) SellerRate bool `json:"seller_rate,omitempty" xml:"seller_rate,omitempty"` // 预售单为true,否则false (云店订单专用) NewPresell bool `json:"new_presell,omitempty" xml:"new_presell,omitempty"` // 优享购为true,否则false(云店订单专用) YouXiang bool `json:"you_xiang,omitempty" xml:"you_xiang,omitempty"` // 订单中是否包含运费险订单,如果包含运费险订单返回true,不包含运费险订单,返回false HasYfx bool `json:"has_yfx,omitempty" xml:"has_yfx,omitempty"` // 买家是否已评价。可选值:true(已评价),false(未评价)。如买家只评价未打分,此字段仍返回false BuyerRate bool `json:"buyer_rate,omitempty" xml:"buyer_rate,omitempty"` // 邮关订单 PostGateDeclare bool `json:"post_gate_declare,omitempty" xml:"post_gate_declare,omitempty"` // 跨境订单 CrossBondedDeclare bool `json:"cross_bonded_declare,omitempty" xml:"cross_bonded_declare,omitempty"` // isGift IsGift bool `json:"is_gift,omitempty" xml:"is_gift,omitempty"` // isIstore IsIstore bool `json:"is_istore,omitempty" xml:"is_istore,omitempty"` // 是否是Openmall订单 IsOpenmall bool `json:"is_openmall,omitempty" xml:"is_openmall,omitempty"` // 是否是码上收订单 VLogisticsCreate bool `json:"v_logistics_create,omitempty" xml:"v_logistics_create,omitempty"` // 是否是非物流订单 QRPay bool `json:"q_r_pay,omitempty" xml:"q_r_pay,omitempty"` // 无物流信息返回true,平台属性,业务不要依赖 NoShipping bool `json:"no_shipping,omitempty" xml:"no_shipping,omitempty"` // 是否屏蔽发货 IsShShip bool `json:"is_sh_ship,omitempty" xml:"is_sh_ship,omitempty"` // 判断订单是否有买家留言,有买家留言返回true,否则返回false HasBuyerMessage bool `json:"has_buyer_message,omitempty" xml:"has_buyer_message,omitempty"` // threeplTiming ThreeplTiming bool `json:"threepl_timing,omitempty" xml:"threepl_timing,omitempty"` // 是否是智慧门店订单,只有true,或者 null 两种情况 IsO2oPassport bool `json:"is_o2o_passport,omitempty" xml:"is_o2o_passport,omitempty"` // tmallDelivery TmallDelivery bool `json:"tmall_delivery,omitempty" xml:"tmall_delivery,omitempty"` }
Trade 结构体
type TradeAmount ¶
type TradeAmount struct { // 主交易订单的系统级优惠详情 PromotionDetails []PromotionDetail `json:"promotion_details,omitempty" xml:"promotion_details>promotion_detail,omitempty"` // 子订单的帐务金额详情列表 OrderAmounts []OrderAmount `json:"order_amounts,omitempty" xml:"order_amounts>order_amount,omitempty"` // 支付宝交易号,如:2009112081173831 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 交易创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 付款时间。格式:yyyy-MM-dd HH:mm:ss PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 交易成功时间(更新交易状态为成功的同时更新)/确认收货时间。格式:yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 主订单的商品金额(各子订单中商品price * num的和,不包括任何优惠信息)。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 邮费。精确到2位小数;单位:元。如:200.07,表示:200元7分。目前只提供整笔交易的邮费,暂不提供各子订单的邮费 PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分 CodFee string `json:"cod_fee,omitempty" xml:"cod_fee,omitempty"` // 主订单实付金额。精确到2位小数;单位:元。如:200.07,表示:200元7分,计算公式如下:如果主订单只有一笔子订单 payment = 子订单的实付金额 + 货到付款服务费(如果是货到付款订单) - 主订单的系统级优惠;如果主订单有多笔子订单 payment = 各子订单的实付金额之和 + 货到付款服务费(如果是货到付款订单) + 邮费 - 主订单的系统级优惠 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 交易佣金。精确到2位小数;单位:元。如:200.07,表示:200元7分 CommissionFee string `json:"commission_fee,omitempty" xml:"commission_fee,omitempty"` // 买家获得积分,返点的积分。格式:100;单位:个 BuyerObtainPointFee string `json:"buyer_obtain_point_fee,omitempty" xml:"buyer_obtain_point_fee,omitempty"` // 买家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分 BuyerCodFee string `json:"buyer_cod_fee,omitempty" xml:"buyer_cod_fee,omitempty"` // 卖家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分 SellerCodFee string `json:"seller_cod_fee,omitempty" xml:"seller_cod_fee,omitempty"` // 快递代收款。精确到2位小数;单位:元。如:212.07,表示:212元7分 ExpressAgencyFee string `json:"express_agency_fee,omitempty" xml:"express_agency_fee,omitempty"` // 交易主订单编号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
TradeAmount 结构体
type TradeConfirmFee ¶
type TradeConfirmFee struct { // 确认收货的金额(不包含邮费)。精确到2位小数;单位:元。如:200.07,表示:200元7分 ConfirmFee string `json:"confirm_fee,omitempty" xml:"confirm_fee,omitempty"` // 需确认收货的邮费,当不是最后一笔收货或者没有邮费时是0.00。精确到2位小数;单位:元。如:200.07,表示:200元7分 ConfirmPostFee string `json:"confirm_post_fee,omitempty" xml:"confirm_post_fee,omitempty"` // 是否是最后一笔订单(只对子订单有效,当其他子订单都是交易完成时,返回true,否则false) IsLastOrder bool `json:"is_last_order,omitempty" xml:"is_last_order,omitempty"` }
TradeConfirmFee 结构体
type TradeExt ¶
type TradeExt struct { // 第三方个性化数据 ExtraData string `json:"extra_data,omitempty" xml:"extra_data,omitempty"` // attributes标记 ExtAttributes string `json:"ext_attributes,omitempty" xml:"ext_attributes,omitempty"` // enable前扩展标识位 BeforeEnableFlag int64 `json:"before_enable_flag,omitempty" xml:"before_enable_flag,omitempty"` // 关闭订单前扩展标识位 BeforeCloseFlag int64 `json:"before_close_flag,omitempty" xml:"before_close_flag,omitempty"` // 付款前扩展标识位 BeforePayFlag int64 `json:"before_pay_flag,omitempty" xml:"before_pay_flag,omitempty"` // 发货前扩展标识位 BeforeShipFlag int64 `json:"before_ship_flag,omitempty" xml:"before_ship_flag,omitempty"` // 确认收货前扩展标识位 BeforeConfirmFlag int64 `json:"before_confirm_flag,omitempty" xml:"before_confirm_flag,omitempty"` // 评价前扩展标识位 BeforeRateFlag int64 `json:"before_rate_flag,omitempty" xml:"before_rate_flag,omitempty"` // 退款前扩展标识位 BeforeRefundFlag int64 `json:"before_refund_flag,omitempty" xml:"before_refund_flag,omitempty"` // 修改前扩展标识位 BeforeModifyFlag int64 `json:"before_modify_flag,omitempty" xml:"before_modify_flag,omitempty"` // 第三方状态,第三方自由定义 ThirdPartyStatus int64 `json:"third_party_status,omitempty" xml:"third_party_status,omitempty"` }
TradeExt 结构体
type TradeFlowGoodsDetailModel ¶
type TradeFlowGoodsDetailModel struct { // 商品最小销售单位,如:包、盒、袋 Unit string `json:"unit,omitempty" xml:"unit,omitempty"` // 外部系统商品ID ExternalGoodsId string `json:"external_goods_id,omitempty" xml:"external_goods_id,omitempty"` // 商品标题 GoodsTitle string `json:"goods_title,omitempty" xml:"goods_title,omitempty"` // 商品分类 Category string `json:"category,omitempty" xml:"category,omitempty"` // 商品条码 Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"` // 货道剩余商品数量 RemainingQuantity int64 `json:"remaining_quantity,omitempty" xml:"remaining_quantity,omitempty"` // 货道业务类型:1普通;2推广实付金额 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 实付金额(单位:分) ActualAmount int64 `json:"actual_amount,omitempty" xml:"actual_amount,omitempty"` // 商品数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` // 货架编码,方向:从上到下,编码:从1开始 ShelfNo int64 `json:"shelf_no,omitempty" xml:"shelf_no,omitempty"` // 交易总额(单位:分) TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"` // 商品单价(单位:分) Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 货道编码,方向:从左到右,编码:从1开始 CargoRoadNo int64 `json:"cargo_road_no,omitempty" xml:"cargo_road_no,omitempty"` }
TradeFlowGoodsDetailModel 结构体
type TradeFlowModel ¶
type TradeFlowModel struct { // 交易流水信息-商品详情 TradeFlowGoodsDetailModelList []TradeFlowGoodsDetailModel `` /* 132-byte string literal not displayed */ // 支付信息 TradeFlowPaymentModelList []TradeFlowPaymentModel `json:"trade_flow_payment_model_list,omitempty" xml:"trade_flow_payment_model_list>trade_flow_payment_model,omitempty"` // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 厂商设备唯一编码 EquipmentCode string `json:"equipment_code,omitempty" xml:"equipment_code,omitempty"` // 外部系统正向交易流水号 PaymentTradeFlowNo string `json:"payment_trade_flow_no,omitempty" xml:"payment_trade_flow_no,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 设备类型 EquipmentType string `json:"equipment_type,omitempty" xml:"equipment_type,omitempty"` // 经营者userId OperatorUserId string `json:"operator_user_id,omitempty" xml:"operator_user_id,omitempty"` // 经营者名字userId OperatorUserName string `json:"operator_user_name,omitempty" xml:"operator_user_name,omitempty"` // 外部系统交易流水号 TradeFlowNo string `json:"trade_flow_no,omitempty" xml:"trade_flow_no,omitempty"` // 设备名称 EquipmentName string `json:"equipment_name,omitempty" xml:"equipment_name,omitempty"` // 实付金额(单位:分) ActualAmount int64 `json:"actual_amount,omitempty" xml:"actual_amount,omitempty"` // 折扣 Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"` // 交易总额(单位:分) TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"` // 佣金金额(单位:分) Commission int64 `json:"commission,omitempty" xml:"commission,omitempty"` // 交易类型:1购买,2退款 TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"` }
TradeFlowModel 结构体
type TradeFlowPaymentModel ¶
type TradeFlowPaymentModel struct { // 外部系统支付用户ID,比如:支付宝PID PaymentUserId string `json:"payment_user_id,omitempty" xml:"payment_user_id,omitempty"` // 外部系统支付流水号 PaymentFlowNo string `json:"payment_flow_no,omitempty" xml:"payment_flow_no,omitempty"` // 支付创建时间(如果不传将和订单时间相同) GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 支付修改时间(如果不传将和订单时间相同) GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 支付金额 PayAmount int64 `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"` // 支付类型:1扣款,2退款 PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 分佣佣金(单位:分) Commission int64 `json:"commission,omitempty" xml:"commission,omitempty"` // 支付通道:1现金,2支付宝,3微信,255其他 PayChannel int64 `json:"pay_channel,omitempty" xml:"pay_channel,omitempty"` // 支付状态:1待付款,2已付款 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
TradeFlowPaymentModel 结构体
type TradeOrder ¶
type TradeOrder struct { // 业务子订单标识(允许为null) SubBizOrderIds []string `json:"sub_biz_order_ids,omitempty" xml:"sub_biz_order_ids>string,omitempty"` // 子订单 SubOrders []Suborders `json:"sub_orders,omitempty" xml:"sub_orders>suborders,omitempty"` // 门店标识 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 业务订单标识 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 用户昵称 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 用户备注 UserMem string `json:"user_mem,omitempty" xml:"user_mem,omitempty"` // 买家标识 UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 外部关联标识 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 渠道业务, 如大润发优鲜=CHANNEL_HALFDAY BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 订单状态 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 订单履约状态 OrderFulfillStatus string `json:"order_fulfill_status,omitempty" xml:"order_fulfill_status,omitempty"` // 商家编码 MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"` // 优惠金额 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 订单原金额 OriginFee int64 `json:"origin_fee,omitempty" xml:"origin_fee,omitempty"` // 支付金额(=整单原价-整单优惠金额+运费) PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` // 收货人信息 Delivery *OrderDelivery `json:"delivery,omitempty" xml:"delivery,omitempty"` // 配送员信息 Deliverer *OrderDelivery `json:"deliverer,omitempty" xml:"deliverer,omitempty"` }
TradeOrder 结构体
type TradeOrderQuery ¶
type TradeOrderQuery struct { // 业务订单标识 BizOrderIds []string `json:"biz_order_ids,omitempty" xml:"biz_order_ids>string,omitempty"` // 查询变动结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 查询变动开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 门店标识 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 买家标识 UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 分页页码 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // 分页大小(不大于20) PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
TradeOrderQuery 结构体
type TradeOrderQueryResult ¶
type TradeOrderQueryResult struct { // 订单查询结果 TradeList []Tradeorders `json:"trade_list,omitempty" xml:"trade_list>tradeorders,omitempty"` // 错误编码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 分页页码 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // 页码数量 PageCount int64 `json:"page_count,omitempty" xml:"page_count,omitempty"` // 数据数量 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 查询是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TradeOrderQueryResult 结构体
type Tradeorders ¶
type Tradeorders struct { // 子订单 SubOrders []Suborders `json:"sub_orders,omitempty" xml:"sub_orders>suborders,omitempty"` // 买家昵称 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 订单状态 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 买家留言 UserMem string `json:"user_mem,omitempty" xml:"user_mem,omitempty"` // 订单履约状态 OrderFulfillStatus string `json:"order_fulfill_status,omitempty" xml:"order_fulfill_status,omitempty"` // 门店编码 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 买家标识 UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 业务订单标识 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 商家编码 MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"` // 外部关联订单标识 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 折扣金额 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 原金额 OriginFee int64 `json:"origin_fee,omitempty" xml:"origin_fee,omitempty"` // 订单配送信息 Deliverer *OrderDeliverer `json:"deliverer,omitempty" xml:"deliverer,omitempty"` // 支付金额 PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` // 收货人信息 Delivery *OrderDelivery `json:"delivery,omitempty" xml:"delivery,omitempty"` }
Tradeorders 结构体
type TribeError ¶
type TribeError struct { // 错误可读性描述 View string `json:"view,omitempty" xml:"view,omitempty"` // 错误码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
TribeError 结构体
type WtExtResult ¶
type WtExtResult struct { // 用户手机号码 PhoneNum string `json:"phone_num,omitempty" xml:"phone_num,omitempty"` // 手机号码所在城市的区位码 PhoneCityCode string `json:"phone_city_code,omitempty" xml:"phone_city_code,omitempty"` // 手机号码所在省份的区位码 PhoneProvinceCode string `json:"phone_province_code,omitempty" xml:"phone_province_code,omitempty"` // 套餐名称 PlanTitle string `json:"plan_title,omitempty" xml:"plan_title,omitempty"` // 套餐商家编码 OutPlanId string `json:"out_plan_id,omitempty" xml:"out_plan_id,omitempty"` // 合约计划商家编码 OutPackageId string `json:"out_package_id,omitempty" xml:"out_package_id,omitempty"` // 机主姓名 PhoneOwnerName string `json:"phone_owner_name,omitempty" xml:"phone_owner_name,omitempty"` // 证件号 CertCardNum string `json:"cert_card_num,omitempty" xml:"cert_card_num,omitempty"` // authType AuthType string `json:"auth_type,omitempty" xml:"auth_type,omitempty"` // attr Attr string `json:"attr,omitempty" xml:"attr,omitempty"` // 安装地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 联系人 OwnerName string `json:"owner_name,omitempty" xml:"owner_name,omitempty"` // 宽带账号 Account string `json:"account,omitempty" xml:"account,omitempty"` // 描述信息 PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"` // 活体流水id BiometricSeq string `json:"biometric_seq,omitempty" xml:"biometric_seq,omitempty"` // 交易id Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 套餐开通规则 EffectRule int64 `json:"effect_rule,omitempty" xml:"effect_rule,omitempty"` // 协议商家编码 AgreementId int64 `json:"agreement_id,omitempty" xml:"agreement_id,omitempty"` // 证件类型 CertType int64 `json:"cert_type,omitempty" xml:"cert_type,omitempty"` // 号码预存款(单位是分) PhoneDeposit int64 `json:"phone_deposit,omitempty" xml:"phone_deposit,omitempty"` // 减免 号码预存款(单位是分) PhoneFreeDeposit int64 `json:"phone_free_deposit,omitempty" xml:"phone_free_deposit,omitempty"` // userType UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // contractType ContractType int64 `json:"contract_type,omitempty" xml:"contract_type,omitempty"` }
WtExtResult 结构体
type WtverticalDto ¶
type WtverticalDto struct { // 手机号码 PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"` // 订单号 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 城市区号 PhoneCityCode string `json:"phone_city_code,omitempty" xml:"phone_city_code,omitempty"` // 省区号 PhoneProvinceCode string `json:"phone_province_code,omitempty" xml:"phone_province_code,omitempty"` // 属性 Attr string `json:"attr,omitempty" xml:"attr,omitempty"` // 号码归属地城市 PhoneCityName string `json:"phone_city_name,omitempty" xml:"phone_city_name,omitempty"` // 号码归属地省 PhoneProvinceName string `json:"phone_province_name,omitempty" xml:"phone_province_name,omitempty"` // 套餐名称 PlanTitle string `json:"plan_title,omitempty" xml:"plan_title,omitempty"` // 套餐商家编码 OutPlanId string `json:"out_plan_id,omitempty" xml:"out_plan_id,omitempty"` // 套餐开通规则 EffectRule string `json:"effect_rule,omitempty" xml:"effect_rule,omitempty"` // 协议商家编码 AgreementId string `json:"agreement_id,omitempty" xml:"agreement_id,omitempty"` }
WtverticalDto 结构体
Source Files ¶
- AlibabaLstVasTradeflowSaveAPIRequest.go
- AlibabaLstVasTradeflowSaveAPIResponse.go
- AlibabaLstVasTradeflowSaveResult.go
- AlibabaOmniSaasOrderCreateAPIRequest.go
- AlibabaOmniSaasOrderCreateAPIResponse.go
- AlibabaTradeAlianceCreateAPIRequest.go
- AlibabaTradeAlianceCreateAPIResponse.go
- AlibabaTradeAlianceCreateResultModel.go
- AlibabaWdkPosTradeCloseAPIRequest.go
- AlibabaWdkPosTradeCloseAPIResponse.go
- AlibabaWdkPosTradeCreateAPIRequest.go
- AlibabaWdkPosTradeCreateAPIResponse.go
- AlibabaWdkPosTradePayAPIRequest.go
- AlibabaWdkPosTradePayAPIResponse.go
- AlibabaWdkPosTradeQueryAPIRequest.go
- AlibabaWdkPosTradeQueryAPIResponse.go
- AlibabaWdkPosTradeReverseAPIRequest.go
- AlibabaWdkPosTradeReverseAPIResponse.go
- AlibabaWdkTradeDiscountBillGetAPIRequest.go
- AlibabaWdkTradeDiscountBillGetAPIResponse.go
- AlibabaWdkTradeOrderCancelAPIRequest.go
- AlibabaWdkTradeOrderCancelAPIResponse.go
- AlibabaWdkTradeOrderCreateAPIRequest.go
- AlibabaWdkTradeOrderCreateAPIResponse.go
- AlibabaWdkTradeOrderQueryAPIRequest.go
- AlibabaWdkTradeOrderQueryAPIResponse.go
- AlibabaWdkTradeRefundCreateAPIRequest.go
- AlibabaWdkTradeRefundCreateAPIResponse.go
- AlibabaWdkTradeRefundInformAPIRequest.go
- AlibabaWdkTradeRefundInformAPIResponse.go
- AlibabaWdkTradeRefundQueryAPIRequest.go
- AlibabaWdkTradeRefundQueryAPIResponse.go
- AlibabaWdkTxdCrmStatementBackflowAPIRequest.go
- AlibabaWdkTxdCrmStatementBackflowAPIResponse.go
- AlibabaWdkTxdCrmStatementBackflowApiResult.go
- AliexpressPaymentExchangeGetAPIRequest.go
- AliexpressPaymentExchangeGetAPIResponse.go
- AliexpressPaymentExchangeGetModule.go
- AliexpressPaymentExchangeGetResult.go
- AlitripRailTradeRefundAPIRequest.go
- AlitripRailTradeRefundAPIResponse.go
- AlitripRailTradeRefundResultSet.go
- CainiaoCntecSupplierOrderServiceAPIRequest.go
- CainiaoCntecSupplierOrderServiceAPIResponse.go
- CainiaoCntecSupplierOrderServiceResult.go
- CainiaoRefundRefundactionsDisplayAPIRequest.go
- CainiaoRefundRefundactionsDisplayAPIResponse.go
- CainiaoRefundRefundactionsDisplayBizResult.go
- CainiaoRefundRefundactionsGetAPIRequest.go
- CainiaoRefundRefundactionsGetAPIResponse.go
- CainiaoRefundRefundactionsGetBizResult.go
- CainiaoRefundRefundactionsJudgementAPIRequest.go
- CainiaoRefundRefundactionsJudgementAPIResponse.go
- CainiaoRefundRefundactionsJudgementBizResult.go
- ChannelOrderItem.go
- ChannelOrderOption.go
- CheckoutExchangeRequest.go
- CouponInfo.go
- CreateChannelOrderRequest.go
- ErrorCode.go
- ExpandCardInfo.go
- FastBuyPosCloseRequest.go
- FastBuyPosCloseResult.go
- FastBuyPosCreateRequest.go
- FastBuyPosCreateResult.go
- FastBuyPosItemBo.go
- FastBuyPosPayRequest.go
- FastBuyPosPayResult.go
- FastBuyPosQueryRequest.go
- FastBuyPosQueryResult.go
- FastBuyPosReverseRequest.go
- FastBuyPosReverseResult.go
- File.go
- GoodsDetail.go
- InformRefundSuccessRequest.go
- InformRefundSuccessResult.go
- IsvCreateOrderParam.go
- IsvSimpleSubOrderModel.go
- ItemDigestDto.go
- LogisticServiceTag.go
- LogisticsInfo.go
- LogisticsTag.go
- Order.go
- OrderAmount.go
- OrderDeliverer.go
- OrderDelivery.go
- OrderDiscountBillBo.go
- OrderDiscountBillQueryRequest.go
- OrderDiscountBillQueryResult.go
- OrderInfoDto.go
- OrderInfoResultDto.go
- OrderObject.go
- OrderQuery.go
- OrderRefundActionResponse.go
- OrderRefundOperationJudgementReq.go
- OrderRefundOperationReq.go
- OrderRefundOperationResponse.go
- OrderResult.go
- PromotionDetail.go
- ReceiverLogistics.go
- Refund.go
- RefundGoodsCreateRequest.go
- RefundGoodsCreateResult.go
- RefundGoodsQueryRequest.go
- RefundGoodsQueryResult.go
- RefundGoodsSubOrder.go
- RefundGoodsSubOrderDetail.go
- RefundReq.go
- RefundSuccessSubOrderRequest.go
- ServiceOrder.go
- SmAddrModel.go
- StatementBo.go
- Suborders.go
- SupplierOrder.go
- SupplierOrderQueryDto.go
- Supportrefundactions.go
- TaobaoKoubeiTribeOpenOrderPageAPIRequest.go
- TaobaoKoubeiTribeOpenOrderPageAPIResponse.go
- TaobaoKoubeiTribeOpenOrderPageResult.go
- TaobaoLifeReservationItemOrderChangeAPIRequest.go
- TaobaoLifeReservationItemOrderChangeAPIResponse.go
- TaobaoLifeReservationItemOrderChangeResult.go
- TaobaoLifeReservationItemOrderConfirmAPIRequest.go
- TaobaoLifeReservationItemOrderConfirmAPIResponse.go
- TaobaoLifeReservationItemOrderConfirmResult.go
- TaobaoLifeReservationTradeConsumeNoticeAPIRequest.go
- TaobaoLifeReservationTradeConsumeNoticeAPIResponse.go
- TaobaoLifeReservationTradeConsumeNoticeResult.go
- TaobaoOpenTradeGetAPIRequest.go
- TaobaoOpenTradeGetAPIResponse.go
- TaobaoOpenTradesSoldGetAPIRequest.go
- TaobaoOpenTradesSoldGetAPIResponse.go
- TaobaoOpentradeCustomizationRefundEnableAPIRequest.go
- TaobaoOpentradeCustomizationRefundEnableAPIResponse.go
- TaobaoRdcAligeniusOrdermsgUpdateAPIRequest.go
- TaobaoRdcAligeniusOrdermsgUpdateAPIResponse.go
- TaobaoRdcAligeniusOrdermsgUpdateResult.go
- TaobaoRefundsReceiveGetAPIRequest.go
- TaobaoRefundsReceiveGetAPIResponse.go
- TaobaoTradeAmountGetAPIRequest.go
- TaobaoTradeAmountGetAPIResponse.go
- TaobaoTradeCloseAPIRequest.go
- TaobaoTradeCloseAPIResponse.go
- TaobaoTradeConfirmfeeGetAPIRequest.go
- TaobaoTradeConfirmfeeGetAPIResponse.go
- TaobaoTradeFullinfoGetAPIRequest.go
- TaobaoTradeFullinfoGetAPIResponse.go
- TaobaoTradeGetAPIRequest.go
- TaobaoTradeGetAPIResponse.go
- TaobaoTradeInvoiceAmountGetAPIRequest.go
- TaobaoTradeInvoiceAmountGetAPIResponse.go
- TaobaoTradeMemoAddAPIRequest.go
- TaobaoTradeMemoAddAPIResponse.go
- TaobaoTradeMemoUpdateAPIRequest.go
- TaobaoTradeMemoUpdateAPIResponse.go
- TaobaoTradeOrderskuUpdateAPIRequest.go
- TaobaoTradeOrderskuUpdateAPIResponse.go
- TaobaoTradePostageUpdateAPIRequest.go
- TaobaoTradePostageUpdateAPIResponse.go
- TaobaoTradeReceivetimeDelayAPIRequest.go
- TaobaoTradeReceivetimeDelayAPIResponse.go
- TaobaoTradeShippingaddressUpdateAPIRequest.go
- TaobaoTradeShippingaddressUpdateAPIResponse.go
- TaobaoTradeVoucherUploadAPIRequest.go
- TaobaoTradeVoucherUploadAPIResponse.go
- TaobaoTradeWtverticalGetAPIRequest.go
- TaobaoTradeWtverticalGetAPIResponse.go
- TaobaoTradesSoldGetAPIRequest.go
- TaobaoTradesSoldGetAPIResponse.go
- TaobaoTradesSoldIncrementGetAPIRequest.go
- TaobaoTradesSoldIncrementGetAPIResponse.go
- TaobaoTradesSoldIncrementvGetAPIRequest.go
- TaobaoTradesSoldIncrementvGetAPIResponse.go
- TaobaoTradesSoldQueryAPIRequest.go
- TaobaoTradesSoldQueryAPIResponse.go
- TaobaoWttTradeServiceGetAPIRequest.go
- TaobaoWttTradeServiceGetAPIResponse.go
- TaobaoXhotelDistributionOrderDetailSearchAPIRequest.go
- TaobaoXhotelDistributionOrderDetailSearchAPIResponse.go
- TmallAscpOrdersSaleCreateAPIRequest.go
- TmallAscpOrdersSaleCreateAPIResponse.go
- TmallAscpOrdersSaleCreateResultDo.go
- TopDistributionOrderDetail.go
- Trade.go
- TradeAmount.go
- TradeConfirmFee.go
- TradeExt.go
- TradeFlowGoodsDetailModel.go
- TradeFlowModel.go
- TradeFlowPaymentModel.go
- TradeOrder.go
- TradeOrderQuery.go
- TradeOrderQueryResult.go
- Tradeorders.go
- TribeError.go
- WtExtResult.go
- WtverticalDto.go
- doc.go