Documentation ¶
Overview ¶
Package tblogistics 包含淘宝物流API,相关结构体
Index ¶
- type AlibabaAscpLogisticsConsignModifyAPIRequest
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetFeature() string
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetGoods() *TopConsignGoodsRequest
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetNewCompanyCode() string
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetNewOutSid() string
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetOldCompanyCode() string
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetOldOutSid() string
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetTid() string
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetFeature(_feature string) error
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetGoods(_goods *TopConsignGoodsRequest) error
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetNewCompanyCode(_newCompanyCode string) error
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetNewOutSid(_newOutSid string) error
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetOldCompanyCode(_oldCompanyCode string) error
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetOldOutSid(_oldOutSid string) error
- func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetTid(_tid string) error
- type AlibabaAscpLogisticsConsignModifyAPIResponse
- type AlibabaAscpLogisticsConsignModifyAPIResponseModel
- type AlibabaAscpLogisticsConsignResendAPIRequest
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetConsignPkgs() []TopConsignPkgRequest
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetFeature() string
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetSubTids() string
- func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetTid() string
- func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetConsignPkgs(_consignPkgs []TopConsignPkgRequest) error
- func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetFeature(_feature string) error
- func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetSubTids(_subTids string) error
- func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetTid(_tid string) error
- type AlibabaAscpLogisticsConsignResendAPIResponse
- type AlibabaAscpLogisticsConsignResendAPIResponseModel
- type AlibabaAscpLogisticsConsignResendResultDto
- type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetBizType() string
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetDefaultGenPickupCode() bool
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetDefaultTradeReceiver() bool
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetGenPickupCodeConfig() *GenPickupCodeConfigTopDto
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetItemList() []ReceiverTopDto
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetOutOrderId() string
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetPickupCode() string
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetReceiver() *ReceiverTopDto
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetSelectedResource() *SelectedResourceTopDto
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetSender() *SenderTopDto
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTid() int64
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalItemActualValue() int64
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalItemValue() int64
- func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalWeight() int64
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetDefaultGenPickupCode(_defaultGenPickupCode bool) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetDefaultTradeReceiver(_defaultTradeReceiver bool) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetGenPickupCodeConfig(_genPickupCodeConfig *GenPickupCodeConfigTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetItemList(_itemList []ReceiverTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetPickupCode(_pickupCode string) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetReceiver(_receiver *ReceiverTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetSelectedResource(_selectedResource *SelectedResourceTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetSender(_sender *SenderTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTid(_tid int64) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalItemActualValue(_totalItemActualValue int64) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalItemValue(_totalItemValue int64) error
- func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalWeight(_totalWeight int64) error
- type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponse
- type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponseModel
- type AlibabaAscpLogisticsInstantsonlineCalldeliveryTopResult
- type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest
- func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetBizType() string
- func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetOutOrderId() string
- func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetRawParams() model.Params
- func (r *AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) SetOutOrderId(_outOrderId string) error
- type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponse
- type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponseModel
- type AlibabaAscpLogisticsInstantsonlineCanceldeliveryTopResult
- type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest
- func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetBizType() string
- func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetRawParams() model.Params
- func (r *AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) SetBizType(_bizType string) error
- type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponse
- type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponseModel
- type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthTopResult
- type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest
- func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetOutOrderId() string
- func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetRawParams() model.Params
- func (r *AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) SetOutOrderId(_outOrderId string) error
- type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponse
- type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponseModel
- type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetTopResult
- type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetBizType() string
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetDefaultTradeReceiver() bool
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetItemList() []ItemTopDto
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetOutOrderId() string
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetReceiver() *ReceiverTopDto
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetSender() *SenderTopDto
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTid() int64
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalItemActualValue() int64
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalItemValue() int64
- func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalWeight() int64
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetBizType(_bizType string) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetDefaultTradeReceiver(_defaultTradeReceiver bool) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetItemList(_itemList []ItemTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetReceiver(_receiver *ReceiverTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetSender(_sender *SenderTopDto) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTid(_tid int64) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalItemActualValue(_totalItemActualValue int64) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalItemValue(_totalItemValue int64) error
- func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalWeight(_totalWeight int64) error
- type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponse
- type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponseModel
- type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryTopResult
- type AlibabaAscpLogisticsOfflineSendAPIRequest
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetCancelId() int64
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignPkgs() []TopConsignPkgRequest
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignStatus() *ConsignStatusRequest
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignType() int64
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetFeature() string
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetSenderId() int64
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetSubTid() string
- func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetTid() string
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetCancelId(_cancelId int64) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignPkgs(_consignPkgs []TopConsignPkgRequest) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignStatus(_consignStatus *ConsignStatusRequest) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignType(_consignType int64) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetFeature(_feature string) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetSenderId(_senderId int64) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetSubTid(_subTid string) error
- func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetTid(_tid string) error
- type AlibabaAscpLogisticsOfflineSendAPIResponse
- type AlibabaAscpLogisticsOfflineSendAPIResponseModel
- type AlibabaAscpLogisticsOfflineSendResultDto
- type AlibabaAscpLogisticsSellerOrdersGetAPIRequest
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetPageIndex() int64
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetPageSize() int64
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetReceiveCode() string
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetTid() string
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetWriteOffDate() string
- func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetWriteOffStatus() string
- func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetReceiveCode(_receiveCode string) error
- func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetTid(_tid string) error
- func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetWriteOffDate(_writeOffDate string) error
- func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetWriteOffStatus(_writeOffStatus string) error
- type AlibabaAscpLogisticsSellerOrdersGetAPIResponse
- type AlibabaAscpLogisticsSellerOrdersGetAPIResponseModel
- type AlibabaAscpLogisticsSellerSendAPIRequest
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetCancelId() int64
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetDeliveryMobile() string
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetDeliveryName() string
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetFeature() string
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetMode() string
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetSenderId() int64
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetSubTid() string
- func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetTid() string
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetCancelId(_cancelId int64) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetDeliveryMobile(_deliveryMobile string) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetDeliveryName(_deliveryName string) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetFeature(_feature string) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetMode(_mode string) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetSenderId(_senderId int64) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetSubTid(_subTid string) error
- func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetTid(_tid string) error
- type AlibabaAscpLogisticsSellerSendAPIResponse
- type AlibabaAscpLogisticsSellerSendAPIResponseModel
- type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest
- func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetLpOrderId() int64
- func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetNodes() []LogisticsNodeTopDto
- func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetRawParams() model.Params
- func (r *AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) SetLpOrderId(_lpOrderId int64) error
- func (r *AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) SetNodes(_nodes []LogisticsNodeTopDto) error
- type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponse
- type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponseModel
- type AlibabaAscpLogisticsSellerWriteoffAPIRequest
- func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetLpOrderId() int64
- func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetRawParams() model.Params
- func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetReceiveCode() string
- func (r *AlibabaAscpLogisticsSellerWriteoffAPIRequest) SetLpOrderId(_lpOrderId int64) error
- func (r *AlibabaAscpLogisticsSellerWriteoffAPIRequest) SetReceiveCode(_receiveCode string) error
- type AlibabaAscpLogisticsSellerWriteoffAPIResponse
- type AlibabaAscpLogisticsSellerWriteoffAPIResponseModel
- type Area
- type BatchWriteLogisticsNodeTopResponse
- type CarriageDetail
- type CheckDeliveryAuthTopResponse
- type ConfirmPackageOrderRequest
- type ConsignDto
- type ConsignStatusRequest
- type ContactInfo
- type DeliveryTemplate
- type DeliveryTopDto
- type GenPickupCodeConfigTopDto
- type GetDeliveryOrderTopResponse
- type ItemTopDto
- type JzReceiverTO
- type JzTopArgs
- type JzTopDto
- type Location
- type LocationTopDto
- type LogisticsCompany
- type LogisticsMail
- type LogisticsNodeTopDto
- type LogisticsPartner
- type PackageDto
- type PartnerDetail
- type PriorCallDeliveryTopResponse
- type PullPackageOrderRequest
- type PullPackageOrderResponse
- type ReceiverTopDto
- type ReportExceptionRequest
- type ResourceDto
- type ResultDto
- type ResultWrappe
- type ResultWrapper
- type SelectedResourceTopDto
- type SenderTopDto
- type Shipping
- type SingleResultDto
- type StoreInfo
- type TPDto
- type TaobaoAreasGetAPIRequest
- func (r TaobaoAreasGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAreasGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAreasGetAPIRequest) GetFields() string
- func (r TaobaoAreasGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAreasGetAPIRequest) SetFields(_fields string) error
- type TaobaoAreasGetAPIResponse
- type TaobaoAreasGetAPIResponseModel
- type TaobaoDeliveryTemplateAddAPIRequest
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetApiMethodName() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetAssumer() int64
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetConsignAreaId() int64
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetName() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetRawParams() model.Params
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateAddFees() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateAddStandards() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateDests() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateStartFees() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateStartStandards() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateTypes() string
- func (r TaobaoDeliveryTemplateAddAPIRequest) GetValuation() int64
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetAssumer(_assumer int64) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetConsignAreaId(_consignAreaId int64) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetName(_name string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateAddFees(_templateAddFees string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateAddStandards(_templateAddStandards string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateDests(_templateDests string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateStartFees(_templateStartFees string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateStartStandards(_templateStartStandards string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateTypes(_templateTypes string) error
- func (r *TaobaoDeliveryTemplateAddAPIRequest) SetValuation(_valuation int64) error
- type TaobaoDeliveryTemplateAddAPIResponse
- type TaobaoDeliveryTemplateAddAPIResponseModel
- type TaobaoDeliveryTemplateDeleteAPIRequest
- func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetTemplateId() int64
- func (r *TaobaoDeliveryTemplateDeleteAPIRequest) SetTemplateId(_templateId int64) error
- type TaobaoDeliveryTemplateDeleteAPIResponse
- type TaobaoDeliveryTemplateDeleteAPIResponseModel
- type TaobaoDeliveryTemplateGetAPIRequest
- func (r TaobaoDeliveryTemplateGetAPIRequest) GetApiMethodName() string
- func (r TaobaoDeliveryTemplateGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDeliveryTemplateGetAPIRequest) GetFields() []string
- func (r TaobaoDeliveryTemplateGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoDeliveryTemplateGetAPIRequest) GetTemplateIds() []string
- func (r TaobaoDeliveryTemplateGetAPIRequest) GetUserNick() string
- func (r *TaobaoDeliveryTemplateGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoDeliveryTemplateGetAPIRequest) SetTemplateIds(_templateIds []string) error
- func (r *TaobaoDeliveryTemplateGetAPIRequest) SetUserNick(_userNick string) error
- type TaobaoDeliveryTemplateGetAPIResponse
- type TaobaoDeliveryTemplateGetAPIResponseModel
- type TaobaoDeliveryTemplateUpdateAPIRequest
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetAssumer() int64
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetName() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateAddFees() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateAddStandards() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateDests() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateId() int64
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateStartFees() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateStartStandards() string
- func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateTypes() string
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetAssumer(_assumer int64) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetName(_name string) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateAddFees(_templateAddFees string) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateAddStandards(_templateAddStandards string) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateDests(_templateDests string) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateId(_templateId int64) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateStartFees(_templateStartFees string) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateStartStandards(_templateStartStandards string) error
- func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateTypes(_templateTypes string) error
- type TaobaoDeliveryTemplateUpdateAPIResponse
- type TaobaoDeliveryTemplateUpdateAPIResponseModel
- type TaobaoDeliveryTemplatesGetAPIRequest
- func (r TaobaoDeliveryTemplatesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoDeliveryTemplatesGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDeliveryTemplatesGetAPIRequest) GetFields() string
- func (r TaobaoDeliveryTemplatesGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoDeliveryTemplatesGetAPIRequest) SetFields(_fields string) error
- type TaobaoDeliveryTemplatesGetAPIResponse
- type TaobaoDeliveryTemplatesGetAPIResponseModel
- type TaobaoLogisticsCompaniesGetAPIRequest
- func (r TaobaoLogisticsCompaniesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsCompaniesGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsCompaniesGetAPIRequest) GetFields() []string
- func (r TaobaoLogisticsCompaniesGetAPIRequest) GetIsRecommended() bool
- func (r TaobaoLogisticsCompaniesGetAPIRequest) GetOrderMode() string
- func (r TaobaoLogisticsCompaniesGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoLogisticsCompaniesGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoLogisticsCompaniesGetAPIRequest) SetIsRecommended(_isRecommended bool) error
- func (r *TaobaoLogisticsCompaniesGetAPIRequest) SetOrderMode(_orderMode string) error
- type TaobaoLogisticsCompaniesGetAPIResponse
- type TaobaoLogisticsCompaniesGetAPIResponseModel
- type TaobaoLogisticsConsignOrderCreateandsendAPIRequest
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetCompanyId() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetItemJsonString() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetLogisType() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetMailNo() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetOrderSource() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetOrderType() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRAddress() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRAreaId() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRCityName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRDistName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRMobilePhone() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRProvName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRTelephone() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRZipCode() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSAddress() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSAreaId() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSCityName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSDistName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSMobilePhone() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSProvName() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSTelephone() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSZipCode() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetShipping() string
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetTradeId() int64
- func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetUserId() int64
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetCompanyId(_companyId int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetItemJsonString(_itemJsonString string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetLogisType(_logisType int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetMailNo(_mailNo string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetOrderSource(_orderSource int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetOrderType(_orderType int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRAddress(_rAddress string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRAreaId(_rAreaId int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRCityName(_rCityName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRDistName(_rDistName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRMobilePhone(_rMobilePhone string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRName(_rName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRProvName(_rProvName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRTelephone(_rTelephone string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRZipCode(_rZipCode string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSAddress(_sAddress string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSAreaId(_sAreaId int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSCityName(_sCityName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSDistName(_sDistName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSMobilePhone(_sMobilePhone string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSName(_sName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSProvName(_sProvName string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSTelephone(_sTelephone string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSZipCode(_sZipCode string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetShipping(_shipping string) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetTradeId(_tradeId int64) error
- func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetUserId(_userId int64) error
- type TaobaoLogisticsConsignOrderCreateandsendAPIResponse
- type TaobaoLogisticsConsignOrderCreateandsendAPIResponseModel
- type TaobaoLogisticsDummySendAPIRequest
- func (r TaobaoLogisticsDummySendAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsDummySendAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsDummySendAPIRequest) GetFeature() string
- func (r TaobaoLogisticsDummySendAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsDummySendAPIRequest) GetSellerIp() string
- func (r TaobaoLogisticsDummySendAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsDummySendAPIRequest) SetFeature(_feature string) error
- func (r *TaobaoLogisticsDummySendAPIRequest) SetSellerIp(_sellerIp string) error
- func (r *TaobaoLogisticsDummySendAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsDummySendAPIResponse
- type TaobaoLogisticsDummySendAPIResponseModel
- type TaobaoLogisticsInstantTraceSearchAPIRequest
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetIsSplit() int64
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetMailNo() string
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetSubTid() string
- func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetIsSplit(_isSplit int64) error
- func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetMailNo(_mailNo string) error
- func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetSubTid(_subTid string) error
- func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsInstantTraceSearchAPIResponse
- type TaobaoLogisticsInstantTraceSearchAPIResponseModel
- type TaobaoLogisticsInstantTraceSearchResult
- type TaobaoLogisticsOnlineCancelAPIRequest
- func (r TaobaoLogisticsOnlineCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsOnlineCancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsOnlineCancelAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsOnlineCancelAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsOnlineCancelAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsOnlineCancelAPIResponse
- type TaobaoLogisticsOnlineCancelAPIResponseModel
- type TaobaoLogisticsOnlineConfirmAPIRequest
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetIsSplit() int64
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetOutSid() string
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetSellerIp() string
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetSubTid() []int64
- func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetIsSplit(_isSplit int64) error
- func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetOutSid(_outSid string) error
- func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetSellerIp(_sellerIp string) error
- func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetSubTid(_subTid []int64) error
- func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsOnlineConfirmAPIResponse
- type TaobaoLogisticsOnlineConfirmAPIResponseModel
- type TaobaoLogisticsOnlineSendAPIRequest
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetCancelId() int64
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetCompanyCode() string
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetFeature() string
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetIsSplit() int64
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetOutSid() string
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetSellerIp() string
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetSenderId() int64
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetSubTid() []int64
- func (r TaobaoLogisticsOnlineSendAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetCancelId(_cancelId int64) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetCompanyCode(_companyCode string) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetFeature(_feature string) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetIsSplit(_isSplit int64) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetOutSid(_outSid string) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetSellerIp(_sellerIp string) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetSenderId(_senderId int64) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetSubTid(_subTid []int64) error
- func (r *TaobaoLogisticsOnlineSendAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsOnlineSendAPIResponse
- type TaobaoLogisticsOnlineSendAPIResponseModel
- type TaobaoLogisticsOrderCreateAPIRequest
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetGoodsNames() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetGoodsQuantities() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetIsConsign() bool
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetItemValues() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetLogisCompanyCode() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetLogisType() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetMailNo() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetOrderType() int64
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetSellerWangwangId() string
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetShipping() int64
- func (r TaobaoLogisticsOrderCreateAPIRequest) GetTradeId() int64
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetGoodsNames(_goodsNames string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetGoodsQuantities(_goodsQuantities string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetIsConsign(_isConsign bool) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetItemValues(_itemValues string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetLogisCompanyCode(_logisCompanyCode string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetLogisType(_logisType string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetMailNo(_mailNo string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetOrderType(_orderType int64) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetSellerWangwangId(_sellerWangwangId string) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetShipping(_shipping int64) error
- func (r *TaobaoLogisticsOrderCreateAPIRequest) SetTradeId(_tradeId int64) error
- type TaobaoLogisticsOrderCreateAPIResponse
- type TaobaoLogisticsOrderCreateAPIResponseModel
- type TaobaoLogisticsOrdersDetailGetAPIRequest
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetBuyerNick() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetEndCreated() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetFields() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetFreightPayer() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetOuid() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetPageNo() int64
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetPageSize() int64
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetReceiverName() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetSellerConfirm() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetStartCreated() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetStatus() string
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetTid() int64
- func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetType() string
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetFreightPayer(_freightPayer string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetOuid(_ouid string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetReceiverName(_receiverName string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetSellerConfirm(_sellerConfirm string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetStartCreated(_startCreated string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetType(_type string) error
- type TaobaoLogisticsOrdersDetailGetAPIResponse
- type TaobaoLogisticsOrdersDetailGetAPIResponseModel
- type TaobaoLogisticsOrdersGetAPIRequest
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetBuyerNick() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetEndCreated() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetFields() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetFreightPayer() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetOuid() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetPageNo() int64
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetPageSize() int64
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetReceiverName() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetSellerConfirm() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetStartCreated() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetStatus() string
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetTid() int64
- func (r TaobaoLogisticsOrdersGetAPIRequest) GetType() string
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetFreightPayer(_freightPayer string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetOuid(_ouid string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetReceiverName(_receiverName string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetSellerConfirm(_sellerConfirm string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetStartCreated(_startCreated string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoLogisticsOrdersGetAPIRequest) SetType(_type string) error
- type TaobaoLogisticsOrdersGetAPIResponse
- type TaobaoLogisticsOrdersGetAPIResponseModel
- type TaobaoLogisticsPartnersGetAPIRequest
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetGoodsValue() string
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetIsNeedCarriage() bool
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetServiceType() string
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetSourceId() string
- func (r TaobaoLogisticsPartnersGetAPIRequest) GetTargetId() string
- func (r *TaobaoLogisticsPartnersGetAPIRequest) SetGoodsValue(_goodsValue string) error
- func (r *TaobaoLogisticsPartnersGetAPIRequest) SetIsNeedCarriage(_isNeedCarriage bool) error
- func (r *TaobaoLogisticsPartnersGetAPIRequest) SetServiceType(_serviceType string) error
- func (r *TaobaoLogisticsPartnersGetAPIRequest) SetSourceId(_sourceId string) error
- func (r *TaobaoLogisticsPartnersGetAPIRequest) SetTargetId(_targetId string) error
- type TaobaoLogisticsPartnersGetAPIResponse
- type TaobaoLogisticsPartnersGetAPIResponseModel
- type TaobaoLogisticsTraceGetAPIRequest
- func (r TaobaoLogisticsTraceGetAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsTraceGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsTraceGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsTraceGetAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsTraceGetAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsTraceGetAPIResponse
- type TaobaoLogisticsTraceGetAPIResponseModel
- type TaobaoLogisticsTraceSearchAPIRequest
- func (r TaobaoLogisticsTraceSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsTraceSearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsTraceSearchAPIRequest) GetIsSplit() int64
- func (r TaobaoLogisticsTraceSearchAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsTraceSearchAPIRequest) GetSubTid() []string
- func (r TaobaoLogisticsTraceSearchAPIRequest) GetTid() int64
- func (r *TaobaoLogisticsTraceSearchAPIRequest) SetIsSplit(_isSplit int64) error
- func (r *TaobaoLogisticsTraceSearchAPIRequest) SetSubTid(_subTid []string) error
- func (r *TaobaoLogisticsTraceSearchAPIRequest) SetTid(_tid int64) error
- type TaobaoLogisticsTraceSearchAPIResponse
- type TaobaoLogisticsTraceSearchAPIResponseModel
- type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest
- func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetConfirmPackageDeliveryOrderRequest() *ConfirmPackageOrderRequest
- func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetRawParams() model.Params
- func (r *TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) SetConfirmPackageDeliveryOrderRequest(_confirmPackageDeliveryOrderRequest *ConfirmPackageOrderRequest) error
- type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponse
- type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponseModel
- type TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest
- func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetPullPackageDeliveryOrderRequest() *PullPackageOrderRequest
- func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetRawParams() model.Params
- func (r *TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) SetPullPackageDeliveryOrderRequest(_pullPackageDeliveryOrderRequest *PullPackageOrderRequest) error
- type TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponse
- type TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponseModel
- type TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest
- func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetConfirmPackageEntryOrderRequest() *ConfirmPackageOrderRequest
- func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetRawParams() model.Params
- func (r *TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) SetConfirmPackageEntryOrderRequest(_confirmPackageEntryOrderRequest *ConfirmPackageOrderRequest) error
- type TaobaoLogisticsWmsPackageentryorderConfirmAPIResponse
- type TaobaoLogisticsWmsPackageentryorderConfirmAPIResponseModel
- type TaobaoLogisticsWmsPackageentryorderPullAPIRequest
- func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetPullPackageEntryOrderRequest() *PullPackageOrderRequest
- func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetRawParams() model.Params
- func (r *TaobaoLogisticsWmsPackageentryorderPullAPIRequest) SetPullPackageEntryOrderRequest(_pullPackageEntryOrderRequest *PullPackageOrderRequest) error
- type TaobaoLogisticsWmsPackageentryorderPullAPIResponse
- type TaobaoLogisticsWmsPackageentryorderPullAPIResponseModel
- type TaobaoLogisticsWmsPackageexceptionReportAPIRequest
- func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetApiMethodName() string
- func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetRawParams() model.Params
- func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetReportExceptionRequest() *ReportExceptionRequest
- func (r *TaobaoLogisticsWmsPackageexceptionReportAPIRequest) SetReportExceptionRequest(_reportExceptionRequest *ReportExceptionRequest) error
- type TaobaoLogisticsWmsPackageexceptionReportAPIResponse
- type TaobaoLogisticsWmsPackageexceptionReportAPIResponseModel
- type TaobaoWlbOrderJzConsignAPIRequest
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetInsReceiverTo() *JzReceiverTO
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetInsTpDto() *TPDto
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetJzReceiverTo() *JzReceiverTO
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetJzTopArgs() *JzTopArgs
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetLgTpDto() *TPDto
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetSenderId() int64
- func (r TaobaoWlbOrderJzConsignAPIRequest) GetTid() int64
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetInsReceiverTo(_insReceiverTo *JzReceiverTO) error
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetInsTpDto(_insTpDto *TPDto) error
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetJzReceiverTo(_jzReceiverTo *JzReceiverTO) error
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetJzTopArgs(_jzTopArgs *JzTopArgs) error
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetLgTpDto(_lgTpDto *TPDto) error
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetSenderId(_senderId int64) error
- func (r *TaobaoWlbOrderJzConsignAPIRequest) SetTid(_tid int64) error
- type TaobaoWlbOrderJzConsignAPIResponse
- type TaobaoWlbOrderJzConsignAPIResponseModel
- type TaobaoWlbOrderJzQueryAPIRequest
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetInsJzReceiverTO() *JzReceiverTO
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetJzReceiverTo() *JzReceiverTO
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetSenderId() int64
- func (r TaobaoWlbOrderJzQueryAPIRequest) GetTid() int64
- func (r *TaobaoWlbOrderJzQueryAPIRequest) SetInsJzReceiverTO(_insJzReceiverTO *JzReceiverTO) error
- func (r *TaobaoWlbOrderJzQueryAPIRequest) SetJzReceiverTo(_jzReceiverTo *JzReceiverTO) error
- func (r *TaobaoWlbOrderJzQueryAPIRequest) SetSenderId(_senderId int64) error
- func (r *TaobaoWlbOrderJzQueryAPIRequest) SetTid(_tid int64) error
- type TaobaoWlbOrderJzQueryAPIResponse
- type TaobaoWlbOrderJzQueryAPIResponseModel
- type TaobaoWlbStoresBaseinfoGetAPIRequest
- func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetType() int64
- func (r *TaobaoWlbStoresBaseinfoGetAPIRequest) SetType(_type int64) error
- type TaobaoWlbStoresBaseinfoGetAPIResponse
- type TaobaoWlbStoresBaseinfoGetAPIResponseModel
- type TopConsignGoodsRequest
- type TopConsignPkgRequest
- type TopFee
- type TopLogisticsMailDto
- type TopLogisticsNodeDto
- type TransitStepInfo
- type TransitStepResult
- type WriteOffGoodsDto
- type WriteOffOrderDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaAscpLogisticsConsignModifyAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsConsignModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsConsignModifyAPIRequest 修改物流公司和运单号 API请求 alibaba.ascp.logistics.consign.modify
修改物流公司和运单号
func NewAlibabaAscpLogisticsConsignModifyRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsConsignModifyRequest() *AlibabaAscpLogisticsConsignModifyAPIRequest
NewAlibabaAscpLogisticsConsignModifyRequest 初始化AlibabaAscpLogisticsConsignModifyAPIRequest对象
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetFeature ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetFeature() string
GetFeature Feature Getter
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetGoods ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetGoods() *TopConsignGoodsRequest
GetGoods Goods Getter
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetNewCompanyCode ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetNewCompanyCode() string
GetNewCompanyCode NewCompanyCode Getter
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetNewOutSid ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetNewOutSid() string
GetNewOutSid NewOutSid Getter
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetOldCompanyCode ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetOldCompanyCode() string
GetOldCompanyCode OldCompanyCode Getter
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetOldOutSid ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetOldOutSid() string
GetOldOutSid OldOutSid Getter
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsConsignModifyAPIRequest) GetTid ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignModifyAPIRequest) GetTid() string
GetTid Tid Getter
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetFeature ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter feature参数格式,KV之间用“=”分隔,多个key之间用”;”分隔 ,范例: instantMobilePhoneNumber=12345678910表示同城配送物流公司的物流订单收货人手机号,支持11位真实号和15位隐私号"12345678910-1234"。
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetGoods ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetGoods(_goods *TopConsignGoodsRequest) error
SetGoods is Goods Setter 原包裹中的商品信息
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetNewCompanyCode ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetNewCompanyCode(_newCompanyCode string) error
SetNewCompanyCode is NewCompanyCode Setter 新物流公司代码.如"POST"代表中国邮政,"ZJS"代表宅急送。调用 taobao.logistics.companies.get 获取
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetNewOutSid ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetNewOutSid(_newOutSid string) error
SetNewOutSid is NewOutSid Setter 新运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetOldCompanyCode ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetOldCompanyCode(_oldCompanyCode string) error
SetOldCompanyCode is OldCompanyCode Setter 原物流公司代码.如"POST"代表中国邮政,"ZJS"代表宅急送。调用 taobao.logistics.companies.get 获取
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetOldOutSid ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetOldOutSid(_oldOutSid string) error
SetOldOutSid is OldOutSid Setter 原运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入
func (*AlibabaAscpLogisticsConsignModifyAPIRequest) SetTid ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignModifyAPIRequest) SetTid(_tid string) error
SetTid is Tid Setter 订单id
type AlibabaAscpLogisticsConsignModifyAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsConsignModifyAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsConsignModifyAPIResponseModel }
AlibabaAscpLogisticsConsignModifyAPIResponse 修改物流公司和运单号 API返回值 alibaba.ascp.logistics.consign.modify
修改物流公司和运单号
type AlibabaAscpLogisticsConsignModifyAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsConsignModifyAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_consign_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsConsignModifyAPIResponseModel is 修改物流公司和运单号 成功返回结果
type AlibabaAscpLogisticsConsignResendAPIRequest ¶
type AlibabaAscpLogisticsConsignResendAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsConsignResendAPIRequest 修改物流公司和运单号 API请求 alibaba.ascp.logistics.consign.resend
支持卖家发货后修改运单号;支持在线下单和自己联系两种发货方式;使用条件: 1、必须是已发货订单,自己联系发货的必须50天内才可修改;在线下单的,必须下单后物流公司未揽收成功前才可修改; 2、自己联系只能切换为自己联系的公司,在线下单也只能切换为在线下单的物流公司
func NewAlibabaAscpLogisticsConsignResendRequest ¶
func NewAlibabaAscpLogisticsConsignResendRequest() *AlibabaAscpLogisticsConsignResendAPIRequest
NewAlibabaAscpLogisticsConsignResendRequest 初始化AlibabaAscpLogisticsConsignResendAPIRequest对象
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetApiMethodName ¶
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetApiParams ¶
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetConsignPkgs ¶
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetConsignPkgs() []TopConsignPkgRequest
GetConsignPkgs ConsignPkgs Getter
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetFeature ¶ added in v1.2.9
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetFeature() string
GetFeature Feature Getter
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetRawParams ¶
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetSubTids ¶
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetSubTids() string
GetSubTids SubTids Getter
func (AlibabaAscpLogisticsConsignResendAPIRequest) GetTid ¶
func (r AlibabaAscpLogisticsConsignResendAPIRequest) GetTid() string
GetTid Tid Getter
func (*AlibabaAscpLogisticsConsignResendAPIRequest) SetConsignPkgs ¶
func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetConsignPkgs(_consignPkgs []TopConsignPkgRequest) error
SetConsignPkgs is ConsignPkgs Setter 包裹包含的运单号及快递公司编号,多包裹时,需要包含所有包裹的运单号等信息
func (*AlibabaAscpLogisticsConsignResendAPIRequest) SetFeature ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter feature参数格式,KV之间用“=”分隔,多个key之间用”;”分隔 ,范例: instantMobilePhoneNumber=12345678910表示同城配送物流公司的物流订单收货人手机号,支持11位真实号和15位隐私号"12345678910-1234"
func (*AlibabaAscpLogisticsConsignResendAPIRequest) SetSubTids ¶
func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetSubTids(_subTids string) error
SetSubTids is SubTids Setter 拆单子订单列表,对应的数据是:子订单号列表。可以不传,但是如果传了则必须符合传递的规则。子订单必须是操作的物流订单的子订单的真子集
func (*AlibabaAscpLogisticsConsignResendAPIRequest) SetTid ¶
func (r *AlibabaAscpLogisticsConsignResendAPIRequest) SetTid(_tid string) error
SetTid is Tid Setter 订单id
type AlibabaAscpLogisticsConsignResendAPIResponse ¶
type AlibabaAscpLogisticsConsignResendAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsConsignResendAPIResponseModel }
AlibabaAscpLogisticsConsignResendAPIResponse 修改物流公司和运单号 API返回值 alibaba.ascp.logistics.consign.resend
支持卖家发货后修改运单号;支持在线下单和自己联系两种发货方式;使用条件: 1、必须是已发货订单,自己联系发货的必须50天内才可修改;在线下单的,必须下单后物流公司未揽收成功前才可修改; 2、自己联系只能切换为自己联系的公司,在线下单也只能切换为在线下单的物流公司
type AlibabaAscpLogisticsConsignResendAPIResponseModel ¶
type AlibabaAscpLogisticsConsignResendAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_consign_resend_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *AlibabaAscpLogisticsConsignResendResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsConsignResendAPIResponseModel is 修改物流公司和运单号 成功返回结果
type AlibabaAscpLogisticsConsignResendResultDto ¶
type AlibabaAscpLogisticsConsignResendResultDto struct { // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaAscpLogisticsConsignResendResultDto 结构体
type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest 同城配送在线下单正式下单呼叫运力 API请求 alibaba.ascp.logistics.instantsonline.calldelivery
同城配送在线下单正式下单呼叫运力
func NewAlibabaAscpLogisticsInstantsonlineCalldeliveryRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsInstantsonlineCalldeliveryRequest() *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest
NewAlibabaAscpLogisticsInstantsonlineCalldeliveryRequest 初始化AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest对象
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetBizType ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetDefaultGenPickupCode ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetDefaultGenPickupCode() bool
GetDefaultGenPickupCode DefaultGenPickupCode Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetDefaultTradeReceiver ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetDefaultTradeReceiver() bool
GetDefaultTradeReceiver DefaultTradeReceiver Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetGenPickupCodeConfig ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetGenPickupCodeConfig() *GenPickupCodeConfigTopDto
GetGenPickupCodeConfig GenPickupCodeConfig Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetItemList ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetItemList() []ReceiverTopDto
GetItemList ItemList Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetOutOrderId ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetPickupCode ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetPickupCode() string
GetPickupCode PickupCode Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetReceiver ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetReceiver() *ReceiverTopDto
GetReceiver Receiver Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetSelectedResource ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetSelectedResource() *SelectedResourceTopDto
GetSelectedResource SelectedResource Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetSender ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetSender() *SenderTopDto
GetSender Sender Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTid ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTid() int64
GetTid Tid Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalItemActualValue ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalItemActualValue() int64
GetTotalItemActualValue TotalItemActualValue Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalItemValue ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalItemValue() int64
GetTotalItemValue TotalItemValue Getter
func (AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalWeight ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) GetTotalWeight() int64
GetTotalWeight TotalWeight Getter
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetBizType ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务类型,INSTANT_ONLINE:同城配送-在线下单
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetDefaultGenPickupCode ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetDefaultGenPickupCode(_defaultGenPickupCode bool) error
SetDefaultGenPickupCode is DefaultGenPickupCode Setter 默认生成取件码
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetDefaultTradeReceiver ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetDefaultTradeReceiver(_defaultTradeReceiver bool) error
SetDefaultTradeReceiver is DefaultTradeReceiver Setter 是否默认使用订单收货人地址,默认:true可不填写收货联系人
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetGenPickupCodeConfig ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetGenPickupCodeConfig(_genPickupCodeConfig *GenPickupCodeConfigTopDto) error
SetGenPickupCodeConfig is GenPickupCodeConfig Setter 生成取件码配置
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetItemList ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetItemList(_itemList []ReceiverTopDto) error
SetItemList is ItemList Setter 商品清单
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetOutOrderId ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter ERP单号
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetPickupCode ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetPickupCode(_pickupCode string) error
SetPickupCode is PickupCode Setter 指定取件码,不超过16位
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetReceiver ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetReceiver(_receiver *ReceiverTopDto) error
SetReceiver is Receiver Setter 收货联系人
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetSelectedResource ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetSelectedResource(_selectedResource *SelectedResourceTopDto) error
SetSelectedResource is SelectedResource Setter 选择的物流资源
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetSender ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetSender(_sender *SenderTopDto) error
SetSender is Sender Setter 发货联系人
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTid ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订主单号
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalItemActualValue ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalItemActualValue(_totalItemActualValue int64) error
SetTotalItemActualValue is TotalItemActualValue Setter 商品实付总价(总价),单位分
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalItemValue ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalItemValue(_totalItemValue int64) error
SetTotalItemValue is TotalItemValue Setter 商品总价(原价),单位分,默认:商品单价总和
func (*AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalWeight ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest) SetTotalWeight(_totalWeight int64) error
SetTotalWeight is TotalWeight Setter 总重量,单位KG,不超过20KG
type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponseModel }
AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponse 同城配送在线下单正式下单呼叫运力 API返回值 alibaba.ascp.logistics.instantsonline.calldelivery
同城配送在线下单正式下单呼叫运力
type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_instantsonline_calldelivery_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *AlibabaAscpLogisticsInstantsonlineCalldeliveryTopResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponseModel is 同城配送在线下单正式下单呼叫运力 成功返回结果
type AlibabaAscpLogisticsInstantsonlineCalldeliveryTopResult ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCalldeliveryTopResult struct { // 取号流水号 CwOrderId string `json:"cw_order_id,omitempty" xml:"cw_order_id,omitempty"` // 物流单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 资源CODE ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"` // 取件码 PickupCode string `json:"pickup_code,omitempty" xml:"pickup_code,omitempty"` // 扩展 Features string `json:"features,omitempty" xml:"features,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaAscpLogisticsInstantsonlineCalldeliveryTopResult 结构体
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest 同城配送在线下单取消下单取消呼叫的运力 API请求 alibaba.ascp.logistics.instantsonline.canceldelivery
同城配送在线下单取消下单取消呼叫的运力
func NewAlibabaAscpLogisticsInstantsonlineCanceldeliveryRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsInstantsonlineCanceldeliveryRequest() *AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest
NewAlibabaAscpLogisticsInstantsonlineCanceldeliveryRequest 初始化AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest对象
func (AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetBizType ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetOutOrderId ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) SetBizType ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 类型
func (*AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) SetOutOrderId ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter ERP单号
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponseModel }
AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponse 同城配送在线下单取消下单取消呼叫的运力 API返回值 alibaba.ascp.logistics.instantsonline.canceldelivery
同城配送在线下单取消下单取消呼叫的运力
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_instantsonline_canceldelivery_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *AlibabaAscpLogisticsInstantsonlineCanceldeliveryTopResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponseModel is 同城配送在线下单取消下单取消呼叫的运力 成功返回结果
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryTopResult ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCanceldeliveryTopResult struct { // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 是否已取消 Canceled bool `json:"canceled,omitempty" xml:"canceled,omitempty"` }
AlibabaAscpLogisticsInstantsonlineCanceldeliveryTopResult 结构体
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest 同城配送在线下单检查授权 API请求 alibaba.ascp.logistics.instantsonline.checkdeliveryauth
同城配送在线下单检查授权
func NewAlibabaAscpLogisticsInstantsonlineCheckdeliveryauthRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsInstantsonlineCheckdeliveryauthRequest() *AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest
NewAlibabaAscpLogisticsInstantsonlineCheckdeliveryauthRequest 初始化AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest对象
func (AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetBizType ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) SetBizType ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务类型,INSTANT_ONLINE:同城配送-在线下单
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponseModel }
AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponse 同城配送在线下单检查授权 API返回值 alibaba.ascp.logistics.instantsonline.checkdeliveryauth
同城配送在线下单检查授权
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_instantsonline_checkdeliveryauth_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthTopResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponseModel is 同城配送在线下单检查授权 成功返回结果
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthTopResult ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthTopResult struct { // 数据 Data *CheckDeliveryAuthTopResponse `json:"data,omitempty" xml:"data,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthTopResult 结构体
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest 同城配送在线下单获取配送单 API请求 alibaba.ascp.logistics.instantsonline.deliveryorder.get
同城配送在线下单获取配送单
func NewAlibabaAscpLogisticsInstantsonlineDeliveryorderGetRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsInstantsonlineDeliveryorderGetRequest() *AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest
NewAlibabaAscpLogisticsInstantsonlineDeliveryorderGetRequest 初始化AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest对象
func (AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetOutOrderId ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) SetOutOrderId ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter ERP单号
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponseModel }
AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponse 同城配送在线下单获取配送单 API返回值 alibaba.ascp.logistics.instantsonline.deliveryorder.get
同城配送在线下单获取配送单
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_instantsonline_deliveryorder_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *AlibabaAscpLogisticsInstantsonlineDeliveryorderGetTopResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponseModel is 同城配送在线下单获取配送单 成功返回结果
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetTopResult ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlineDeliveryorderGetTopResult struct { // 数据 Data *GetDeliveryOrderTopResponse `json:"data,omitempty" xml:"data,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaAscpLogisticsInstantsonlineDeliveryorderGetTopResult 结构体
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest 同城配送在线下单预询价 API请求 alibaba.ascp.logistics.instantsonline.priorcalldelivery
同城配送在线下单预询价
func NewAlibabaAscpLogisticsInstantsonlinePriorcalldeliveryRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsInstantsonlinePriorcalldeliveryRequest() *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest
NewAlibabaAscpLogisticsInstantsonlinePriorcalldeliveryRequest 初始化AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest对象
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetBizType ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetBizType() string
GetBizType BizType Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetDefaultTradeReceiver ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetDefaultTradeReceiver() bool
GetDefaultTradeReceiver DefaultTradeReceiver Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetItemList ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetItemList() []ItemTopDto
GetItemList ItemList Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetOutOrderId ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetReceiver ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetReceiver() *ReceiverTopDto
GetReceiver Receiver Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetSender ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetSender() *SenderTopDto
GetSender Sender Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTid ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTid() int64
GetTid Tid Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalItemActualValue ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalItemActualValue() int64
GetTotalItemActualValue TotalItemActualValue Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalItemValue ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalItemValue() int64
GetTotalItemValue TotalItemValue Getter
func (AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalWeight ¶ added in v1.2.9
func (r AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) GetTotalWeight() int64
GetTotalWeight TotalWeight Getter
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetBizType ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 业务类型,INSTANT_ONLINE:同城配送-在线下单
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetDefaultTradeReceiver ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetDefaultTradeReceiver(_defaultTradeReceiver bool) error
SetDefaultTradeReceiver is DefaultTradeReceiver Setter 是否默认使用订单收货人地址,默认:true可不填写收货联系人
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetItemList ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetItemList(_itemList []ItemTopDto) error
SetItemList is ItemList Setter 商品清单
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetOutOrderId ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter ERP单号
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetReceiver ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetReceiver(_receiver *ReceiverTopDto) error
SetReceiver is Receiver Setter 收货联系人
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetSender ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetSender(_sender *SenderTopDto) error
SetSender is Sender Setter 发货联系人
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTid ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订主单号
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalItemActualValue ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalItemActualValue(_totalItemActualValue int64) error
SetTotalItemActualValue is TotalItemActualValue Setter 商品实付总价(总价),单位分
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalItemValue ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalItemValue(_totalItemValue int64) error
SetTotalItemValue is TotalItemValue Setter 商品总价(原价),单位分,默认:商品单价总和
func (*AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalWeight ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest) SetTotalWeight(_totalWeight int64) error
SetTotalWeight is TotalWeight Setter 总重量,单位KG,不超过20KG
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponseModel }
AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponse 同城配送在线下单预询价 API返回值 alibaba.ascp.logistics.instantsonline.priorcalldelivery
同城配送在线下单预询价
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_instantsonline_priorcalldelivery_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryTopResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponseModel is 同城配送在线下单预询价 成功返回结果
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryTopResult ¶ added in v1.2.9
type AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryTopResult struct { // 数据 Data *PriorCallDeliveryTopResponse `json:"data,omitempty" xml:"data,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryTopResult 结构体
type AlibabaAscpLogisticsOfflineSendAPIRequest ¶
type AlibabaAscpLogisticsOfflineSendAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsOfflineSendAPIRequest 自己联系物流发货 API请求 alibaba.ascp.logistics.offline.send
用户调用该接口可实现自己联系发货,使用该接口发货,交易订单状态会直接变成卖家已发货
func NewAlibabaAscpLogisticsOfflineSendRequest ¶
func NewAlibabaAscpLogisticsOfflineSendRequest() *AlibabaAscpLogisticsOfflineSendAPIRequest
NewAlibabaAscpLogisticsOfflineSendRequest 初始化AlibabaAscpLogisticsOfflineSendAPIRequest对象
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetApiMethodName ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetApiParams ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetCancelId ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetCancelId() int64
GetCancelId CancelId Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignPkgs ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignPkgs() []TopConsignPkgRequest
GetConsignPkgs ConsignPkgs Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignStatus ¶ added in v1.2.9
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignStatus() *ConsignStatusRequest
GetConsignStatus ConsignStatus Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignType ¶ added in v1.2.9
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetConsignType() int64
GetConsignType ConsignType Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetFeature ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetFeature() string
GetFeature Feature Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetRawParams ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetSenderId ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetSenderId() int64
GetSenderId SenderId Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetSubTid ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetSubTid() string
GetSubTid SubTid Getter
func (AlibabaAscpLogisticsOfflineSendAPIRequest) GetTid ¶
func (r AlibabaAscpLogisticsOfflineSendAPIRequest) GetTid() string
GetTid Tid Getter
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetCancelId ¶
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetCancelId(_cancelId int64) error
SetCancelId is CancelId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。 如果为空,取的卖家的默认退货地址
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignPkgs ¶
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignPkgs(_consignPkgs []TopConsignPkgRequest) error
SetConsignPkgs is ConsignPkgs Setter 包裹信息
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignStatus ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignStatus(_consignStatus *ConsignStatusRequest) error
SetConsignStatus is ConsignStatus Setter 子订单发货状态
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignType ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetConsignType(_consignType int64) error
SetConsignType is ConsignType Setter 发货类型 0:普通发货(老链路) 1: 普通发货(新链路,支持子订单部分发货、成分品发货以及ERP线下赠品发货) 2: 将发货状态从"部分发"修改为"全部发" 3:补发;默认为0
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetFeature ¶
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter feature参数格式 范例: identCode=tid1:识别码1,识别码2|tid2:识别码3;machineCode=tid3:3C机器号A,3C机器号B identCode为识别码的KEY,machineCode为3C的KEY,多个key之间用”;”分隔 “tid1:识别码1,识别码2|tid2:识别码3”为identCode对应的value。 "|"不同商品间的分隔符。 例1商品和2商品,之间就用"|"分开。 TID就是商品代表的子订单号,对应taobao.trade.fullinfo.get 接口获得的oid字段。(通过OID可以唯一定位到当前商品上) ":"TID和具体传入参数间的分隔符。冒号前表示TID,之后代表该商品的参数属性。 "," 属性间分隔符。(对应商品数量,当存在一个商品的数量超过1个时,用逗号分开)。 具体:当订单中A商品的数量为2个,其中手机串号分别为"12345","67890"。 参数格式:identCode=TIDA:12345,67890。 TIDA对应了A宝贝,冒号后用逗号分隔的"12345","67890".说明本订单A宝贝的数量为2,值分别为"12345","67890"。 当存在"|"时,就说明订单中存在多个商品,商品间用"|"分隔了开来。|"之后的内容含义同上。retailStoreId=12345,发货门店ID或仓信息。retailStoreType=STORE: 发货门店类别,STORE表示门店,WAREHOUSE表示电商仓。对于全渠道订单回传的商家,retailStoreId和retailStoreType字段为必填字段。instantMobilePhoneNumber表示同城配送物流公司的物流订单收货人手机号,支持11位真实号和15位隐私号"12345678910-1234"。
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetSenderId ¶
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetSenderId(_senderId int64) error
SetSenderId is SenderId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。如果为空,取的卖家的默认取货地址
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetSubTid ¶
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetSubTid(_subTid string) error
SetSubTid is SubTid Setter 发货的子订单id列表(consign_type = 1、2、3 时不再使用次字段,使用新字段goods代替需要发货的子订单信息)
func (*AlibabaAscpLogisticsOfflineSendAPIRequest) SetTid ¶
func (r *AlibabaAscpLogisticsOfflineSendAPIRequest) SetTid(_tid string) error
SetTid is Tid Setter 淘宝交易ID
type AlibabaAscpLogisticsOfflineSendAPIResponse ¶
type AlibabaAscpLogisticsOfflineSendAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsOfflineSendAPIResponseModel }
AlibabaAscpLogisticsOfflineSendAPIResponse 自己联系物流发货 API返回值 alibaba.ascp.logistics.offline.send
用户调用该接口可实现自己联系发货,使用该接口发货,交易订单状态会直接变成卖家已发货
type AlibabaAscpLogisticsOfflineSendAPIResponseModel ¶
type AlibabaAscpLogisticsOfflineSendAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_offline_send_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *AlibabaAscpLogisticsOfflineSendResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsOfflineSendAPIResponseModel is 自己联系物流发货 成功返回结果
type AlibabaAscpLogisticsOfflineSendResultDto ¶
type AlibabaAscpLogisticsOfflineSendResultDto struct { // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaAscpLogisticsOfflineSendResultDto 结构体
type AlibabaAscpLogisticsSellerOrdersGetAPIRequest ¶
type AlibabaAscpLogisticsSellerOrdersGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsSellerOrdersGetAPIRequest 商家配送核销订单列表查询 API请求 alibaba.ascp.logistics.seller.orders.get
商家配送核销订单列表查询
func NewAlibabaAscpLogisticsSellerOrdersGetRequest ¶
func NewAlibabaAscpLogisticsSellerOrdersGetRequest() *AlibabaAscpLogisticsSellerOrdersGetAPIRequest
NewAlibabaAscpLogisticsSellerOrdersGetRequest 初始化AlibabaAscpLogisticsSellerOrdersGetAPIRequest对象
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetApiParams ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetPageIndex ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetPageSize ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetRawParams ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetReceiveCode ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetReceiveCode() string
GetReceiveCode ReceiveCode Getter
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetTid ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetTid() string
GetTid Tid Getter
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetWriteOffDate ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetWriteOffDate() string
GetWriteOffDate WriteOffDate Getter
func (AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetWriteOffStatus ¶
func (r AlibabaAscpLogisticsSellerOrdersGetAPIRequest) GetWriteOffStatus() string
GetWriteOffStatus WriteOffStatus Getter
func (*AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetPageIndex ¶
func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 分页索引
func (*AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetPageSize ¶
func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小
func (*AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetReceiveCode ¶
func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetReceiveCode(_receiveCode string) error
SetReceiveCode is ReceiveCode Setter 收货码
func (*AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetTid ¶
func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetTid(_tid string) error
SetTid is Tid Setter 淘系交易id
func (*AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetWriteOffDate ¶
func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetWriteOffDate(_writeOffDate string) error
SetWriteOffDate is WriteOffDate Setter 核销日期
func (*AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetWriteOffStatus ¶
func (r *AlibabaAscpLogisticsSellerOrdersGetAPIRequest) SetWriteOffStatus(_writeOffStatus string) error
SetWriteOffStatus is WriteOffStatus Setter 1代表未核销,2代表已核销
type AlibabaAscpLogisticsSellerOrdersGetAPIResponse ¶
type AlibabaAscpLogisticsSellerOrdersGetAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsSellerOrdersGetAPIResponseModel }
AlibabaAscpLogisticsSellerOrdersGetAPIResponse 商家配送核销订单列表查询 API返回值 alibaba.ascp.logistics.seller.orders.get
商家配送核销订单列表查询
type AlibabaAscpLogisticsSellerOrdersGetAPIResponseModel ¶
type AlibabaAscpLogisticsSellerOrdersGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_seller_orders_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsSellerOrdersGetAPIResponseModel is 商家配送核销订单列表查询 成功返回结果
type AlibabaAscpLogisticsSellerSendAPIRequest ¶
type AlibabaAscpLogisticsSellerSendAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsSellerSendAPIRequest 商家配送发货 API请求 alibaba.ascp.logistics.seller.send
该API提供商家配送发货能力,使用该接口发货,交易订单状态会直接变成卖家已发货
func NewAlibabaAscpLogisticsSellerSendRequest ¶
func NewAlibabaAscpLogisticsSellerSendRequest() *AlibabaAscpLogisticsSellerSendAPIRequest
NewAlibabaAscpLogisticsSellerSendRequest 初始化AlibabaAscpLogisticsSellerSendAPIRequest对象
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetApiMethodName ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetApiParams ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetCancelId ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetCancelId() int64
GetCancelId CancelId Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetDeliveryMobile ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetDeliveryMobile() string
GetDeliveryMobile DeliveryMobile Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetDeliveryName ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetDeliveryName() string
GetDeliveryName DeliveryName Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetFeature ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetFeature() string
GetFeature Feature Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetMode ¶ added in v1.2.9
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetMode() string
GetMode Mode Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetRawParams ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetSenderId ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetSenderId() int64
GetSenderId SenderId Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetSubTid ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetSubTid() string
GetSubTid SubTid Getter
func (AlibabaAscpLogisticsSellerSendAPIRequest) GetTid ¶
func (r AlibabaAscpLogisticsSellerSendAPIRequest) GetTid() string
GetTid Tid Getter
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetCancelId ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetCancelId(_cancelId int64) error
SetCancelId is CancelId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。 如果为空,取的卖家的默认退货地址
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetDeliveryMobile ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetDeliveryMobile(_deliveryMobile string) error
SetDeliveryMobile is DeliveryMobile Setter 派送员手机号(支持座机号和400)
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetDeliveryName ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetDeliveryName(_deliveryName string) error
SetDeliveryName is DeliveryName Setter 派送员姓名
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetFeature ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter feature参数格式 范例: identCode=tid1:识别码1,识别码2|tid2:识别码3;machineCode=tid3:3C机器号A,3C机器号B identCode为识别码的KEY,machineCode为3C的KEY,多个key之间用”;”分隔 “tid1:识别码1,识别码2|tid2:识别码3”为identCode对应的value。 "|"不同商品间的分隔符。 例1商品和2商品,之间就用"|"分开。 TID就是商品代表的子订单号,对应taobao.trade.fullinfo.get 接口获得的oid字段。(通过OID可以唯一定位到当前商品上) ":"TID和具体传入参数间的分隔符。冒号前表示TID,之后代表该商品的参数属性。 "," 属性间分隔符。(对应商品数量,当存在一个商品的数量超过1个时,用逗号分开)。 具体:当订单中A商品的数量为2个,其中手机串号分别为"12345","67890"。 参数格式:identCode=TIDA:12345,67890。 TIDA对应了A宝贝,冒号后用逗号分隔的"12345","67890".说明本订单A宝贝的数量为2,值分别为"12345","67890"。 当存在"|"时,就说明订单中存在多个商品,商品间用"|"分隔了开来。|"之后的内容含义同上。retailStoreId=12345,发货门店ID或仓信息。retailStoreType=STORE: 发货门店类别,STORE表示门店,WAREHOUSE表示电商仓。对于全渠道订单回传的商家,retailStoreId和retailStoreType字段为必填字段
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetMode ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetMode(_mode string) error
SetMode is Mode Setter
A(默认,核销签收模式),B(商家回传物流节点模式)
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetSenderId ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetSenderId(_senderId int64) error
SetSenderId is SenderId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。如果为空,取的卖家的默认取货地址
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetSubTid ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetSubTid(_subTid string) error
SetSubTid is SubTid Setter 需要拆单发货的子订单集合,针对的是一笔交易下有多个子订单需要分开发货的场景;1次可传人多个子订单号,子订单间用逗号隔开;为空表示不做拆单发货。
func (*AlibabaAscpLogisticsSellerSendAPIRequest) SetTid ¶
func (r *AlibabaAscpLogisticsSellerSendAPIRequest) SetTid(_tid string) error
SetTid is Tid Setter 淘宝交易ID
type AlibabaAscpLogisticsSellerSendAPIResponse ¶
type AlibabaAscpLogisticsSellerSendAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsSellerSendAPIResponseModel }
AlibabaAscpLogisticsSellerSendAPIResponse 商家配送发货 API返回值 alibaba.ascp.logistics.seller.send
该API提供商家配送发货能力,使用该接口发货,交易订单状态会直接变成卖家已发货
type AlibabaAscpLogisticsSellerSendAPIResponseModel ¶
type AlibabaAscpLogisticsSellerSendAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_seller_send_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // - Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsSellerSendAPIResponseModel is 商家配送发货 成功返回结果
type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest ¶ added in v1.2.9
type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest 商家配送写入物流节点 API请求 alibaba.ascp.logistics.seller.writelogisticsnode
商家配送的订单,商家写入物流节点
func NewAlibabaAscpLogisticsSellerWritelogisticsnodeRequest ¶ added in v1.2.9
func NewAlibabaAscpLogisticsSellerWritelogisticsnodeRequest() *AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest
NewAlibabaAscpLogisticsSellerWritelogisticsnodeRequest 初始化AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest对象
func (AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetApiParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetLpOrderId ¶ added in v1.2.9
func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetLpOrderId() int64
GetLpOrderId LpOrderId Getter
func (AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetNodes ¶ added in v1.2.9
func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetNodes() []LogisticsNodeTopDto
GetNodes Nodes Getter
func (AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetRawParams ¶ added in v1.2.9
func (r AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) SetLpOrderId ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) SetLpOrderId(_lpOrderId int64) error
SetLpOrderId is LpOrderId Setter 物流发货单号
func (*AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) SetNodes ¶ added in v1.2.9
func (r *AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest) SetNodes(_nodes []LogisticsNodeTopDto) error
SetNodes is Nodes Setter 物流节点
type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponse ¶ added in v1.2.9
type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponseModel }
AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponse 商家配送写入物流节点 API返回值 alibaba.ascp.logistics.seller.writelogisticsnode
商家配送的订单,商家写入物流节点
type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponseModel ¶ added in v1.2.9
type AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_seller_writelogisticsnode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *BatchWriteLogisticsNodeTopResponse `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponseModel is 商家配送写入物流节点 成功返回结果
type AlibabaAscpLogisticsSellerWriteoffAPIRequest ¶
type AlibabaAscpLogisticsSellerWriteoffAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpLogisticsSellerWriteoffAPIRequest 商家配送核销 API请求 alibaba.ascp.logistics.seller.writeoff
商家配送核销
func NewAlibabaAscpLogisticsSellerWriteoffRequest ¶
func NewAlibabaAscpLogisticsSellerWriteoffRequest() *AlibabaAscpLogisticsSellerWriteoffAPIRequest
NewAlibabaAscpLogisticsSellerWriteoffRequest 初始化AlibabaAscpLogisticsSellerWriteoffAPIRequest对象
func (AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetApiMethodName ¶
func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetApiParams ¶
func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetLpOrderId ¶
func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetLpOrderId() int64
GetLpOrderId LpOrderId Getter
func (AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetRawParams ¶
func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetReceiveCode ¶
func (r AlibabaAscpLogisticsSellerWriteoffAPIRequest) GetReceiveCode() string
GetReceiveCode ReceiveCode Getter
func (*AlibabaAscpLogisticsSellerWriteoffAPIRequest) SetLpOrderId ¶
func (r *AlibabaAscpLogisticsSellerWriteoffAPIRequest) SetLpOrderId(_lpOrderId int64) error
SetLpOrderId is LpOrderId Setter 所要核销的核销物流单ID,在alibaba.ascp.logistics.seller.orders.get中获取。
func (*AlibabaAscpLogisticsSellerWriteoffAPIRequest) SetReceiveCode ¶
func (r *AlibabaAscpLogisticsSellerWriteoffAPIRequest) SetReceiveCode(_receiveCode string) error
SetReceiveCode is ReceiveCode Setter 核销码
type AlibabaAscpLogisticsSellerWriteoffAPIResponse ¶
type AlibabaAscpLogisticsSellerWriteoffAPIResponse struct { model.CommonResponse AlibabaAscpLogisticsSellerWriteoffAPIResponseModel }
AlibabaAscpLogisticsSellerWriteoffAPIResponse 商家配送核销 API返回值 alibaba.ascp.logistics.seller.writeoff
商家配送核销
type AlibabaAscpLogisticsSellerWriteoffAPIResponseModel ¶
type AlibabaAscpLogisticsSellerWriteoffAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_logistics_seller_writeoff_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作结果 Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpLogisticsSellerWriteoffAPIResponseModel is 商家配送核销 成功返回结果
type Area ¶
type Area struct { // 地域名称.如北京市,杭州市,西湖区,每一个area_id 都代表了一个具体的地区. Name string `json:"name,omitempty" xml:"name,omitempty"` // 具体一个地区的邮编 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 标准行政区域代码.参考:http://www.stats.gov.cn/tjbz/xzqhdm/t20120105_402777427.htm Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 区域类型.area区域 1:country/国家;2:province/省/自治区/直辖市;3:city/地区(省下面的地级市);4:district/县/市(县级市)/区;abroad:海外. 比如北京市的area_type = 2,朝阳区是北京市的一个区,所以朝阳区的area_type = 4. Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 父节点区域标识.如北京市的area_id是110100,朝阳区是北京市的一个区,所以朝阳区的parent_id就是北京市的area_id. ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` }
Area 结构体
type BatchWriteLogisticsNodeTopResponse ¶ added in v1.2.9
type BatchWriteLogisticsNodeTopResponse struct { // true成功,false失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
BatchWriteLogisticsNodeTopResponse 结构体
type CarriageDetail ¶
type CarriageDetail struct { // 破损赔付 DamagePayment string `json:"damage_payment,omitempty" xml:"damage_payment,omitempty"` // 物流公司揽收时间段 GotTime string `json:"got_time,omitempty" xml:"got_time,omitempty"` // 丢单赔付 LostPayment string `json:"lost_payment,omitempty" xml:"lost_payment,omitempty"` // 快件送达所需的时间(单位:天) WayDay string `json:"way_day,omitempty" xml:"way_day,omitempty"` // 续费(单位:元) AddFee int64 `json:"add_fee,omitempty" xml:"add_fee,omitempty"` // 续重(单位:千克) AddWeight int64 `json:"add_weight,omitempty" xml:"add_weight,omitempty"` // 首费(单位:元) InitialFee int64 `json:"initial_fee,omitempty" xml:"initial_fee,omitempty"` // 首重(单位:千克) InitialWeight int64 `json:"initial_weight,omitempty" xml:"initial_weight,omitempty"` }
CarriageDetail 结构体
type CheckDeliveryAuthTopResponse ¶ added in v1.2.9
type CheckDeliveryAuthTopResponse struct { // 扩展 Features string `json:"features,omitempty" xml:"features,omitempty"` // 0正常,1异常 AuthStatus int64 `json:"auth_status,omitempty" xml:"auth_status,omitempty"` }
CheckDeliveryAuthTopResponse 结构体
type ConfirmPackageOrderRequest ¶ added in v1.2.9
type ConfirmPackageOrderRequest struct { // 包裹信息 Packages []PackageDto `json:"packages,omitempty" xml:"packages>package_dto,omitempty"` // 包裹入库单号 DeliveryOrderCode string `json:"delivery_order_code,omitempty" xml:"delivery_order_code,omitempty"` // 业务类型,取值:JYPKZXCK(集运包裹正向出库)、JYPKNXCK(集运包裹逆向出库) OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // 单据状态,取值:confirm(出库确认)、exception(出库异常) OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 业务操作时间 OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"` // 物流主体,例如:TaoTian(淘天) LogisticsOwner string `json:"logistics_owner,omitempty" xml:"logistics_owner,omitempty"` // 异常类型,回传出库异常时必传 【包裹破损】 【撤单拦截】 【出库单异常】 【联系不上商家】 【商家拒绝退回】 【其他原因】 ErrorType string `json:"error_type,omitempty" xml:"error_type,omitempty"` // 异常原因说明,回传出库异常时必传 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 服务商仓code WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // WMS系统作业单号 OuterOrderCode string `json:"outer_order_code,omitempty" xml:"outer_order_code,omitempty"` // 包裹入库单号 EntryOrderCode string `json:"entry_order_code,omitempty" xml:"entry_order_code,omitempty"` }
ConfirmPackageOrderRequest 结构体
type ConsignDto ¶ added in v1.2.9
type ConsignDto struct { // 发货文案描述 ConsignDesc string `json:"consign_desc,omitempty" xml:"consign_desc,omitempty"` // 物流发货单号 LpOrderId int64 `json:"lp_order_id,omitempty" xml:"lp_order_id,omitempty"` }
ConsignDto 结构体
type ConsignStatusRequest ¶ added in v1.2.9
type ConsignStatusRequest struct { // 子订单id(组合品不需要传系统会自动计算) SubTid string `json:"sub_tid,omitempty" xml:"sub_tid,omitempty"` // 子订单是否部分发货,true:部分发货;false:全部发货;周期购、分销订单不支持部分发货 IsPartConsign bool `json:"is_part_consign,omitempty" xml:"is_part_consign,omitempty"` }
ConsignStatusRequest 结构体
type ContactInfo ¶ added in v1.2.9
type ContactInfo struct { // 姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 固定电话 Tel string `json:"tel,omitempty" xml:"tel,omitempty"` // 移动电话 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 省份 Province string `json:"province,omitempty" xml:"province,omitempty"` // 城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 区域 Area string `json:"area,omitempty" xml:"area,omitempty"` // 城镇 Town string `json:"town,omitempty" xml:"town,omitempty"` // 详细地址 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 订单oaid,正向出库时下发 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` }
ContactInfo 结构体
type DeliveryTemplate ¶
type DeliveryTemplate struct { // 运费模板中运费详细信息对象,包含默认运费和指定地区运费 FeeList []TopFee `json:"fee_list,omitempty" xml:"fee_list>top_fee,omitempty"` // 模板创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 模板名称,长度不能超过25个字节 Name string `json:"name,omitempty" xml:"name,omitempty"` // 物流服务模板支持增值服务列表,多个用分号隔开。cod:货到付款 mops:刷卡付款 Supports string `json:"supports,omitempty" xml:"supports,omitempty"` // 模板修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 运费模板上设置的发货地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 模块ID TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` // 可选值:0,1,2,3<br>,说明如下<br>1)买家承担运费的模版<br>0:买家承担服务费<br>1: 卖家承担服务费<br>2)卖家承担运费的模版<br>2:卖家承担运费的模版(集市),卖家承担服务费<br>3:卖家承担运费的模版(天猫),卖家承担服务费<br> Assumer int64 `json:"assumer,omitempty" xml:"assumer,omitempty"` // 可选值:0<br/>说明:<br/>0:表示按宝贝件数计算运费<br/><br/><br/><br/>1:表示按宝贝重量计算运费<br/><br/><br/><br/>3:表示按宝贝体积计算运费 Valuation int64 `json:"valuation,omitempty" xml:"valuation,omitempty"` // 该模板上设置的卖家发货地址区域ID,如:address为浙江省杭州市西湖去文三路XX号那么这个consign_area_id的值就是西湖区的ID ConsignAreaId int64 `json:"consign_area_id,omitempty" xml:"consign_area_id,omitempty"` }
DeliveryTemplate 结构体
type DeliveryTopDto ¶ added in v1.2.9
type DeliveryTopDto struct { // 配送员电话,支持手机、座机、400电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 配送员姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` }
DeliveryTopDto 结构体
type GenPickupCodeConfigTopDto ¶ added in v1.2.9
type GenPickupCodeConfigTopDto struct { // 取件码分组,分组下唯一 Group string `json:"group,omitempty" xml:"group,omitempty"` }
GenPickupCodeConfigTopDto 结构体
type GetDeliveryOrderTopResponse ¶ added in v1.2.9
type GetDeliveryOrderTopResponse struct { // 商品清单 ItemList []ItemTopDto `json:"item_list,omitempty" xml:"item_list>item_top_dto,omitempty"` // 业务流水号 CwOrderId string `json:"cw_order_id,omitempty" xml:"cw_order_id,omitempty"` // 物流单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 取件码 PickupCode string `json:"pickup_code,omitempty" xml:"pickup_code,omitempty"` // ERP单号 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 配送员姓名 DeliveryName string `json:"delivery_name,omitempty" xml:"delivery_name,omitempty"` // 配送员电话 DeliveryPhone string `json:"delivery_phone,omitempty" xml:"delivery_phone,omitempty"` // 扩展 Features string `json:"features,omitempty" xml:"features,omitempty"` // 业务类型,INSTANT_ONLINE:同城配送-在线下单 BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 状态,INIT(初始化),CREATED(已创建),ACCEPTED(骑手已接单),SHIPPING(配送中),SUCCESS(妥投/签收),CANCELED(已取消),ABNORMAL(配送异常),REFUSED(拒收) Status string `json:"status,omitempty" xml:"status,omitempty"` // 淘宝订主单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 发货联系人 Sender *SenderTopDto `json:"sender,omitempty" xml:"sender,omitempty"` // 选择的物流资源 SelectedResource *SelectedResourceTopDto `json:"selected_resource,omitempty" xml:"selected_resource,omitempty"` // 商品总价(原价),单位分,默认:商品单价总和 TotalItemValue int64 `json:"total_item_value,omitempty" xml:"total_item_value,omitempty"` // 商品实付总价(总价),单位分 TotalItemActualValue int64 `json:"total_item_actual_value,omitempty" xml:"total_item_actual_value,omitempty"` // 总重量,单位KG TotalWeight int64 `json:"total_weight,omitempty" xml:"total_weight,omitempty"` }
GetDeliveryOrderTopResponse 结构体
type ItemTopDto ¶ added in v1.2.9
type ItemTopDto struct { // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 商品类目 ItemCate string `json:"item_cate,omitempty" xml:"item_cate,omitempty"` // 商品单价(原价) ItemValue int64 `json:"item_value,omitempty" xml:"item_value,omitempty"` // 商品数量 ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
ItemTopDto 结构体
type JzReceiverTO ¶ added in v1.2.9
type JzReceiverTO struct { // 详细地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 市 City string `json:"city,omitempty" xml:"city,omitempty"` // 收货人名称 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 国家 Country string `json:"country,omitempty" xml:"country,omitempty"` // 区 District string `json:"district,omitempty" xml:"district,omitempty"` // 手机号 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 街道 Street string `json:"street,omitempty" xml:"street,omitempty"` // 座机号 TelePhone string `json:"tele_phone,omitempty" xml:"tele_phone,omitempty"` // 邮编 ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"` }
JzReceiverTO 结构体
type JzTopArgs ¶
type JzTopArgs struct { // 运单号,用快递或商家自有发货时,必填 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 包裹数量 PackageNumber string `json:"package_number,omitempty" xml:"package_number,omitempty"` // 包裹备注 PackageRemark string `json:"package_remark,omitempty" xml:"package_remark,omitempty"` // 包裹体积 PackageVolume string `json:"package_volume,omitempty" xml:"package_volume,omitempty"` // 包裹重量 PackageWeight string `json:"package_weight,omitempty" xml:"package_weight,omitempty"` // 自有物流公司名称 ZyCompany string `json:"zy_company,omitempty" xml:"zy_company,omitempty"` // 自有物流发货时间,时间不能早于当前时间 ZyConsignTime string `json:"zy_consign_time,omitempty" xml:"zy_consign_time,omitempty"` // 自有物流公司电话 ZyPhoneNumber string `json:"zy_phone_number,omitempty" xml:"zy_phone_number,omitempty"` }
JzTopArgs 结构体
type JzTopDto ¶
type JzTopDto struct { // 快递公司列表 Expresses []TPDto `json:"expresses,omitempty" xml:"expresses>tp_dto,omitempty"` // 安装公司列表 InsTps []TPDto `json:"ins_tps,omitempty" xml:"ins_tps>tp_dto,omitempty"` // 物流公司列表 LgCps []TPDto `json:"lg_cps,omitempty" xml:"lg_cps>tp_dto,omitempty"` // 商品对应的服务信息 GoodsRelations string `json:"goods_relations,omitempty" xml:"goods_relations,omitempty"` // 是否支持快递 SupportDelivery bool `json:"support_delivery,omitempty" xml:"support_delivery,omitempty"` // 是否支持安装 SupportInstall bool `json:"support_install,omitempty" xml:"support_install,omitempty"` // 是否支持修改安装地址 SuppModifyInsAdd bool `json:"supp_modify_ins_add,omitempty" xml:"supp_modify_ins_add,omitempty"` }
JzTopDto 结构体
type Location ¶
type Location struct { // 邮政编码 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 详细地址,最大256个字节(128个中文) Address string `json:"address,omitempty" xml:"address,omitempty"` // 所在城市(中文名称) City string `json:"city,omitempty" xml:"city,omitempty"` // 所在省份(中文名称) State string `json:"state,omitempty" xml:"state,omitempty"` // 国家名称 Country string `json:"country,omitempty" xml:"country,omitempty"` // 区/县(只适用于物流API) District string `json:"district,omitempty" xml:"district,omitempty"` }
Location 结构体
type LocationTopDto ¶ added in v1.2.9
type LocationTopDto struct { // 省/直辖市 Province string `json:"province,omitempty" xml:"province,omitempty"` // 地级市 City string `json:"city,omitempty" xml:"city,omitempty"` // 区/县 District string `json:"district,omitempty" xml:"district,omitempty"` // 乡/镇/街道 Town string `json:"town,omitempty" xml:"town,omitempty"` // 经度,高德地图 Lng string `json:"lng,omitempty" xml:"lng,omitempty"` // 纬度,高德地图 Lat string `json:"lat,omitempty" xml:"lat,omitempty"` }
LocationTopDto 结构体
type LogisticsCompany ¶
type LogisticsCompany struct { // 物流公司代码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 物流公司简称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 运单号验证正则表达式 RegMailNo string `json:"reg_mail_no,omitempty" xml:"reg_mail_no,omitempty"` // 物流公司标识 Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
LogisticsCompany 结构体
type LogisticsMail ¶
type LogisticsMail struct { // 运单号.具体一个物流公司的运单号码. OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` }
LogisticsMail 结构体
type LogisticsNodeTopDto ¶ added in v1.2.9
type LogisticsNodeTopDto struct { // ACCEPT(已揽收),TRANSPORT(运输中),DELIVERING(派送中),SIGN(已签收),CANCEL(已取消),FAILED(物流异常) Action string `json:"action,omitempty" xml:"action,omitempty"` // 操作时间戳,精确到毫秒(ms) OperateTime int64 `json:"operate_time,omitempty" xml:"operate_time,omitempty"` // 配送员信息 Delivery *DeliveryTopDto `json:"delivery,omitempty" xml:"delivery,omitempty"` // 货物所在的当前位置 Location *LocationTopDto `json:"location,omitempty" xml:"location,omitempty"` }
LogisticsNodeTopDto 结构体
type LogisticsPartner ¶
type LogisticsPartner struct { // 揽收说明信息 CoverRemark string `json:"cover_remark,omitempty" xml:"cover_remark,omitempty"` // 不可送达的说明信息 UncoverRemark string `json:"uncover_remark,omitempty" xml:"uncover_remark,omitempty"` // 物流公司揽收和资费详细信息 Carriage *CarriageDetail `json:"carriage,omitempty" xml:"carriage,omitempty"` // 物流公司详细信息 Partner *PartnerDetail `json:"partner,omitempty" xml:"partner,omitempty"` }
LogisticsPartner 结构体
type PackageDto ¶ added in v1.2.9
type PackageDto struct { // 正向出库回传二段快递公司 逆向出库回传逆向退货商家仓的快递公司 TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"` // 正向出库回传二段运单号 逆向出库回传逆向退回商家仓的运单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 包裹重量(单位:克),小数点后2位 Weight string `json:"weight,omitempty" xml:"weight,omitempty"` // 包裹长度 (单位:cm),小数点后2位 Length string `json:"length,omitempty" xml:"length,omitempty"` // 包裹宽度 (单位:cm),小数点后2位 Width string `json:"width,omitempty" xml:"width,omitempty"` // 包裹高度(单位:cm),小数点后2位 Height string `json:"height,omitempty" xml:"height,omitempty"` // 包裹仓储单号 PackageLine string `json:"package_line,omitempty" xml:"package_line,omitempty"` // wms出库包裹单号 OutPackageCode string `json:"out_package_code,omitempty" xml:"out_package_code,omitempty"` }
PackageDto 结构体
type PartnerDetail ¶
type PartnerDetail struct { // 物流公司支付宝账号 AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"` // 物流公司代码 CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"` // 物流公司全名 FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"` // 运单号验证正则表达式 RegMailNo string `json:"reg_mail_no,omitempty" xml:"reg_mail_no,omitempty"` // 旺旺id WangwangId string `json:"wangwang_id,omitempty" xml:"wangwang_id,omitempty"` // 物流公司简称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 物流公司id CompanyId int64 `json:"company_id,omitempty" xml:"company_id,omitempty"` }
PartnerDetail 结构体
type PriorCallDeliveryTopResponse ¶ added in v1.2.9
type PriorCallDeliveryTopResponse struct { // 资源列表 ResourceList []ResourceDto `json:"resource_list,omitempty" xml:"resource_list>resource_dto,omitempty"` }
PriorCallDeliveryTopResponse 结构体
type PullPackageOrderRequest ¶ added in v1.2.9
type PullPackageOrderRequest struct { // 业务类型,取值:JYPKZXCK(集运包裹正向出库)、JYPKNXCK(集运包裹逆向出库) OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // 物流主体,例如:TaoTian(淘天) LogisticsOwner string `json:"logistics_owner,omitempty" xml:"logistics_owner,omitempty"` // 服务商仓code WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // 包裹货主 PackageOwnerCode string `json:"package_owner_code,omitempty" xml:"package_owner_code,omitempty"` // 服务提供商 SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"` // 快递单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` }
PullPackageOrderRequest 结构体
type PullPackageOrderResponse ¶ added in v1.2.9
type PullPackageOrderResponse struct { // 包裹出库单号 DeliveryOrderCode string `json:"delivery_order_code,omitempty" xml:"delivery_order_code,omitempty"` // 物流服务商ID MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 主订单id,正向出库时下发 OaidOrderSourceCode string `json:"oaid_order_source_code,omitempty" xml:"oaid_order_source_code,omitempty"` // 拓展字段 ExtendProps string `json:"extend_props,omitempty" xml:"extend_props,omitempty"` // 配送公司 TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"` // 包裹入库单号 EntryOrderCode string `json:"entry_order_code,omitempty" xml:"entry_order_code,omitempty"` // 物流主体,例如:TaoTian(淘天) LogisticsOwner string `json:"logistics_owner,omitempty" xml:"logistics_owner,omitempty"` // 收件人信息,逆向出库时下发 ReceiverInfo *ContactInfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"` }
PullPackageOrderResponse 结构体
type ReceiverTopDto ¶ added in v1.2.9
type ReceiverTopDto struct { // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 联系人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 联系人电话,支持手机、座机 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 地址门牌号 Address string `json:"address,omitempty" xml:"address,omitempty"` // 纬度(高德) Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // 经度(高德) Lng string `json:"lng,omitempty" xml:"lng,omitempty"` // 商品单价(原价) ItemValue int64 `json:"item_value,omitempty" xml:"item_value,omitempty"` // 商品数量 ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
ReceiverTopDto 结构体
type ReportExceptionRequest ¶ added in v1.2.9
type ReportExceptionRequest struct { // 异常包裹图片链接 PackageImage []string `json:"package_image,omitempty" xml:"package_image>string,omitempty"` // 异常类型 ErrorType []string `json:"error_type,omitempty" xml:"error_type>string,omitempty"` // 物流主体 LogisticsOwner string `json:"logistics_owner,omitempty" xml:"logistics_owner,omitempty"` // 物流服务商ID SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"` // 服务商仓code WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // 异常包裹运单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 异常作业单号 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 作业单类型 OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // 异常包裹WMS单据号 OuterOrderCode string `json:"outer_order_code,omitempty" xml:"outer_order_code,omitempty"` // 异常包裹快递公司code TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"` // 异常操作时间 OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"` // 异常包裹寄件人手机号 SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"` // 异常发生的仓内作业节点 WmsOperateNode string `json:"wms_operate_node,omitempty" xml:"wms_operate_node,omitempty"` // 异常操作节点 ErrorOperateStatus string `json:"error_operate_status,omitempty" xml:"error_operate_status,omitempty"` // 异常说明 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 包裹货主 PackageOwnerCode string `json:"package_owner_code,omitempty" xml:"package_owner_code,omitempty"` // 拓展属性 ExtendProps string `json:"extend_props,omitempty" xml:"extend_props,omitempty"` }
ReportExceptionRequest 结构体
type ResourceDto ¶ added in v1.2.9
type ResourceDto struct { // 下单凭证 ResourceRequestId string `json:"resource_request_id,omitempty" xml:"resource_request_id,omitempty"` // 资源CODE,用于发货 ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"` // 资源名称 ResourceName string `json:"resource_name,omitempty" xml:"resource_name,omitempty"` // 费用明细 FeeDetail string `json:"fee_detail,omitempty" xml:"fee_detail,omitempty"` // 失效原因 InvalidReason string `json:"invalid_reason,omitempty" xml:"invalid_reason,omitempty"` // 扩展 Features string `json:"features,omitempty" xml:"features,omitempty"` // 原价 OriginaFee int64 `json:"origina_fee,omitempty" xml:"origina_fee,omitempty"` // 实付价格 ActualFee int64 `json:"actual_fee,omitempty" xml:"actual_fee,omitempty"` // 是否有效 Valid bool `json:"valid,omitempty" xml:"valid,omitempty"` }
ResourceDto 结构体
type ResultDto ¶
type ResultDto struct { // 返回核销订单列表 WriteoffOrderList []WriteOffOrderDto `json:"writeoff_order_list,omitempty" xml:"writeoff_order_list>write_off_order_dto,omitempty"` // - Consign *ConsignDto `json:"consign,omitempty" xml:"consign,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultDto 结构体
type ResultWrappe ¶ added in v1.2.9
type ResultWrappe struct { // 错误编码 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误信息 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultWrappe 结构体
type ResultWrapper ¶ added in v1.2.9
type ResultWrapper struct { // 响应错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 响应错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 业务数据 Data *PullPackageOrderResponse `json:"data,omitempty" xml:"data,omitempty"` // 相应结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultWrapper 结构体
type SelectedResourceTopDto ¶ added in v1.2.9
type SelectedResourceTopDto struct { // 下单凭证 ResourceRequestId string `json:"resource_request_id,omitempty" xml:"resource_request_id,omitempty"` // 资源CODE,用于发货 ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"` // 实付价格 ActualFee int64 `json:"actual_fee,omitempty" xml:"actual_fee,omitempty"` }
SelectedResourceTopDto 结构体
type SenderTopDto ¶ added in v1.2.9
type SenderTopDto struct { // 联系人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 联系人电话,支持手机、座机 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 地址门牌号 Address string `json:"address,omitempty" xml:"address,omitempty"` // 纬度(高德) Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // 经度(高德) Lng string `json:"lng,omitempty" xml:"lng,omitempty"` }
SenderTopDto 结构体
type Shipping ¶
type Shipping struct { // 拆单子订单列表,对应的数据是:该物流订单下的全部子订单 SubTids []int64 `json:"sub_tids,omitempty" xml:"sub_tids>int64,omitempty"` // 物流订单编号 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 预约取货开始时间 DeliveryStart string `json:"delivery_start,omitempty" xml:"delivery_start,omitempty"` // 预约取货结束时间 DeliveryEnd string `json:"delivery_end,omitempty" xml:"delivery_end,omitempty"` // 运单号.具体一个物流公司的运单号码. OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 货物名称 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 收件人姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 运单创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 运单修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 物流订单状态,可选值:CREATED(订单已创建) RECREATED(订单重新创建) CANCELLED(订单已取消) CLOSED(订单关闭) SENDING(等候发送给物流公司) ACCEPTING(已发送给物流公司,等待接单) ACCEPTED(物流公司已接单) REJECTED(物流公司不接单) PICK_UP(物流公司揽收成功) PICK_UP_FAILED(物流公司揽收失败) LOST(物流公司丢单) REJECTED_BY_RECEIVER(对方拒签) ACCEPTED_BY_RECEIVER(发货方式在线下单:对方已签收;自己联系:卖家已发货) Status string `json:"status,omitempty" xml:"status,omitempty"` // 物流方式.可选值:free(卖家包邮),post(平邮),express(快递),ems(EMS). Type string `json:"type,omitempty" xml:"type,omitempty"` // 谁承担运费.可选值:buyer(买家承担),seller(卖家承担运费). FreightPayer string `json:"freight_payer,omitempty" xml:"freight_payer,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 卖家是否确认发货.可选值:yes(是),no(否). SellerConfirm string `json:"seller_confirm,omitempty" xml:"seller_confirm,omitempty"` // ouid Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"` // 1111 Openuid string `json:"openuid,omitempty" xml:"openuid,omitempty"` // 交易ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 表明是否是拆单,默认值0,1表示拆单 IsSplit int64 `json:"is_split,omitempty" xml:"is_split,omitempty"` // 返回发货是否成功。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
Shipping 结构体
type SingleResultDto ¶
type SingleResultDto struct { // 拆单子订单列表,对应的数据是:该物流订单下的全部子订单 SubTids []int64 `json:"sub_tids,omitempty" xml:"sub_tids>int64,omitempty"` // 包裹信息,包含运单号及快递公司 Mails []LogisticsMail `json:"mails,omitempty" xml:"mails>logistics_mail,omitempty"` // 物流订单编号 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 预约取货开始时间 DeliveryStart string `json:"delivery_start,omitempty" xml:"delivery_start,omitempty"` // 预约取货结束时间 DeliveryEnd string `json:"delivery_end,omitempty" xml:"delivery_end,omitempty"` // 运单号.具体一个物流公司的运单号码. OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 货物名称 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 收件人姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 收件人电话 ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"` // 收件人手机号码 ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"` // 运单创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 运单修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 物流订单状态,可选值:CREATED(订单已创建) RECREATED(订单重新创建) CANCELLED(订单已取消) CLOSED(订单关闭) SENDING(等候发送给物流公司) ACCEPTING(已发送给物流公司,等待接单) ACCEPTED(物流公司已接单) REJECTED(物流公司不接单) PICK_UP(物流公司揽收成功) PICK_UP_FAILED(物流公司揽收失败) LOST(物流公司丢单) REJECTED_BY_RECEIVER(对方拒签) ACCEPTED_BY_RECEIVER(发货方式在线下单:对方已签收;自己联系:卖家已发货) Status string `json:"status,omitempty" xml:"status,omitempty"` // 物流方式.可选值:free(卖家包邮),post(平邮),express(快递),ems(EMS). Type string `json:"type,omitempty" xml:"type,omitempty"` // 谁承担运费.可选值:buyer(买家承担),seller(卖家承担运费). FreightPayer string `json:"freight_payer,omitempty" xml:"freight_payer,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 卖家是否确认发货.可选值:yes(是),no(否). SellerConfirm string `json:"seller_confirm,omitempty" xml:"seller_confirm,omitempty"` // ouid Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"` // 脱敏收件人电话 ReceiverPhoneNew string `json:"receiver_phone_new,omitempty" xml:"receiver_phone_new,omitempty"` // 脱敏收件人手机号码 ReceiverMobileNew string `json:"receiver_mobile_new,omitempty" xml:"receiver_mobile_new,omitempty"` // 买家的openuid Openuid string `json:"openuid,omitempty" xml:"openuid,omitempty"` // 交易ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 收件人地址信息(在传输请求参数Fields字段时,必须使用“receiver_location”才能返回此字段) Location *Location `json:"location,omitempty" xml:"location,omitempty"` // 表明是否是拆单,默认值0,1表示拆单 IsSplit int64 `json:"is_split,omitempty" xml:"is_split,omitempty"` // 标示为是否快捷COD订单 IsQuickCodOrder bool `json:"is_quick_cod_order,omitempty" xml:"is_quick_cod_order,omitempty"` }
SingleResultDto 结构体
type StoreInfo ¶
type StoreInfo struct { // 仓库真实名字 RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"` // XXX果园 Name string `json:"name,omitempty" xml:"name,omitempty"` // 仓库服务代码 ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"` // 详细地址 Address string `json:"address,omitempty" xml:"address,omitempty"` }
StoreInfo 结构体
type TPDto ¶ added in v1.2.9
type TPDto struct { // 公司编码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 公司名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 是否商家绑定的默认安装公司 IsDefault bool `json:"is_default,omitempty" xml:"is_default,omitempty"` }
TPDto 结构体
type TaobaoAreasGetAPIRequest ¶
TaobaoAreasGetAPIRequest 查询地址区域 API请求 taobao.areas.get
查询标准地址区域代码信息。可以直接参考最新的行政区域代码: <a href="http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/" target="_blank"> http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/</a>
func NewTaobaoAreasGetRequest ¶
func NewTaobaoAreasGetRequest() *TaobaoAreasGetAPIRequest
NewTaobaoAreasGetRequest 初始化TaobaoAreasGetAPIRequest对象
func (TaobaoAreasGetAPIRequest) GetApiMethodName ¶
func (r TaobaoAreasGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAreasGetAPIRequest) GetApiParams ¶
func (r TaobaoAreasGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAreasGetAPIRequest) GetFields ¶
func (r TaobaoAreasGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoAreasGetAPIRequest) GetRawParams ¶
func (r TaobaoAreasGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAreasGetAPIRequest) SetFields ¶
func (r *TaobaoAreasGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Area 结构中的所有字段;多个字段之间用","分隔.如:id,type,name,parent_id,zip.
type TaobaoAreasGetAPIResponse ¶
type TaobaoAreasGetAPIResponse struct { model.CommonResponse TaobaoAreasGetAPIResponseModel }
TaobaoAreasGetAPIResponse 查询地址区域 API返回值 taobao.areas.get
查询标准地址区域代码信息。可以直接参考最新的行政区域代码: <a href="http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/" target="_blank"> http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/</a>
type TaobaoAreasGetAPIResponseModel ¶
type TaobaoAreasGetAPIResponseModel struct { XMLName xml.Name `xml:"areas_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 地址区域信息列表.返回的Area包含的具体信息为入参fields请求的字段信息 。 Areas []Area `json:"areas,omitempty" xml:"areas>area,omitempty"` }
TaobaoAreasGetAPIResponseModel is 查询地址区域 成功返回结果
type TaobaoDeliveryTemplateAddAPIRequest ¶
type TaobaoDeliveryTemplateAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDeliveryTemplateAddAPIRequest 新增运费模板 API请求 taobao.delivery.template.add
增加运费模板的外部接口
func NewTaobaoDeliveryTemplateAddRequest ¶
func NewTaobaoDeliveryTemplateAddRequest() *TaobaoDeliveryTemplateAddAPIRequest
NewTaobaoDeliveryTemplateAddRequest 初始化TaobaoDeliveryTemplateAddAPIRequest对象
func (TaobaoDeliveryTemplateAddAPIRequest) GetApiMethodName ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDeliveryTemplateAddAPIRequest) GetApiParams ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDeliveryTemplateAddAPIRequest) GetAssumer ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetAssumer() int64
GetAssumer Assumer Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetConsignAreaId ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetConsignAreaId() int64
GetConsignAreaId ConsignAreaId Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetName ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetRawParams ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoDeliveryTemplateAddAPIRequest) GetTemplateAddFees ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateAddFees() string
GetTemplateAddFees TemplateAddFees Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetTemplateAddStandards ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateAddStandards() string
GetTemplateAddStandards TemplateAddStandards Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetTemplateDests ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateDests() string
GetTemplateDests TemplateDests Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetTemplateStartFees ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateStartFees() string
GetTemplateStartFees TemplateStartFees Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetTemplateStartStandards ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateStartStandards() string
GetTemplateStartStandards TemplateStartStandards Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetTemplateTypes ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetTemplateTypes() string
GetTemplateTypes TemplateTypes Getter
func (TaobaoDeliveryTemplateAddAPIRequest) GetValuation ¶
func (r TaobaoDeliveryTemplateAddAPIRequest) GetValuation() int64
GetValuation Valuation Getter
func (*TaobaoDeliveryTemplateAddAPIRequest) SetAssumer ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetAssumer(_assumer int64) error
SetAssumer is Assumer Setter 可选值:0、1 ,说明如下<br>0:表示买家承担服务费;<br>1:表示卖家承担服务费
func (*TaobaoDeliveryTemplateAddAPIRequest) SetConsignAreaId ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetConsignAreaId(_consignAreaId int64) error
SetConsignAreaId is ConsignAreaId Setter 卖家发货地址区域ID<br/><br/><br/><font color=blue>可以不填,如果没有填写取卖家默认发货地址的区域ID,如果需要输入必须用taobao.areas.get接口获取.或者参考:http://www.stats.gov.cn/tjbz/xzqhdm/t20080215_402462675.htm <br/></font><br/><br/><br/><br/><font color=red>注意:填入该值时必须取您的发货地址最小区域级别ID,比如您的发货地址是:某省XX市xx区(县)时需要填入区(县)的ID,当然有些地方没有区或县可以直接填市级别的ID</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetName ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetName(_name string) error
SetName is Name Setter 运费模板的名称,长度不能超过50个字节
func (*TaobaoDeliveryTemplateAddAPIRequest) SetTemplateAddFees ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateAddFees(_templateAddFees string) error
SetTemplateAddFees is TemplateAddFees Setter 增费:输入0.00-999.99(最多包含两位小数)<br/><br/><br/><br/><font color=blue>增费必须小于等于首费,但是当首费为0时增费可以大于首费</font><br/><br/><br/><br/><br/><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetTemplateAddStandards ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateAddStandards(_templateAddStandards string) error
SetTemplateAddStandards is TemplateAddStandards Setter 增费标准:当valuation(记价方式)为0时输入1-9999范围内的整数<br/><font color=red>当valuation(记价方式)为1时输入0.1-9999.9范围内的小数只能包含以为小数(单位为千克)<br/><font color=blue>当valuation(记价方式)为3时输入0.1-999.9范围内的数值,数值只能包含一位小数(单位为 立方米)<br/><br><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetTemplateDests ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateDests(_templateDests string) error
SetTemplateDests is TemplateDests Setter 邮费子项涉及的地区.结构: value1;value2;value3,value4<br>如:1,110000;1,110000;1,310000;1,320000,330000。 aredId解释(1=全国,110000=北京,310000=上海,320000=江苏,330000=浙江)如果template_types设置为post;ems;exmpress;cod则表示为平邮(post)指定默认地区(全国)和北京地区的运费;其他的类似以分号区分一一对应<br/>可以用taobao.areas.get接口获取.或者参考:http://www.stats.gov.cn/tjbz/xzqhdm/t20080215_402462675.htm<br/><br/><font color=red>每个运费方式设置涉及的地区中必须包含全国地区(areaId=1)表示默认运费,可以只设置默认运费</font><br><font color=blue>注意:为多个地区指定指定不同(首费标准、首费、增费标准、增费一项不一样就算不同)的运费以逗号","区分,template_start_standards(首费标准)、template_start_fees(首费)、template_add_standards(增费标准)、template_add_fees(增费)必须与template_types分号数量相同。如果为需要为多个地区指定相同运费则地区之间用“|”隔开即可。</font><font color=red>如果卖家没有传入发货地址则默认地址库的发货地址</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetTemplateStartFees ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateStartFees(_templateStartFees string) error
SetTemplateStartFees is TemplateStartFees Setter 首费:输入0.00-999.99(最多包含两位小数)<br/><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetTemplateStartStandards ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateStartStandards(_templateStartStandards string) error
SetTemplateStartStandards is TemplateStartStandards Setter 首费标准:当valuation(记价方式)为0时输入1-9999范围内的整数<br/><font color=red>当valuation(记价方式)为1时输入0.1-9999.9范围内的小数只能包含以为小数(单位为千克)<br/><font color=blue>当valuation(记价方式)为3时输入0.1-999.9范围内的数值,数值只能包含一位小数(单位为 立方米)<br/><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetTemplateTypes ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetTemplateTypes(_templateTypes string) error
SetTemplateTypes is TemplateTypes Setter 运费方式:平邮 (post),快递公司(express),EMS (ems),货到付款(cod),物流宝保障速递(wlb),家装物流(furniture)结构:value1;value2;value3;value4 如: post;express;ems;cod <br/><font color=red>注意:在添加多个运费方式时,字符串中使用 ";" 分号区分。template_dests(指定地区)template_start_standards(首费标准)、template_start_fees(首费)、template_add_standards(增费标准)、template_add_fees(增费)必须与template_types的分号数量相同. </font><br><font color=blue>注意:<br/>1、post,ems,express三种运费方式必须填写一个<br/>2、只有订购了货到付款用户可以填cod;只有家装物流用户可以填写furniture只有订购了保障速递的用户可以填写bzsd,只有物流宝用户可以填写wlb<br/>3、如果是货到付款用户当没有填写cod运送方式时,运费模板会默认继承express的费用为cod的费用<br/>4、如果是保障速递户当没有填写bzsd运送方式时,运费模板会默认继承express的费用为bzsd的费用<br/>5、由于3和4的原因所以当是货到付款用户或保障速递用户时如果没填写对应的运送方式express是必须填写的</font>
func (*TaobaoDeliveryTemplateAddAPIRequest) SetValuation ¶
func (r *TaobaoDeliveryTemplateAddAPIRequest) SetValuation(_valuation int64) error
SetValuation is Valuation Setter 可选值:0、1、3,说明如下。<br>0:表示按宝贝件数计算运费 <br>1:表示按宝贝重量计算运费 <br>3:表示按宝贝体积计算运费
type TaobaoDeliveryTemplateAddAPIResponse ¶
type TaobaoDeliveryTemplateAddAPIResponse struct { model.CommonResponse TaobaoDeliveryTemplateAddAPIResponseModel }
TaobaoDeliveryTemplateAddAPIResponse 新增运费模板 API返回值 taobao.delivery.template.add
增加运费模板的外部接口
type TaobaoDeliveryTemplateAddAPIResponseModel ¶
type TaobaoDeliveryTemplateAddAPIResponseModel struct { XMLName xml.Name `xml:"delivery_template_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 模板对象 DeliveryTemplate *DeliveryTemplate `json:"delivery_template,omitempty" xml:"delivery_template,omitempty"` }
TaobaoDeliveryTemplateAddAPIResponseModel is 新增运费模板 成功返回结果
type TaobaoDeliveryTemplateDeleteAPIRequest ¶
type TaobaoDeliveryTemplateDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDeliveryTemplateDeleteAPIRequest 删除运费模板 API请求 taobao.delivery.template.delete
根据用户指定的模板ID删除指定的模板
func NewTaobaoDeliveryTemplateDeleteRequest ¶
func NewTaobaoDeliveryTemplateDeleteRequest() *TaobaoDeliveryTemplateDeleteAPIRequest
NewTaobaoDeliveryTemplateDeleteRequest 初始化TaobaoDeliveryTemplateDeleteAPIRequest对象
func (TaobaoDeliveryTemplateDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDeliveryTemplateDeleteAPIRequest) GetApiParams ¶
func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDeliveryTemplateDeleteAPIRequest) GetRawParams ¶
func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoDeliveryTemplateDeleteAPIRequest) GetTemplateId ¶
func (r TaobaoDeliveryTemplateDeleteAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (*TaobaoDeliveryTemplateDeleteAPIRequest) SetTemplateId ¶
func (r *TaobaoDeliveryTemplateDeleteAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 运费模板ID
type TaobaoDeliveryTemplateDeleteAPIResponse ¶
type TaobaoDeliveryTemplateDeleteAPIResponse struct { model.CommonResponse TaobaoDeliveryTemplateDeleteAPIResponseModel }
TaobaoDeliveryTemplateDeleteAPIResponse 删除运费模板 API返回值 taobao.delivery.template.delete
根据用户指定的模板ID删除指定的模板
type TaobaoDeliveryTemplateDeleteAPIResponseModel ¶
type TaobaoDeliveryTemplateDeleteAPIResponseModel struct { XMLName xml.Name `xml:"delivery_template_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 表示删除成功还是失败 Complete bool `json:"complete,omitempty" xml:"complete,omitempty"` }
TaobaoDeliveryTemplateDeleteAPIResponseModel is 删除运费模板 成功返回结果
type TaobaoDeliveryTemplateGetAPIRequest ¶
type TaobaoDeliveryTemplateGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDeliveryTemplateGetAPIRequest 获取用户指定运费模板信息 API请求 taobao.delivery.template.get
获取用户指定运费模板信息
func NewTaobaoDeliveryTemplateGetRequest ¶
func NewTaobaoDeliveryTemplateGetRequest() *TaobaoDeliveryTemplateGetAPIRequest
NewTaobaoDeliveryTemplateGetRequest 初始化TaobaoDeliveryTemplateGetAPIRequest对象
func (TaobaoDeliveryTemplateGetAPIRequest) GetApiMethodName ¶
func (r TaobaoDeliveryTemplateGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDeliveryTemplateGetAPIRequest) GetApiParams ¶
func (r TaobaoDeliveryTemplateGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDeliveryTemplateGetAPIRequest) GetFields ¶
func (r TaobaoDeliveryTemplateGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoDeliveryTemplateGetAPIRequest) GetRawParams ¶
func (r TaobaoDeliveryTemplateGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoDeliveryTemplateGetAPIRequest) GetTemplateIds ¶
func (r TaobaoDeliveryTemplateGetAPIRequest) GetTemplateIds() []string
GetTemplateIds TemplateIds Getter
func (TaobaoDeliveryTemplateGetAPIRequest) GetUserNick ¶
func (r TaobaoDeliveryTemplateGetAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoDeliveryTemplateGetAPIRequest) SetFields ¶
func (r *TaobaoDeliveryTemplateGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需返回的字段列表。 <br/> <br/><B><br/>可选值:示例中的值;各字段之间用","隔开<br/></B><br/><br/><br/> <br/><font color=blue><br/>template_id:查询模板ID <br/> <br/>template_name:查询模板名称 <br/> <br/>assumer:查询服务承担放 <br/> <br/>valuation:查询计价规则 <br/> <br/>supports:查询增值服务列表 <br/> <br/>created:查询模板创建时间 <br/> <br/>modified:查询修改时间<br/> <br/>consign_area_id:运费模板上设置的卖家发货地址最小级别ID<br/> <br/>address:卖家地址信息<br/></font><br/><br/><br/> <br/><font color=bule><br/>query_cod:查询货到付款运费信息<br/> <br/>query_post:查询平邮运费信息 <br/> <br/>query_express:查询快递公司运费信息 <br/> <br/>query_ems:查询EMS运费信息<br/> <br/>query_bzsd:查询普通保障速递运费信息<br/> <br/>query_wlb:查询物流宝保障速递运费信息<br/> <br/>query_furniture:查询家装物流运费信息<br/><font color=blue><br/><br/><br/><br/><font color=red>不能有空格</font>
func (*TaobaoDeliveryTemplateGetAPIRequest) SetTemplateIds ¶
func (r *TaobaoDeliveryTemplateGetAPIRequest) SetTemplateIds(_templateIds []string) error
SetTemplateIds is TemplateIds Setter 需要查询的运费模板ID列表
func (*TaobaoDeliveryTemplateGetAPIRequest) SetUserNick ¶
func (r *TaobaoDeliveryTemplateGetAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 在没有登录的情况下根据淘宝用户昵称查询指定的模板
type TaobaoDeliveryTemplateGetAPIResponse ¶
type TaobaoDeliveryTemplateGetAPIResponse struct { model.CommonResponse TaobaoDeliveryTemplateGetAPIResponseModel }
TaobaoDeliveryTemplateGetAPIResponse 获取用户指定运费模板信息 API返回值 taobao.delivery.template.get
获取用户指定运费模板信息
type TaobaoDeliveryTemplateGetAPIResponseModel ¶
type TaobaoDeliveryTemplateGetAPIResponseModel struct { XMLName xml.Name `xml:"delivery_template_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 运费模板列表 DeliveryTemplates []DeliveryTemplate `json:"delivery_templates,omitempty" xml:"delivery_templates>delivery_template,omitempty"` // 获得到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoDeliveryTemplateGetAPIResponseModel is 获取用户指定运费模板信息 成功返回结果
type TaobaoDeliveryTemplateUpdateAPIRequest ¶
type TaobaoDeliveryTemplateUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDeliveryTemplateUpdateAPIRequest 修改运费模板 API请求 taobao.delivery.template.update
修改运费模板
func NewTaobaoDeliveryTemplateUpdateRequest ¶
func NewTaobaoDeliveryTemplateUpdateRequest() *TaobaoDeliveryTemplateUpdateAPIRequest
NewTaobaoDeliveryTemplateUpdateRequest 初始化TaobaoDeliveryTemplateUpdateAPIRequest对象
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetApiParams ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetAssumer ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetAssumer() int64
GetAssumer Assumer Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetName ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetRawParams ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateAddFees ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateAddFees() string
GetTemplateAddFees TemplateAddFees Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateAddStandards ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateAddStandards() string
GetTemplateAddStandards TemplateAddStandards Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateDests ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateDests() string
GetTemplateDests TemplateDests Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateId ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateStartFees ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateStartFees() string
GetTemplateStartFees TemplateStartFees Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateStartStandards ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateStartStandards() string
GetTemplateStartStandards TemplateStartStandards Getter
func (TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateTypes ¶
func (r TaobaoDeliveryTemplateUpdateAPIRequest) GetTemplateTypes() string
GetTemplateTypes TemplateTypes Getter
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetAssumer ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetAssumer(_assumer int64) error
SetAssumer is Assumer Setter 可选值:0,1 <br> 说明<br>0:表示买家承担服务费;<br>1:表示卖家承担服务费
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetName ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 模板名称,长度不能大于50个字节
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateAddFees ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateAddFees(_templateAddFees string) error
SetTemplateAddFees is TemplateAddFees Setter 增费:输入0.00-999.99(最多包含两位小数)<br/><font color=blue>增费可以为0</font><br/><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateAddStandards ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateAddStandards(_templateAddStandards string) error
SetTemplateAddStandards is TemplateAddStandards Setter 增费标准:当valuation(记价方式)为0时输入1-9999范围内的整数<br><font color=blue>增费标准目前只能为1</font><br><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateDests ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateDests(_templateDests string) error
SetTemplateDests is TemplateDests Setter 邮费子项涉及的地区.结构: value1;value2;value3,value4<br>如:1,110000;1,110000;1,310000;1,320000,330000。 aredId解释(1=全国,110000=北京,310000=上海,320000=江苏,330000=浙江)如果template_types设置为post;ems;exmpress;cod则表示为平邮(post)指定默认地区(全国)和北京地区的运费;其他的类似以分号区分一一对应<br/>可以用taobao.areas.get接口获取.或者参考:http://www.stats.gov.cn/tjbz/xzqhdm/t20080215_402462675.htm<br/><font color=red>每个运费方式设置的设涉及地区中必须包含全国地区(areaId=1)表示默认运费,可以只设置默认运费</font><br><font color=blue>注意:为多个地区指定指定不同(首费标准、首费、增费标准、增费一项不一样就算不同)的运费以逗号","区分,template_start_standards(首费标准)、template_start_fees(首费)、template_add_standards(增费标准)、template_add_fees(增费)必须与template_types分号数量相同。如果为需要为多个地区指定相同运费则地区之间用“|”隔开即可。</font>
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateId ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 需要修改的模板对应的模板ID
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateStartFees ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateStartFees(_templateStartFees string) error
SetTemplateStartFees is TemplateStartFees Setter 首费:输入0.01-999.99(最多包含两位小数)<br/><br/><font color=blue> 首费不能为0</font><br><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateStartStandards ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateStartStandards(_templateStartStandards string) error
SetTemplateStartStandards is TemplateStartStandards Setter 首费标准:当valuation(记价方式)为0时输入1-9999范围内的整数<br><font color=blue>首费标准目前只能为1</br><br><font color=red>输入的格式分号个数和template_types数量一致,逗号个数必须与template_dests以分号隔开之后一一对应的数量一致</font>
func (*TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateTypes ¶
func (r *TaobaoDeliveryTemplateUpdateAPIRequest) SetTemplateTypes(_templateTypes string) error
SetTemplateTypes is TemplateTypes Setter 运费方式:平邮 (post),快递公司(express),EMS (ems),货到付款(cod)结构:value1;value2;value3;value4 <br/>如: post;express;ems;cod <br/><br/><font color=red><br/>注意:在添加多个运费方式时,字符串中使用 ";" 分号区分。template_dests(指定地区) template_start_standards(首费标准)、template_start_fees(首费)、template_add_standards(增费标准)、template_add_fees(增费)必须与template_types的分号数量相同. <br/> </font><br/><br/><br/><font color=blue><br/>普通用户:post,ems,express三种运费方式必须填写一个,不能填写cod。<br/>货到付款用户:如果填写了cod运费方式,则post,ems,express三种运费方式也必须填写一个,如果没有填写cod则填写的运费方式中必须存在express</font>
type TaobaoDeliveryTemplateUpdateAPIResponse ¶
type TaobaoDeliveryTemplateUpdateAPIResponse struct { model.CommonResponse TaobaoDeliveryTemplateUpdateAPIResponseModel }
TaobaoDeliveryTemplateUpdateAPIResponse 修改运费模板 API返回值 taobao.delivery.template.update
修改运费模板
type TaobaoDeliveryTemplateUpdateAPIResponseModel ¶
type TaobaoDeliveryTemplateUpdateAPIResponseModel struct { XMLName xml.Name `xml:"delivery_template_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 表示修改是否成功 Complete bool `json:"complete,omitempty" xml:"complete,omitempty"` }
TaobaoDeliveryTemplateUpdateAPIResponseModel is 修改运费模板 成功返回结果
type TaobaoDeliveryTemplatesGetAPIRequest ¶
type TaobaoDeliveryTemplatesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDeliveryTemplatesGetAPIRequest 获取用户下所有模板 API请求 taobao.delivery.templates.get
根据用户ID获取用户下所有模板
func NewTaobaoDeliveryTemplatesGetRequest ¶
func NewTaobaoDeliveryTemplatesGetRequest() *TaobaoDeliveryTemplatesGetAPIRequest
NewTaobaoDeliveryTemplatesGetRequest 初始化TaobaoDeliveryTemplatesGetAPIRequest对象
func (TaobaoDeliveryTemplatesGetAPIRequest) GetApiMethodName ¶
func (r TaobaoDeliveryTemplatesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDeliveryTemplatesGetAPIRequest) GetApiParams ¶
func (r TaobaoDeliveryTemplatesGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDeliveryTemplatesGetAPIRequest) GetFields ¶
func (r TaobaoDeliveryTemplatesGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoDeliveryTemplatesGetAPIRequest) GetRawParams ¶
func (r TaobaoDeliveryTemplatesGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoDeliveryTemplatesGetAPIRequest) SetFields ¶
func (r *TaobaoDeliveryTemplatesGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表。 <br/> <br/><B><br/>可选值:示例中的值;各字段之间用","隔开<br/></B><br/><br/><br/> <br/><font color=blue><br/>template_id:查询模板ID <br/> <br/>template_name:查询模板名称 <br/> <br/>assumer:查询服务承担放 <br/> <br/>valuation:查询计价规则 <br/> <br/>supports:查询增值服务列表 <br/> <br/>created:查询模板创建时间 <br/> <br/>modified:查询修改时间<br/> <br/>consign_area_id:运费模板上设置的卖家发货地址最小级别ID<br/> <br/>address:卖家地址信息<br/></font><br/><br/><br/> <br/><font color=bule><br/>query_cod:查询货到付款运费信息<br/> <br/>query_post:查询平邮运费信息 <br/> <br/>query_express:查询快递公司运费信息 <br/> <br/>query_ems:查询EMS运费信息<br/> <br/>query_bzsd:查询普通保障速递运费信息<br/> <br/>query_wlb:查询物流宝保障速递运费信息<br/> <br/>query_furniture:查询家装物流运费信息<br/><font color=blue><br/><br/><br/><br/><font color=red>不能有空格</font>
type TaobaoDeliveryTemplatesGetAPIResponse ¶
type TaobaoDeliveryTemplatesGetAPIResponse struct { model.CommonResponse TaobaoDeliveryTemplatesGetAPIResponseModel }
TaobaoDeliveryTemplatesGetAPIResponse 获取用户下所有模板 API返回值 taobao.delivery.templates.get
根据用户ID获取用户下所有模板
type TaobaoDeliveryTemplatesGetAPIResponseModel ¶
type TaobaoDeliveryTemplatesGetAPIResponseModel struct { XMLName xml.Name `xml:"delivery_templates_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 运费模板列表 DeliveryTemplates []DeliveryTemplate `json:"delivery_templates,omitempty" xml:"delivery_templates>delivery_template,omitempty"` // 获得到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoDeliveryTemplatesGetAPIResponseModel is 获取用户下所有模板 成功返回结果
type TaobaoLogisticsCompaniesGetAPIRequest ¶
type TaobaoLogisticsCompaniesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsCompaniesGetAPIRequest 查询物流公司信息 API请求 taobao.logistics.companies.get
查询淘宝网合作的物流公司信息,用于发货接口。
func NewTaobaoLogisticsCompaniesGetRequest ¶
func NewTaobaoLogisticsCompaniesGetRequest() *TaobaoLogisticsCompaniesGetAPIRequest
NewTaobaoLogisticsCompaniesGetRequest 初始化TaobaoLogisticsCompaniesGetAPIRequest对象
func (TaobaoLogisticsCompaniesGetAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsCompaniesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsCompaniesGetAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsCompaniesGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsCompaniesGetAPIRequest) GetFields ¶
func (r TaobaoLogisticsCompaniesGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoLogisticsCompaniesGetAPIRequest) GetIsRecommended ¶
func (r TaobaoLogisticsCompaniesGetAPIRequest) GetIsRecommended() bool
GetIsRecommended IsRecommended Getter
func (TaobaoLogisticsCompaniesGetAPIRequest) GetOrderMode ¶
func (r TaobaoLogisticsCompaniesGetAPIRequest) GetOrderMode() string
GetOrderMode OrderMode Getter
func (TaobaoLogisticsCompaniesGetAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsCompaniesGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoLogisticsCompaniesGetAPIRequest) SetFields ¶
func (r *TaobaoLogisticsCompaniesGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需返回的字段列表。可选值:LogisticCompany 结构中的所有字段;多个字段间用","逗号隔开.<br/>如:id,code,name,reg_mail_no<br/><br><font color='red'>说明:</font><br/><br>id:物流公司ID<br/><br>code:物流公司code<br/><br>name:物流公司名称<br/><br>reg_mail_no:物流公司对应的运单规则
func (*TaobaoLogisticsCompaniesGetAPIRequest) SetIsRecommended ¶
func (r *TaobaoLogisticsCompaniesGetAPIRequest) SetIsRecommended(_isRecommended bool) error
SetIsRecommended is IsRecommended Setter 是否查询推荐物流公司.可选值:true,false.如果不提供此参数,将会返回所有支持电话联系的物流公司.
func (*TaobaoLogisticsCompaniesGetAPIRequest) SetOrderMode ¶
func (r *TaobaoLogisticsCompaniesGetAPIRequest) SetOrderMode(_orderMode string) error
SetOrderMode is OrderMode Setter 推荐物流公司的下单方式.可选值:offline(电话联系/自己联系),online(在线下单),all(即电话联系又在线下单). 此参数仅仅用于is_recommended 为ture时。就是说对于推荐物流公司才可用.如果不选择此参数将会返回推荐物流中支持电话联系的物流公司.
type TaobaoLogisticsCompaniesGetAPIResponse ¶
type TaobaoLogisticsCompaniesGetAPIResponse struct { model.CommonResponse TaobaoLogisticsCompaniesGetAPIResponseModel }
TaobaoLogisticsCompaniesGetAPIResponse 查询物流公司信息 API返回值 taobao.logistics.companies.get
查询淘宝网合作的物流公司信息,用于发货接口。
type TaobaoLogisticsCompaniesGetAPIResponseModel ¶
type TaobaoLogisticsCompaniesGetAPIResponseModel struct { XMLName xml.Name `xml:"logistics_companies_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流公司信息。返回的LogisticCompany包含的具体信息为入参fields请求的字段信息。 LogisticsCompanies []LogisticsCompany `json:"logistics_companies,omitempty" xml:"logistics_companies>logistics_company,omitempty"` }
TaobaoLogisticsCompaniesGetAPIResponseModel is 查询物流公司信息 成功返回结果
type TaobaoLogisticsConsignOrderCreateandsendAPIRequest ¶
type TaobaoLogisticsConsignOrderCreateandsendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsConsignOrderCreateandsendAPIRequest 创建订单并发货 API请求 taobao.logistics.consign.order.createandsend
创建物流订单,并发货。
func NewTaobaoLogisticsConsignOrderCreateandsendRequest ¶
func NewTaobaoLogisticsConsignOrderCreateandsendRequest() *TaobaoLogisticsConsignOrderCreateandsendAPIRequest
NewTaobaoLogisticsConsignOrderCreateandsendRequest 初始化TaobaoLogisticsConsignOrderCreateandsendAPIRequest对象
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetCompanyId ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetCompanyId() int64
GetCompanyId CompanyId Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetItemJsonString ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetItemJsonString() string
GetItemJsonString ItemJsonString Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetLogisType ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetLogisType() int64
GetLogisType LogisType Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetMailNo ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetMailNo() string
GetMailNo MailNo Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetOrderSource ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetOrderSource() int64
GetOrderSource OrderSource Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetOrderType ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetOrderType() int64
GetOrderType OrderType Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRAddress ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRAddress() string
GetRAddress RAddress Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRAreaId ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRAreaId() int64
GetRAreaId RAreaId Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRCityName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRCityName() string
GetRCityName RCityName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRDistName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRDistName() string
GetRDistName RDistName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRMobilePhone ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRMobilePhone() string
GetRMobilePhone RMobilePhone Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRName() string
GetRName RName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRProvName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRProvName() string
GetRProvName RProvName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRTelephone ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRTelephone() string
GetRTelephone RTelephone Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRZipCode ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRZipCode() string
GetRZipCode RZipCode Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSAddress ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSAddress() string
GetSAddress SAddress Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSAreaId ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSAreaId() int64
GetSAreaId SAreaId Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSCityName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSCityName() string
GetSCityName SCityName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSDistName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSDistName() string
GetSDistName SDistName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSMobilePhone ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSMobilePhone() string
GetSMobilePhone SMobilePhone Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSName() string
GetSName SName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSProvName ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSProvName() string
GetSProvName SProvName Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSTelephone ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSTelephone() string
GetSTelephone STelephone Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSZipCode ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetSZipCode() string
GetSZipCode SZipCode Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetShipping ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetShipping() string
GetShipping Shipping Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetTradeId ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetTradeId() int64
GetTradeId TradeId Getter
func (TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetUserId ¶
func (r TaobaoLogisticsConsignOrderCreateandsendAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetCompanyId ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetCompanyId(_companyId int64) error
SetCompanyId is CompanyId Setter 物流公司ID
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetItemJsonString ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetItemJsonString(_itemJsonString string) error
SetItemJsonString is ItemJsonString Setter 物品的json数据。
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetLogisType ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetLogisType(_logisType int64) error
SetLogisType is LogisType Setter 物流订单物流类型,值固定选择:2
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetMailNo ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetMailNo(_mailNo string) error
SetMailNo is MailNo Setter 运单号
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetOrderSource ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetOrderSource(_orderSource int64) error
SetOrderSource is OrderSource Setter 订单来源,值选择:30
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetOrderType ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetOrderType(_orderType int64) error
SetOrderType is OrderType Setter 订单类型,值固定选择:30
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRAddress ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRAddress(_rAddress string) error
SetRAddress is RAddress Setter 收件人街道地址
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRAreaId ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRAreaId(_rAreaId int64) error
SetRAreaId is RAreaId Setter 收件人区域ID
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRCityName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRCityName(_rCityName string) error
SetRCityName is RCityName Setter 市
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRDistName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRDistName(_rDistName string) error
SetRDistName is RDistName Setter 区
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRMobilePhone ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRMobilePhone(_rMobilePhone string) error
SetRMobilePhone is RMobilePhone Setter 手机号码
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRName(_rName string) error
SetRName is RName Setter 收件人名称
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRProvName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRProvName(_rProvName string) error
SetRProvName is RProvName Setter 省
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRTelephone ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRTelephone(_rTelephone string) error
SetRTelephone is RTelephone Setter 电话号码
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRZipCode ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetRZipCode(_rZipCode string) error
SetRZipCode is RZipCode Setter 收件人邮编
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSAddress ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSAddress(_sAddress string) error
SetSAddress is SAddress Setter 发件人街道地址
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSAreaId ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSAreaId(_sAreaId int64) error
SetSAreaId is SAreaId Setter 发件人区域ID
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSCityName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSCityName(_sCityName string) error
SetSCityName is SCityName Setter 市
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSDistName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSDistName(_sDistName string) error
SetSDistName is SDistName Setter 区
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSMobilePhone ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSMobilePhone(_sMobilePhone string) error
SetSMobilePhone is SMobilePhone Setter 手机号码
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSName(_sName string) error
SetSName is SName Setter 发件人名称
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSProvName ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSProvName(_sProvName string) error
SetSProvName is SProvName Setter 省
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSTelephone ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSTelephone(_sTelephone string) error
SetSTelephone is STelephone Setter 电话号码
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSZipCode ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetSZipCode(_sZipCode string) error
SetSZipCode is SZipCode Setter 发件人出编
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetShipping ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetShipping(_shipping string) error
SetShipping is Shipping Setter 费用承担方式 1买家承担运费 2卖家承担运费
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetTradeId ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetTradeId(_tradeId int64) error
SetTradeId is TradeId Setter 交易流水号,淘外订单号或者商家内部交易流水号
func (*TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetUserId ¶
func (r *TaobaoLogisticsConsignOrderCreateandsendAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 用户ID
type TaobaoLogisticsConsignOrderCreateandsendAPIResponse ¶
type TaobaoLogisticsConsignOrderCreateandsendAPIResponse struct { model.CommonResponse TaobaoLogisticsConsignOrderCreateandsendAPIResponseModel }
TaobaoLogisticsConsignOrderCreateandsendAPIResponse 创建订单并发货 API返回值 taobao.logistics.consign.order.createandsend
创建物流订单,并发货。
type TaobaoLogisticsConsignOrderCreateandsendAPIResponseModel ¶
type TaobaoLogisticsConsignOrderCreateandsendAPIResponseModel struct { XMLName xml.Name `xml:"logistics_consign_order_createandsend_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果描述 ResultDesc string `json:"result_desc,omitempty" xml:"result_desc,omitempty"` // 订单ID OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoLogisticsConsignOrderCreateandsendAPIResponseModel is 创建订单并发货 成功返回结果
type TaobaoLogisticsDummySendAPIRequest ¶
type TaobaoLogisticsDummySendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsDummySendAPIRequest 无需物流(虚拟)发货处理 API请求 taobao.logistics.dummy.send
用户调用该接口可实现无需物流(虚拟)发货,使用该接口发货,交易订单状态会直接变成卖家已发货
func NewTaobaoLogisticsDummySendRequest ¶
func NewTaobaoLogisticsDummySendRequest() *TaobaoLogisticsDummySendAPIRequest
NewTaobaoLogisticsDummySendRequest 初始化TaobaoLogisticsDummySendAPIRequest对象
func (TaobaoLogisticsDummySendAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsDummySendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsDummySendAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsDummySendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsDummySendAPIRequest) GetFeature ¶
func (r TaobaoLogisticsDummySendAPIRequest) GetFeature() string
GetFeature Feature Getter
func (TaobaoLogisticsDummySendAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsDummySendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsDummySendAPIRequest) GetSellerIp ¶
func (r TaobaoLogisticsDummySendAPIRequest) GetSellerIp() string
GetSellerIp SellerIp Getter
func (TaobaoLogisticsDummySendAPIRequest) GetTid ¶
func (r TaobaoLogisticsDummySendAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsDummySendAPIRequest) SetFeature ¶
func (r *TaobaoLogisticsDummySendAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter feature参数格式<br>范例: identCode=tid1:识别码1,识别码2|tid2:识别码3;machineCode=tid3:3C机器号A,3C机器号B<br>identCode为识别码的KEY,machineCode为3C的KEY,多个key之间用”;”分隔<br>“tid1:识别码1,识别码2|tid2:识别码3”为identCode对应的value。"|"不同商品间的分隔符。<br>例1商品和2商品,之间就用"|"分开。<br>TID就是商品代表的子订单号,对应taobao.trade.fullinfo.get 接口获得的oid字段。(通过OID可以唯一定位到当前商品上)<br>":"TID和具体传入参数间的分隔符。冒号前表示TID,之后代表该商品的参数属性。<br>"," 属性间分隔符。(对应商品数量,当存在一个商品的数量超过1个时,用逗号分开)。<br>具体:当订单中A商品的数量为2个,其中手机串号分别为"12345","67890"。<br>参数格式:identCode=TIDA:12345,67890。TIDA对应了A宝贝,冒号后用逗号分隔的"12345","67890".说明本订单A宝贝的数量为2,值分别为"12345","67890"。<br>当存在"|"时,就说明订单中存在多个商品,商品间用"|"分隔了开来。|"之后的内容含义同上。
func (*TaobaoLogisticsDummySendAPIRequest) SetSellerIp ¶
func (r *TaobaoLogisticsDummySendAPIRequest) SetSellerIp(_sellerIp string) error
SetSellerIp is SellerIp Setter 商家的IP地址
func (*TaobaoLogisticsDummySendAPIRequest) SetTid ¶
func (r *TaobaoLogisticsDummySendAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易ID
type TaobaoLogisticsDummySendAPIResponse ¶
type TaobaoLogisticsDummySendAPIResponse struct { model.CommonResponse TaobaoLogisticsDummySendAPIResponseModel }
TaobaoLogisticsDummySendAPIResponse 无需物流(虚拟)发货处理 API返回值 taobao.logistics.dummy.send
用户调用该接口可实现无需物流(虚拟)发货,使用该接口发货,交易订单状态会直接变成卖家已发货
type TaobaoLogisticsDummySendAPIResponseModel ¶
type TaobaoLogisticsDummySendAPIResponseModel struct { XMLName xml.Name `xml:"logistics_dummy_send_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回发货是否成功is_success Shipping *Shipping `json:"shipping,omitempty" xml:"shipping,omitempty"` }
TaobaoLogisticsDummySendAPIResponseModel is 无需物流(虚拟)发货处理 成功返回结果
type TaobaoLogisticsInstantTraceSearchAPIRequest ¶
type TaobaoLogisticsInstantTraceSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsInstantTraceSearchAPIRequest 物流详情查询 API请求 taobao.logistics.instant.trace.search
物流详情查询
func NewTaobaoLogisticsInstantTraceSearchRequest ¶
func NewTaobaoLogisticsInstantTraceSearchRequest() *TaobaoLogisticsInstantTraceSearchAPIRequest
NewTaobaoLogisticsInstantTraceSearchRequest 初始化TaobaoLogisticsInstantTraceSearchAPIRequest对象
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetIsSplit ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetIsSplit() int64
GetIsSplit IsSplit Getter
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetMailNo ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetMailNo() string
GetMailNo MailNo Getter
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetSubTid ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetSubTid() string
GetSubTid SubTid Getter
func (TaobaoLogisticsInstantTraceSearchAPIRequest) GetTid ¶
func (r TaobaoLogisticsInstantTraceSearchAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsInstantTraceSearchAPIRequest) SetIsSplit ¶
func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetIsSplit(_isSplit int64) error
SetIsSplit is IsSplit Setter 是否拆单
func (*TaobaoLogisticsInstantTraceSearchAPIRequest) SetMailNo ¶
func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetMailNo(_mailNo string) error
SetMailNo is MailNo Setter 运单号
func (*TaobaoLogisticsInstantTraceSearchAPIRequest) SetSubTid ¶
func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetSubTid(_subTid string) error
SetSubTid is SubTid Setter 子订单列表
func (*TaobaoLogisticsInstantTraceSearchAPIRequest) SetTid ¶
func (r *TaobaoLogisticsInstantTraceSearchAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易单号
type TaobaoLogisticsInstantTraceSearchAPIResponse ¶
type TaobaoLogisticsInstantTraceSearchAPIResponse struct { model.CommonResponse TaobaoLogisticsInstantTraceSearchAPIResponseModel }
TaobaoLogisticsInstantTraceSearchAPIResponse 物流详情查询 API返回值 taobao.logistics.instant.trace.search
物流详情查询
type TaobaoLogisticsInstantTraceSearchAPIResponseModel ¶
type TaobaoLogisticsInstantTraceSearchAPIResponseModel struct { XMLName xml.Name `xml:"logistics_instant_trace_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaobaoLogisticsInstantTraceSearchResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLogisticsInstantTraceSearchAPIResponseModel is 物流详情查询 成功返回结果
type TaobaoLogisticsInstantTraceSearchResult ¶
type TaobaoLogisticsInstantTraceSearchResult struct { // 运单列表 MailList []TopLogisticsMailDto `json:"mail_list,omitempty" xml:"mail_list>top_logistics_mail_dto,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoLogisticsInstantTraceSearchResult 结构体
type TaobaoLogisticsOnlineCancelAPIRequest ¶
type TaobaoLogisticsOnlineCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsOnlineCancelAPIRequest 取消物流订单接口 API请求 taobao.logistics.online.cancel
调此接口取消发货的订单,重新选择物流公司发货。前提是物流公司未揽收货物。对未发货和已经被物流公司揽收的物流订单,是不能取消的。
func NewTaobaoLogisticsOnlineCancelRequest ¶
func NewTaobaoLogisticsOnlineCancelRequest() *TaobaoLogisticsOnlineCancelAPIRequest
NewTaobaoLogisticsOnlineCancelRequest 初始化TaobaoLogisticsOnlineCancelAPIRequest对象
func (TaobaoLogisticsOnlineCancelAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsOnlineCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsOnlineCancelAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsOnlineCancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsOnlineCancelAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsOnlineCancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsOnlineCancelAPIRequest) GetTid ¶
func (r TaobaoLogisticsOnlineCancelAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsOnlineCancelAPIRequest) SetTid ¶
func (r *TaobaoLogisticsOnlineCancelAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易ID
type TaobaoLogisticsOnlineCancelAPIResponse ¶
type TaobaoLogisticsOnlineCancelAPIResponse struct { model.CommonResponse TaobaoLogisticsOnlineCancelAPIResponseModel }
TaobaoLogisticsOnlineCancelAPIResponse 取消物流订单接口 API返回值 taobao.logistics.online.cancel
调此接口取消发货的订单,重新选择物流公司发货。前提是物流公司未揽收货物。对未发货和已经被物流公司揽收的物流订单,是不能取消的。
type TaobaoLogisticsOnlineCancelAPIResponseModel ¶
type TaobaoLogisticsOnlineCancelAPIResponseModel struct { XMLName xml.Name `xml:"logistics_online_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 修改时间 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // 重新创建物流订单id RecreatedOrderId string `json:"recreated_order_id,omitempty" xml:"recreated_order_id,omitempty"` // 成功与失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoLogisticsOnlineCancelAPIResponseModel is 取消物流订单接口 成功返回结果
type TaobaoLogisticsOnlineConfirmAPIRequest ¶
type TaobaoLogisticsOnlineConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsOnlineConfirmAPIRequest 确认发货通知接口 API请求 taobao.logistics.online.confirm
<br><font color='red'>仅在使用taobao.logistics.online.send 发货时未输入运单号的情况下,需要使用该接口补充填写运单号,来确认发货。<br> 确认发货的目的是让交易流程继续走下去,确认发货后交易状态会由【买家已付款】变为【卖家已发货】。</font>
func NewTaobaoLogisticsOnlineConfirmRequest ¶
func NewTaobaoLogisticsOnlineConfirmRequest() *TaobaoLogisticsOnlineConfirmAPIRequest
NewTaobaoLogisticsOnlineConfirmRequest 初始化TaobaoLogisticsOnlineConfirmAPIRequest对象
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetIsSplit ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetIsSplit() int64
GetIsSplit IsSplit Getter
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetOutSid ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetOutSid() string
GetOutSid OutSid Getter
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetSellerIp ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetSellerIp() string
GetSellerIp SellerIp Getter
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetSubTid ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetSubTid() []int64
GetSubTid SubTid Getter
func (TaobaoLogisticsOnlineConfirmAPIRequest) GetTid ¶
func (r TaobaoLogisticsOnlineConfirmAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsOnlineConfirmAPIRequest) SetIsSplit ¶
func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetIsSplit(_isSplit int64) error
SetIsSplit is IsSplit Setter 表明是否是拆单,默认值0,1表示拆单
func (*TaobaoLogisticsOnlineConfirmAPIRequest) SetOutSid ¶
func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetOutSid(_outSid string) error
SetOutSid is OutSid Setter 运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入;
func (*TaobaoLogisticsOnlineConfirmAPIRequest) SetSellerIp ¶
func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetSellerIp(_sellerIp string) error
SetSellerIp is SellerIp Setter 商家的IP地址
func (*TaobaoLogisticsOnlineConfirmAPIRequest) SetSubTid ¶
func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetSubTid(_subTid []int64) error
SetSubTid is SubTid Setter 拆单子订单列表,对应的数据是:子订单号的列表。可以不传,但是如果传了则必须符合传递的规则。子订单必须是操作的物流订单的子订单的真子集
func (*TaobaoLogisticsOnlineConfirmAPIRequest) SetTid ¶
func (r *TaobaoLogisticsOnlineConfirmAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易ID
type TaobaoLogisticsOnlineConfirmAPIResponse ¶
type TaobaoLogisticsOnlineConfirmAPIResponse struct { model.CommonResponse TaobaoLogisticsOnlineConfirmAPIResponseModel }
TaobaoLogisticsOnlineConfirmAPIResponse 确认发货通知接口 API返回值 taobao.logistics.online.confirm
<br><font color='red'>仅在使用taobao.logistics.online.send 发货时未输入运单号的情况下,需要使用该接口补充填写运单号,来确认发货。<br> 确认发货的目的是让交易流程继续走下去,确认发货后交易状态会由【买家已付款】变为【卖家已发货】。</font>
type TaobaoLogisticsOnlineConfirmAPIResponseModel ¶
type TaobaoLogisticsOnlineConfirmAPIResponseModel struct { XMLName xml.Name `xml:"logistics_online_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 只返回is_success:是否成功。 Shipping *Shipping `json:"shipping,omitempty" xml:"shipping,omitempty"` }
TaobaoLogisticsOnlineConfirmAPIResponseModel is 确认发货通知接口 成功返回结果
type TaobaoLogisticsOnlineSendAPIRequest ¶
type TaobaoLogisticsOnlineSendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsOnlineSendAPIRequest 在线订单发货处理(支持货到付款) API请求 taobao.logistics.online.send
用户调用该接口可实现在线订单发货(支持货到付款)<br/>调用该接口实现在线下单发货,有两种情况:<br><br/><font color='red'>如果不输入运单号的情况:交易状态不会改变,需要调用taobao.logistics.online.confirm确认发货后交易状态才会变成卖家已发货。<br><br/>如果输入运单号的情况发货:交易订单状态会直接变成卖家已发货 。</font>
func NewTaobaoLogisticsOnlineSendRequest ¶
func NewTaobaoLogisticsOnlineSendRequest() *TaobaoLogisticsOnlineSendAPIRequest
NewTaobaoLogisticsOnlineSendRequest 初始化TaobaoLogisticsOnlineSendAPIRequest对象
func (TaobaoLogisticsOnlineSendAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsOnlineSendAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsOnlineSendAPIRequest) GetCancelId ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetCancelId() int64
GetCancelId CancelId Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetCompanyCode ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetCompanyCode() string
GetCompanyCode CompanyCode Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetFeature ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetFeature() string
GetFeature Feature Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetIsSplit ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetIsSplit() int64
GetIsSplit IsSplit Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetOutSid ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetOutSid() string
GetOutSid OutSid Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsOnlineSendAPIRequest) GetSellerIp ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetSellerIp() string
GetSellerIp SellerIp Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetSenderId ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetSenderId() int64
GetSenderId SenderId Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetSubTid ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetSubTid() []int64
GetSubTid SubTid Getter
func (TaobaoLogisticsOnlineSendAPIRequest) GetTid ¶
func (r TaobaoLogisticsOnlineSendAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsOnlineSendAPIRequest) SetCancelId ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetCancelId(_cancelId int64) error
SetCancelId is CancelId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。 如果为空,取的卖家的默认退货地址
func (*TaobaoLogisticsOnlineSendAPIRequest) SetCompanyCode ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetCompanyCode(_companyCode string) error
SetCompanyCode is CompanyCode Setter 物流公司代码.如"POST"就代表中国邮政,"ZJS"就代表宅急送.调用 taobao.logistics.companies.get 获取。
func (*TaobaoLogisticsOnlineSendAPIRequest) SetFeature ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter feature参数格式 范例: identCode=tid1:识别码1,识别码2|tid2:识别码3;machineCode=tid3:3C机器号A,3C机器号B identCode为识别码的KEY,machineCode为3C的KEY,多个key之间用”;”分隔 “tid1:识别码1,识别码2|tid2:识别码3”为identCode对应的value。 "|"不同商品间的分隔符。 例1商品和2商品,之间就用"|"分开。 TID就是商品代表的子订单号,对应taobao.trade.fullinfo.get 接口获得的oid字段。(通过OID可以唯一定位到当前商品上) ":"TID和具体传入参数间的分隔符。冒号前表示TID,之后代表该商品的参数属性。 "," 属性间分隔符。(对应商品数量,当存在一个商品的数量超过1个时,用逗号分开)。 具体:当订单中A商品的数量为2个,其中手机串号分别为"12345","67890"。 参数格式:identCode=TIDA:12345,67890。 TIDA对应了A宝贝,冒号后用逗号分隔的"12345","67890".说明本订单A宝贝的数量为2,值分别为"12345","67890"。 当存在"|"时,就说明订单中存在多个商品,商品间用"|"分隔了开来。|"之后的内容含义同上。retailStoreId=12345,发货门店ID或仓信息。retailStoreType=STORE: 发货门店类别,STORE表示门店,WAREHOUSE表示电商仓。对于全渠道订单回传的商家,retailStoreId和retailStoreType字段为必填字段。
func (*TaobaoLogisticsOnlineSendAPIRequest) SetIsSplit ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetIsSplit(_isSplit int64) error
SetIsSplit is IsSplit Setter 表明是否是拆单,默认值0,1表示拆单
func (*TaobaoLogisticsOnlineSendAPIRequest) SetOutSid ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetOutSid(_outSid string) error
SetOutSid is OutSid Setter 运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入;
func (*TaobaoLogisticsOnlineSendAPIRequest) SetSellerIp ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetSellerIp(_sellerIp string) error
SetSellerIp is SellerIp Setter 商家的IP地址
func (*TaobaoLogisticsOnlineSendAPIRequest) SetSenderId ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetSenderId(_senderId int64) error
SetSenderId is SenderId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。如果为空,取的卖家的默认取货地址
func (*TaobaoLogisticsOnlineSendAPIRequest) SetSubTid ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetSubTid(_subTid []int64) error
SetSubTid is SubTid Setter 需要拆单发货的子订单集合,针对的是一笔交易下有多个子订单需要分开发货的场景;1次可传人多个子订单号,子订单间用逗号隔开;为空表示不做拆单发货。
func (*TaobaoLogisticsOnlineSendAPIRequest) SetTid ¶
func (r *TaobaoLogisticsOnlineSendAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易ID
type TaobaoLogisticsOnlineSendAPIResponse ¶
type TaobaoLogisticsOnlineSendAPIResponse struct { model.CommonResponse TaobaoLogisticsOnlineSendAPIResponseModel }
TaobaoLogisticsOnlineSendAPIResponse 在线订单发货处理(支持货到付款) API返回值 taobao.logistics.online.send
用户调用该接口可实现在线订单发货(支持货到付款)<br/>调用该接口实现在线下单发货,有两种情况:<br><br/><font color='red'>如果不输入运单号的情况:交易状态不会改变,需要调用taobao.logistics.online.confirm确认发货后交易状态才会变成卖家已发货。<br><br/>如果输入运单号的情况发货:交易订单状态会直接变成卖家已发货 。</font>
type TaobaoLogisticsOnlineSendAPIResponseModel ¶
type TaobaoLogisticsOnlineSendAPIResponseModel struct { XMLName xml.Name `xml:"logistics_online_send_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // de Shipping *Shipping `json:"shipping,omitempty" xml:"shipping,omitempty"` }
TaobaoLogisticsOnlineSendAPIResponseModel is 在线订单发货处理(支持货到付款) 成功返回结果
type TaobaoLogisticsOrderCreateAPIRequest ¶
type TaobaoLogisticsOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsOrderCreateAPIRequest 创建物流订单 API请求 taobao.logistics.order.create
用户调用该接口可以创建物流订单。目前仅支持手工订单的创建,创建完毕后默认自动使用“自己联系”的方式发货并且初始状态为”已发货“。也可以通过可选参数选择是否发货以及何种方式进行发货。
func NewTaobaoLogisticsOrderCreateRequest ¶
func NewTaobaoLogisticsOrderCreateRequest() *TaobaoLogisticsOrderCreateAPIRequest
NewTaobaoLogisticsOrderCreateRequest 初始化TaobaoLogisticsOrderCreateAPIRequest对象
func (TaobaoLogisticsOrderCreateAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsOrderCreateAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsOrderCreateAPIRequest) GetGoodsNames ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetGoodsNames() string
GetGoodsNames GoodsNames Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetGoodsQuantities ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetGoodsQuantities() string
GetGoodsQuantities GoodsQuantities Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetIsConsign ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetIsConsign() bool
GetIsConsign IsConsign Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetItemValues ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetItemValues() string
GetItemValues ItemValues Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetLogisCompanyCode ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetLogisCompanyCode() string
GetLogisCompanyCode LogisCompanyCode Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetLogisType ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetLogisType() string
GetLogisType LogisType Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetMailNo ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetMailNo() string
GetMailNo MailNo Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetOrderType ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetOrderType() int64
GetOrderType OrderType Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsOrderCreateAPIRequest) GetSellerWangwangId ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetSellerWangwangId() string
GetSellerWangwangId SellerWangwangId Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetShipping ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetShipping() int64
GetShipping Shipping Getter
func (TaobaoLogisticsOrderCreateAPIRequest) GetTradeId ¶
func (r TaobaoLogisticsOrderCreateAPIRequest) GetTradeId() int64
GetTradeId TradeId Getter
func (*TaobaoLogisticsOrderCreateAPIRequest) SetGoodsNames ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetGoodsNames(_goodsNames string) error
SetGoodsNames is GoodsNames Setter 运送的货物名称列表,用|号隔开
func (*TaobaoLogisticsOrderCreateAPIRequest) SetGoodsQuantities ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetGoodsQuantities(_goodsQuantities string) error
SetGoodsQuantities is GoodsQuantities Setter 运送货物的数量列表,用|号隔开
func (*TaobaoLogisticsOrderCreateAPIRequest) SetIsConsign ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetIsConsign(_isConsign bool) error
SetIsConsign is IsConsign Setter 创建订单同时是否进行发货,默认发货。
func (*TaobaoLogisticsOrderCreateAPIRequest) SetItemValues ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetItemValues(_itemValues string) error
SetItemValues is ItemValues Setter 运送货物的单价列表(注意:单位为分),用|号隔开
func (*TaobaoLogisticsOrderCreateAPIRequest) SetLogisCompanyCode ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetLogisCompanyCode(_logisCompanyCode string) error
SetLogisCompanyCode is LogisCompanyCode Setter 发货的物流公司代码,如申通=STO,圆通=YTO。is_consign=true时,此项必填。
func (*TaobaoLogisticsOrderCreateAPIRequest) SetLogisType ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetLogisType(_logisType string) error
SetLogisType is LogisType Setter 发货方式,默认为自己联系发货。可选值:ONLINE(在线下单)、OFFLINE(自己联系)。
func (*TaobaoLogisticsOrderCreateAPIRequest) SetMailNo ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetMailNo(_mailNo string) error
SetMailNo is MailNo Setter 发货的物流公司运单号。在logis_type=OFFLINE且is_consign=true时,此项必填。
func (*TaobaoLogisticsOrderCreateAPIRequest) SetOrderType ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetOrderType(_orderType int64) error
SetOrderType is OrderType Setter 物流发货类型:1-普通订单<br/>不填为默认类型 1-普通订单
func (*TaobaoLogisticsOrderCreateAPIRequest) SetSellerWangwangId ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetSellerWangwangId(_sellerWangwangId string) error
SetSellerWangwangId is SellerWangwangId Setter 卖家旺旺号
func (*TaobaoLogisticsOrderCreateAPIRequest) SetShipping ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetShipping(_shipping int64) error
SetShipping is Shipping Setter 运费承担方式。1为买家承担运费,2为卖家承担运费,其他值为错误参数。
func (*TaobaoLogisticsOrderCreateAPIRequest) SetTradeId ¶
func (r *TaobaoLogisticsOrderCreateAPIRequest) SetTradeId(_tradeId int64) error
SetTradeId is TradeId Setter 订单的交易号码
type TaobaoLogisticsOrderCreateAPIResponse ¶
type TaobaoLogisticsOrderCreateAPIResponse struct { model.CommonResponse TaobaoLogisticsOrderCreateAPIResponseModel }
TaobaoLogisticsOrderCreateAPIResponse 创建物流订单 API返回值 taobao.logistics.order.create
用户调用该接口可以创建物流订单。目前仅支持手工订单的创建,创建完毕后默认自动使用“自己联系”的方式发货并且初始状态为”已发货“。也可以通过可选参数选择是否发货以及何种方式进行发货。
type TaobaoLogisticsOrderCreateAPIResponseModel ¶
type TaobaoLogisticsOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"logistics_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝物流订单交易号,如返回-1则表示错误。如果在新建订单时传入trade_id,此处会返回此id,如果未传入trade_id,此处会返回淘宝物流分配的交易号码。 TradeId int64 `json:"trade_id,omitempty" xml:"trade_id,omitempty"` }
TaobaoLogisticsOrderCreateAPIResponseModel is 创建物流订单 成功返回结果
type TaobaoLogisticsOrdersDetailGetAPIRequest ¶
type TaobaoLogisticsOrdersDetailGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsOrdersDetailGetAPIRequest 批量查询物流订单,返回详细信息 API请求 taobao.logistics.orders.detail.get
查询物流订单的详细信息,涉及用户隐私字段。
func NewTaobaoLogisticsOrdersDetailGetRequest ¶
func NewTaobaoLogisticsOrdersDetailGetRequest() *TaobaoLogisticsOrdersDetailGetAPIRequest
NewTaobaoLogisticsOrdersDetailGetRequest 初始化TaobaoLogisticsOrdersDetailGetAPIRequest对象
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetBuyerNick ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetEndCreated ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetFields ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetFreightPayer ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetFreightPayer() string
GetFreightPayer FreightPayer Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetOuid ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetOuid() string
GetOuid Ouid Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetPageNo ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetPageSize ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetReceiverName ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetReceiverName() string
GetReceiverName ReceiverName Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetSellerConfirm ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetSellerConfirm() string
GetSellerConfirm SellerConfirm Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetStartCreated ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetStatus ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetTid ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoLogisticsOrdersDetailGetAPIRequest) GetType ¶
func (r TaobaoLogisticsOrdersDetailGetAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetBuyerNick ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetEndCreated ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 创建时间结束.格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetFields ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Shipping 物流数据结构中所有字段.fileds中可以指定返回以上任意一个或者多个字段,以","分隔.
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetFreightPayer ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetFreightPayer(_freightPayer string) error
SetFreightPayer is FreightPayer Setter 谁承担运费.可选值:buyer(买家),seller(卖家).如:buyer
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetOuid ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetOuid(_ouid string) error
SetOuid is Ouid Setter 系统自动生成
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetPageNo ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码.该字段没传 或 值<1 ,则默认page_no为1
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetPageSize ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数.该字段没传 或 值<1 ,则默认page_size为40
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetReceiverName ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetReceiverName(_receiverName string) error
SetReceiverName is ReceiverName Setter 收货人姓名
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetSellerConfirm ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetSellerConfirm(_sellerConfirm string) error
SetSellerConfirm is SellerConfirm Setter 卖家是否发货.可选值:yes(是),no(否).如:yes.
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetStartCreated ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 创建时间开始.格式:yyyy-MM-dd HH:mm:ss
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetStatus ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 物流状态.可查看数据结构 Shipping 中的status字段.
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetTid ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易ID.如果加入tid参数的话,不用传其他的参数,但是仅会返回一条物流订单信息.
func (*TaobaoLogisticsOrdersDetailGetAPIRequest) SetType ¶
func (r *TaobaoLogisticsOrdersDetailGetAPIRequest) SetType(_type string) error
SetType is Type Setter 物流方式.可选值:post(平邮),express(快递),ems(EMS).如:post
type TaobaoLogisticsOrdersDetailGetAPIResponse ¶
type TaobaoLogisticsOrdersDetailGetAPIResponse struct { model.CommonResponse TaobaoLogisticsOrdersDetailGetAPIResponseModel }
TaobaoLogisticsOrdersDetailGetAPIResponse 批量查询物流订单,返回详细信息 API返回值 taobao.logistics.orders.detail.get
查询物流订单的详细信息,涉及用户隐私字段。
type TaobaoLogisticsOrdersDetailGetAPIResponseModel ¶
type TaobaoLogisticsOrdersDetailGetAPIResponseModel struct { XMLName xml.Name `xml:"logistics_orders_detail_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 获取的物流订单详情列表.返回的Shipping包含的具体信息为入参fields请求的字段信息. Shippings []SingleResultDto `json:"shippings,omitempty" xml:"shippings>single_result_dto,omitempty"` // 搜索到的物流订单列表总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoLogisticsOrdersDetailGetAPIResponseModel is 批量查询物流订单,返回详细信息 成功返回结果
type TaobaoLogisticsOrdersGetAPIRequest ¶
type TaobaoLogisticsOrdersGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsOrdersGetAPIRequest 批量查询物流订单 API请求 taobao.logistics.orders.get
批量查询物流订单。
func NewTaobaoLogisticsOrdersGetRequest ¶
func NewTaobaoLogisticsOrdersGetRequest() *TaobaoLogisticsOrdersGetAPIRequest
NewTaobaoLogisticsOrdersGetRequest 初始化TaobaoLogisticsOrdersGetAPIRequest对象
func (TaobaoLogisticsOrdersGetAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsOrdersGetAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsOrdersGetAPIRequest) GetBuyerNick ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetEndCreated ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetFields ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetFreightPayer ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetFreightPayer() string
GetFreightPayer FreightPayer Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetOuid ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetOuid() string
GetOuid Ouid Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetPageNo ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetPageSize ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsOrdersGetAPIRequest) GetReceiverName ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetReceiverName() string
GetReceiverName ReceiverName Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetSellerConfirm ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetSellerConfirm() string
GetSellerConfirm SellerConfirm Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetStartCreated ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetStatus ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetTid ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoLogisticsOrdersGetAPIRequest) GetType ¶
func (r TaobaoLogisticsOrdersGetAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoLogisticsOrdersGetAPIRequest) SetBuyerNick ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaoLogisticsOrdersGetAPIRequest) SetEndCreated ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 创建时间结束
func (*TaobaoLogisticsOrdersGetAPIRequest) SetFields ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Shipping 物流数据结构中的以下字段: <br><br/>tid,order_code,seller_nick,buyer_nick,delivery_start, delivery_end,out_sid,item_title,receiver_name, created,modified,status,type,freight_payer,seller_confirm,company_name,sub_tids,is_spilt;<br>多个字段之间用","分隔。如tid,seller_nick,buyer_nick,delivery_start。
func (*TaobaoLogisticsOrdersGetAPIRequest) SetFreightPayer ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetFreightPayer(_freightPayer string) error
SetFreightPayer is FreightPayer Setter 谁承担运费.可选值:buyer(买家),seller(卖家).如:buyer
func (*TaobaoLogisticsOrdersGetAPIRequest) SetOuid ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetOuid(_ouid string) error
SetOuid is Ouid Setter 系统自动生成
func (*TaobaoLogisticsOrdersGetAPIRequest) SetPageNo ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码.该字段没传 或 值<1 ,则默认page_no为1
func (*TaobaoLogisticsOrdersGetAPIRequest) SetPageSize ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数.该字段没传 或 值<1 ,则默认page_size为40
func (*TaobaoLogisticsOrdersGetAPIRequest) SetReceiverName ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetReceiverName(_receiverName string) error
SetReceiverName is ReceiverName Setter 收货人姓名
func (*TaobaoLogisticsOrdersGetAPIRequest) SetSellerConfirm ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetSellerConfirm(_sellerConfirm string) error
SetSellerConfirm is SellerConfirm Setter 卖家是否发货.可选值:yes(是),no(否).如:yes
func (*TaobaoLogisticsOrdersGetAPIRequest) SetStartCreated ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 创建时间开始
func (*TaobaoLogisticsOrdersGetAPIRequest) SetStatus ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 物流状态.查看数据结构 Shipping 中的status字段.
func (*TaobaoLogisticsOrdersGetAPIRequest) SetTid ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易ID.如果加入tid参数的话,不用传其他的参数,若传入tid:非拆单场景,仅会返回一条物流订单信息;拆单场景,会返回多条物流订单信息
func (*TaobaoLogisticsOrdersGetAPIRequest) SetType ¶
func (r *TaobaoLogisticsOrdersGetAPIRequest) SetType(_type string) error
SetType is Type Setter 物流方式.可选值:post(平邮),express(快递),ems(EMS).如:post
type TaobaoLogisticsOrdersGetAPIResponse ¶
type TaobaoLogisticsOrdersGetAPIResponse struct { model.CommonResponse TaobaoLogisticsOrdersGetAPIResponseModel }
TaobaoLogisticsOrdersGetAPIResponse 批量查询物流订单 API返回值 taobao.logistics.orders.get
批量查询物流订单。
type TaobaoLogisticsOrdersGetAPIResponseModel ¶
type TaobaoLogisticsOrdersGetAPIResponseModel struct { XMLName xml.Name `xml:"logistics_orders_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 获取的物流订单详情列表 <br/>返回的Shipping包含的具体信息为入参fields请求的字段信息 Shippings []Shipping `json:"shippings,omitempty" xml:"shippings>shipping,omitempty"` // 搜索到的物流订单列表总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoLogisticsOrdersGetAPIResponseModel is 批量查询物流订单 成功返回结果
type TaobaoLogisticsPartnersGetAPIRequest ¶
type TaobaoLogisticsPartnersGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsPartnersGetAPIRequest 查询支持起始地到目的地范围的物流公司 API请求 taobao.logistics.partners.get
查询物流公司信息(可以查询目的地可不可达情况)
func NewTaobaoLogisticsPartnersGetRequest ¶
func NewTaobaoLogisticsPartnersGetRequest() *TaobaoLogisticsPartnersGetAPIRequest
NewTaobaoLogisticsPartnersGetRequest 初始化TaobaoLogisticsPartnersGetAPIRequest对象
func (TaobaoLogisticsPartnersGetAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsPartnersGetAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsPartnersGetAPIRequest) GetGoodsValue ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetGoodsValue() string
GetGoodsValue GoodsValue Getter
func (TaobaoLogisticsPartnersGetAPIRequest) GetIsNeedCarriage ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetIsNeedCarriage() bool
GetIsNeedCarriage IsNeedCarriage Getter
func (TaobaoLogisticsPartnersGetAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsPartnersGetAPIRequest) GetServiceType ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetServiceType() string
GetServiceType ServiceType Getter
func (TaobaoLogisticsPartnersGetAPIRequest) GetSourceId ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetSourceId() string
GetSourceId SourceId Getter
func (TaobaoLogisticsPartnersGetAPIRequest) GetTargetId ¶
func (r TaobaoLogisticsPartnersGetAPIRequest) GetTargetId() string
GetTargetId TargetId Getter
func (*TaobaoLogisticsPartnersGetAPIRequest) SetGoodsValue ¶
func (r *TaobaoLogisticsPartnersGetAPIRequest) SetGoodsValue(_goodsValue string) error
SetGoodsValue is GoodsValue Setter 货物价格.只有当选择货到付款此参数才会有效
func (*TaobaoLogisticsPartnersGetAPIRequest) SetIsNeedCarriage ¶
func (r *TaobaoLogisticsPartnersGetAPIRequest) SetIsNeedCarriage(_isNeedCarriage bool) error
SetIsNeedCarriage is IsNeedCarriage Setter 是否需要揽收资费信息,默认false。在此值为false时,返回内容中将无carriage。在未设置source_id或target_id的情况下,无法查询揽收资费信息。自己联系无揽收资费记录。
func (*TaobaoLogisticsPartnersGetAPIRequest) SetServiceType ¶
func (r *TaobaoLogisticsPartnersGetAPIRequest) SetServiceType(_serviceType string) error
SetServiceType is ServiceType Setter 服务类型,根据此参数可查出提供相应服务类型的物流公司信息(物流公司状态正常),可选值:cod(货到付款)、online(在线下单)、 offline(自己联系)、limit(限时物流)。然后再根据source_id,target_id,goods_value这三个条件来过滤物流公司. 目前输入自己联系服务类型将会返回空,因为自己联系并没有具体的服务信息,所以不会有记录。
func (*TaobaoLogisticsPartnersGetAPIRequest) SetSourceId ¶
func (r *TaobaoLogisticsPartnersGetAPIRequest) SetSourceId(_sourceId string) error
SetSourceId is SourceId Setter 物流公司揽货地地区码(必须是区、县一级的).参考:http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201401/t20140116_501070.html或者调用 taobao.areas.get 获取
func (*TaobaoLogisticsPartnersGetAPIRequest) SetTargetId ¶
func (r *TaobaoLogisticsPartnersGetAPIRequest) SetTargetId(_targetId string) error
SetTargetId is TargetId Setter 物流公司派送地地区码(必须是区、县一级的).参考:http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201401/t20140116_501070.html或者调用 taobao.areas.get 获取
type TaobaoLogisticsPartnersGetAPIResponse ¶
type TaobaoLogisticsPartnersGetAPIResponse struct { model.CommonResponse TaobaoLogisticsPartnersGetAPIResponseModel }
TaobaoLogisticsPartnersGetAPIResponse 查询支持起始地到目的地范围的物流公司 API返回值 taobao.logistics.partners.get
查询物流公司信息(可以查询目的地可不可达情况)
type TaobaoLogisticsPartnersGetAPIResponseModel ¶
type TaobaoLogisticsPartnersGetAPIResponseModel struct { XMLName xml.Name `xml:"logistics_partners_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询揽送范围之内的物流公司信息 LogisticsPartners []LogisticsPartner `json:"logistics_partners,omitempty" xml:"logistics_partners>logistics_partner,omitempty"` }
TaobaoLogisticsPartnersGetAPIResponseModel is 查询支持起始地到目的地范围的物流公司 成功返回结果
type TaobaoLogisticsTraceGetAPIRequest ¶ added in v1.2.9
type TaobaoLogisticsTraceGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsTraceGetAPIRequest 用户根据交易号查询物流流转信息 API请求 taobao.logistics.trace.get
用户根据交易号查询物流流转信息
func NewTaobaoLogisticsTraceGetRequest ¶ added in v1.2.9
func NewTaobaoLogisticsTraceGetRequest() *TaobaoLogisticsTraceGetAPIRequest
NewTaobaoLogisticsTraceGetRequest 初始化TaobaoLogisticsTraceGetAPIRequest对象
func (TaobaoLogisticsTraceGetAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoLogisticsTraceGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsTraceGetAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoLogisticsTraceGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsTraceGetAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoLogisticsTraceGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsTraceGetAPIRequest) GetTid ¶ added in v1.2.9
func (r TaobaoLogisticsTraceGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsTraceGetAPIRequest) SetTid ¶ added in v1.2.9
func (r *TaobaoLogisticsTraceGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易号
type TaobaoLogisticsTraceGetAPIResponse ¶ added in v1.2.9
type TaobaoLogisticsTraceGetAPIResponse struct { model.CommonResponse TaobaoLogisticsTraceGetAPIResponseModel }
TaobaoLogisticsTraceGetAPIResponse 用户根据交易号查询物流流转信息 API返回值 taobao.logistics.trace.get
用户根据交易号查询物流流转信息
type TaobaoLogisticsTraceGetAPIResponseModel ¶ added in v1.2.9
type TaobaoLogisticsTraceGetAPIResponseModel struct { XMLName xml.Name `xml:"logistics_trace_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回对象 Result []TransitStepResult `json:"result,omitempty" xml:"result>transit_step_result,omitempty"` }
TaobaoLogisticsTraceGetAPIResponseModel is 用户根据交易号查询物流流转信息 成功返回结果
type TaobaoLogisticsTraceSearchAPIRequest ¶
type TaobaoLogisticsTraceSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsTraceSearchAPIRequest 物流流转信息查询 API请求 taobao.logistics.trace.search
用户根据淘宝交易号查询物流流转信息,如2010-8-10 15:23:00到达杭州集散地。<br/>此接口的返回信息都由物流公司提供。(备注:使用线下发货(offline.send)的运单,不支持运单状态的实时跟踪,只要一发货,状态就会变为<status>对方已签收</status>,该字段仅对线上发货(online.send)的运单有效。)
func NewTaobaoLogisticsTraceSearchRequest ¶
func NewTaobaoLogisticsTraceSearchRequest() *TaobaoLogisticsTraceSearchAPIRequest
NewTaobaoLogisticsTraceSearchRequest 初始化TaobaoLogisticsTraceSearchAPIRequest对象
func (TaobaoLogisticsTraceSearchAPIRequest) GetApiMethodName ¶
func (r TaobaoLogisticsTraceSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsTraceSearchAPIRequest) GetApiParams ¶
func (r TaobaoLogisticsTraceSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsTraceSearchAPIRequest) GetIsSplit ¶
func (r TaobaoLogisticsTraceSearchAPIRequest) GetIsSplit() int64
GetIsSplit IsSplit Getter
func (TaobaoLogisticsTraceSearchAPIRequest) GetRawParams ¶
func (r TaobaoLogisticsTraceSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsTraceSearchAPIRequest) GetSubTid ¶
func (r TaobaoLogisticsTraceSearchAPIRequest) GetSubTid() []string
GetSubTid SubTid Getter
func (TaobaoLogisticsTraceSearchAPIRequest) GetTid ¶
func (r TaobaoLogisticsTraceSearchAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoLogisticsTraceSearchAPIRequest) SetIsSplit ¶
func (r *TaobaoLogisticsTraceSearchAPIRequest) SetIsSplit(_isSplit int64) error
SetIsSplit is IsSplit Setter 表明是否是拆单,默认值0,1表示拆单
func (*TaobaoLogisticsTraceSearchAPIRequest) SetSubTid ¶
func (r *TaobaoLogisticsTraceSearchAPIRequest) SetSubTid(_subTid []string) error
SetSubTid is SubTid Setter 拆单子订单列表,当is_split=1时,需要传人;对应的数据是:子订单号的列表。
func (*TaobaoLogisticsTraceSearchAPIRequest) SetTid ¶
func (r *TaobaoLogisticsTraceSearchAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易号,请勿传非淘宝交易号
type TaobaoLogisticsTraceSearchAPIResponse ¶
type TaobaoLogisticsTraceSearchAPIResponse struct { model.CommonResponse TaobaoLogisticsTraceSearchAPIResponseModel }
TaobaoLogisticsTraceSearchAPIResponse 物流流转信息查询 API返回值 taobao.logistics.trace.search
用户根据淘宝交易号查询物流流转信息,如2010-8-10 15:23:00到达杭州集散地。<br/>此接口的返回信息都由物流公司提供。(备注:使用线下发货(offline.send)的运单,不支持运单状态的实时跟踪,只要一发货,状态就会变为<status>对方已签收</status>,该字段仅对线上发货(online.send)的运单有效。)
type TaobaoLogisticsTraceSearchAPIResponseModel ¶
type TaobaoLogisticsTraceSearchAPIResponseModel struct { XMLName xml.Name `xml:"logistics_trace_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 流转信息列表 TraceList []TransitStepInfo `json:"trace_list,omitempty" xml:"trace_list>transit_step_info,omitempty"` // 运单号 OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 订单的物流状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 交易号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
TaobaoLogisticsTraceSearchAPIResponseModel is 物流流转信息查询 成功返回结果
type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest ¶ added in v1.2.9
type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest 包裹出库单确认 API请求 taobao.logistics.wms.packagedeliveryorder.confirm
包裹出库单确认
func NewTaobaoLogisticsWmsPackagedeliveryorderConfirmRequest ¶ added in v1.2.9
func NewTaobaoLogisticsWmsPackagedeliveryorderConfirmRequest() *TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest
NewTaobaoLogisticsWmsPackagedeliveryorderConfirmRequest 初始化TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest对象
func (TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetConfirmPackageDeliveryOrderRequest ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetConfirmPackageDeliveryOrderRequest() *ConfirmPackageOrderRequest
GetConfirmPackageDeliveryOrderRequest ConfirmPackageDeliveryOrderRequest Getter
func (TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) SetConfirmPackageDeliveryOrderRequest ¶ added in v1.2.9
func (r *TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest) SetConfirmPackageDeliveryOrderRequest(_confirmPackageDeliveryOrderRequest *ConfirmPackageOrderRequest) error
SetConfirmPackageDeliveryOrderRequest is ConfirmPackageDeliveryOrderRequest Setter 请求
type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponse ¶ added in v1.2.9
type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponse struct { model.CommonResponse TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponseModel }
TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponse 包裹出库单确认 API返回值 taobao.logistics.wms.packagedeliveryorder.confirm
包裹出库单确认
type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponseModel ¶ added in v1.2.9
type TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponseModel struct { XMLName xml.Name `xml:"logistics_wms_packagedeliveryorder_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应结果 Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponseModel is 包裹出库单确认 成功返回结果
type TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest ¶ added in v1.2.9
type TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest 包裹出库单拉单 API请求 taobao.logistics.wms.packagedeliveryorder.pull
包裹出库单拉单
func NewTaobaoLogisticsWmsPackagedeliveryorderPullRequest ¶ added in v1.2.9
func NewTaobaoLogisticsWmsPackagedeliveryorderPullRequest() *TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest
NewTaobaoLogisticsWmsPackagedeliveryorderPullRequest 初始化TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest对象
func (TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetPullPackageDeliveryOrderRequest ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetPullPackageDeliveryOrderRequest() *PullPackageOrderRequest
GetPullPackageDeliveryOrderRequest PullPackageDeliveryOrderRequest Getter
func (TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) SetPullPackageDeliveryOrderRequest ¶ added in v1.2.9
func (r *TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest) SetPullPackageDeliveryOrderRequest(_pullPackageDeliveryOrderRequest *PullPackageOrderRequest) error
SetPullPackageDeliveryOrderRequest is PullPackageDeliveryOrderRequest Setter 请求
type TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponse ¶ added in v1.2.9
type TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponse struct { model.CommonResponse TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponseModel }
TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponse 包裹出库单拉单 API返回值 taobao.logistics.wms.packagedeliveryorder.pull
包裹出库单拉单
type TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponseModel ¶ added in v1.2.9
type TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponseModel struct { XMLName xml.Name `xml:"logistics_wms_packagedeliveryorder_pull_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponseModel is 包裹出库单拉单 成功返回结果
type TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest 包裹入库单确认 API请求 taobao.logistics.wms.packageentryorder.confirm
包裹入库单确认
func NewTaobaoLogisticsWmsPackageentryorderConfirmRequest ¶ added in v1.2.9
func NewTaobaoLogisticsWmsPackageentryorderConfirmRequest() *TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest
NewTaobaoLogisticsWmsPackageentryorderConfirmRequest 初始化TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest对象
func (TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetConfirmPackageEntryOrderRequest ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetConfirmPackageEntryOrderRequest() *ConfirmPackageOrderRequest
GetConfirmPackageEntryOrderRequest ConfirmPackageEntryOrderRequest Getter
func (TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) SetConfirmPackageEntryOrderRequest ¶ added in v1.2.9
func (r *TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest) SetConfirmPackageEntryOrderRequest(_confirmPackageEntryOrderRequest *ConfirmPackageOrderRequest) error
SetConfirmPackageEntryOrderRequest is ConfirmPackageEntryOrderRequest Setter 请求
type TaobaoLogisticsWmsPackageentryorderConfirmAPIResponse ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageentryorderConfirmAPIResponse struct { model.CommonResponse TaobaoLogisticsWmsPackageentryorderConfirmAPIResponseModel }
TaobaoLogisticsWmsPackageentryorderConfirmAPIResponse 包裹入库单确认 API返回值 taobao.logistics.wms.packageentryorder.confirm
包裹入库单确认
type TaobaoLogisticsWmsPackageentryorderConfirmAPIResponseModel ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageentryorderConfirmAPIResponseModel struct { XMLName xml.Name `xml:"logistics_wms_packageentryorder_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *ResultWrappe `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLogisticsWmsPackageentryorderConfirmAPIResponseModel is 包裹入库单确认 成功返回结果
type TaobaoLogisticsWmsPackageentryorderPullAPIRequest ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageentryorderPullAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsWmsPackageentryorderPullAPIRequest 包裹入库单拉单 API请求 taobao.logistics.wms.packageentryorder.pull
包裹入库单拉单
func NewTaobaoLogisticsWmsPackageentryorderPullRequest ¶ added in v1.2.9
func NewTaobaoLogisticsWmsPackageentryorderPullRequest() *TaobaoLogisticsWmsPackageentryorderPullAPIRequest
NewTaobaoLogisticsWmsPackageentryorderPullRequest 初始化TaobaoLogisticsWmsPackageentryorderPullAPIRequest对象
func (TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetPullPackageEntryOrderRequest ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetPullPackageEntryOrderRequest() *PullPackageOrderRequest
GetPullPackageEntryOrderRequest PullPackageEntryOrderRequest Getter
func (TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageentryorderPullAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoLogisticsWmsPackageentryorderPullAPIRequest) SetPullPackageEntryOrderRequest ¶ added in v1.2.9
func (r *TaobaoLogisticsWmsPackageentryorderPullAPIRequest) SetPullPackageEntryOrderRequest(_pullPackageEntryOrderRequest *PullPackageOrderRequest) error
SetPullPackageEntryOrderRequest is PullPackageEntryOrderRequest Setter 请求
type TaobaoLogisticsWmsPackageentryorderPullAPIResponse ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageentryorderPullAPIResponse struct { model.CommonResponse TaobaoLogisticsWmsPackageentryorderPullAPIResponseModel }
TaobaoLogisticsWmsPackageentryorderPullAPIResponse 包裹入库单拉单 API返回值 taobao.logistics.wms.packageentryorder.pull
包裹入库单拉单
type TaobaoLogisticsWmsPackageentryorderPullAPIResponseModel ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageentryorderPullAPIResponseModel struct { XMLName xml.Name `xml:"logistics_wms_packageentryorder_pull_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLogisticsWmsPackageentryorderPullAPIResponseModel is 包裹入库单拉单 成功返回结果
type TaobaoLogisticsWmsPackageexceptionReportAPIRequest ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageexceptionReportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoLogisticsWmsPackageexceptionReportAPIRequest 无主件回告 API请求 taobao.logistics.wms.packageexception.report
无主件回告
func NewTaobaoLogisticsWmsPackageexceptionReportRequest ¶ added in v1.2.9
func NewTaobaoLogisticsWmsPackageexceptionReportRequest() *TaobaoLogisticsWmsPackageexceptionReportAPIRequest
NewTaobaoLogisticsWmsPackageexceptionReportRequest 初始化TaobaoLogisticsWmsPackageexceptionReportAPIRequest对象
func (TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetApiMethodName ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetApiParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetRawParams ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetReportExceptionRequest ¶ added in v1.2.9
func (r TaobaoLogisticsWmsPackageexceptionReportAPIRequest) GetReportExceptionRequest() *ReportExceptionRequest
GetReportExceptionRequest ReportExceptionRequest Getter
func (*TaobaoLogisticsWmsPackageexceptionReportAPIRequest) SetReportExceptionRequest ¶ added in v1.2.9
func (r *TaobaoLogisticsWmsPackageexceptionReportAPIRequest) SetReportExceptionRequest(_reportExceptionRequest *ReportExceptionRequest) error
SetReportExceptionRequest is ReportExceptionRequest Setter 请求
type TaobaoLogisticsWmsPackageexceptionReportAPIResponse ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageexceptionReportAPIResponse struct { model.CommonResponse TaobaoLogisticsWmsPackageexceptionReportAPIResponseModel }
TaobaoLogisticsWmsPackageexceptionReportAPIResponse 无主件回告 API返回值 taobao.logistics.wms.packageexception.report
无主件回告
type TaobaoLogisticsWmsPackageexceptionReportAPIResponseModel ¶ added in v1.2.9
type TaobaoLogisticsWmsPackageexceptionReportAPIResponseModel struct { XMLName xml.Name `xml:"logistics_wms_packageexception_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应信息 Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoLogisticsWmsPackageexceptionReportAPIResponseModel is 无主件回告 成功返回结果
type TaobaoWlbOrderJzConsignAPIRequest ¶
type TaobaoWlbOrderJzConsignAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderJzConsignAPIRequest 家装发货接口 API请求 taobao.wlb.order.jz.consign
家装类订单使用该接口发货
func NewTaobaoWlbOrderJzConsignRequest ¶
func NewTaobaoWlbOrderJzConsignRequest() *TaobaoWlbOrderJzConsignAPIRequest
NewTaobaoWlbOrderJzConsignRequest 初始化TaobaoWlbOrderJzConsignAPIRequest对象
func (TaobaoWlbOrderJzConsignAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderJzConsignAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderJzConsignAPIRequest) GetInsReceiverTo ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetInsReceiverTo() *JzReceiverTO
GetInsReceiverTo InsReceiverTo Getter
func (TaobaoWlbOrderJzConsignAPIRequest) GetInsTpDto ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetInsTpDto() *TPDto
GetInsTpDto InsTpDto Getter
func (TaobaoWlbOrderJzConsignAPIRequest) GetJzReceiverTo ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetJzReceiverTo() *JzReceiverTO
GetJzReceiverTo JzReceiverTo Getter
func (TaobaoWlbOrderJzConsignAPIRequest) GetJzTopArgs ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetJzTopArgs() *JzTopArgs
GetJzTopArgs JzTopArgs Getter
func (TaobaoWlbOrderJzConsignAPIRequest) GetLgTpDto ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetLgTpDto() *TPDto
GetLgTpDto LgTpDto Getter
func (TaobaoWlbOrderJzConsignAPIRequest) GetRawParams ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderJzConsignAPIRequest) GetSenderId ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetSenderId() int64
GetSenderId SenderId Getter
func (TaobaoWlbOrderJzConsignAPIRequest) GetTid ¶
func (r TaobaoWlbOrderJzConsignAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoWlbOrderJzConsignAPIRequest) SetInsReceiverTo ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetInsReceiverTo(_insReceiverTo *JzReceiverTO) error
SetInsReceiverTo is InsReceiverTo Setter 安装收货人信息,如果为空,则取默认收货人信息
func (*TaobaoWlbOrderJzConsignAPIRequest) SetInsTpDto ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetInsTpDto(_insTpDto *TPDto) error
SetInsTpDto is InsTpDto Setter 安装公司信息,需要安装时,才填写
func (*TaobaoWlbOrderJzConsignAPIRequest) SetJzReceiverTo ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetJzReceiverTo(_jzReceiverTo *JzReceiverTO) error
SetJzReceiverTo is JzReceiverTo Setter 家装收货人信息,如果为空,则取默认收货信息
func (*TaobaoWlbOrderJzConsignAPIRequest) SetJzTopArgs ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetJzTopArgs(_jzTopArgs *JzTopArgs) error
SetJzTopArgs is JzTopArgs Setter 发货参数
func (*TaobaoWlbOrderJzConsignAPIRequest) SetLgTpDto ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetLgTpDto(_lgTpDto *TPDto) error
SetLgTpDto is LgTpDto Setter 物流公司信息
func (*TaobaoWlbOrderJzConsignAPIRequest) SetSenderId ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetSenderId(_senderId int64) error
SetSenderId is SenderId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。如果为空,取的卖家的默认取货地址
func (*TaobaoWlbOrderJzConsignAPIRequest) SetTid ¶
func (r *TaobaoWlbOrderJzConsignAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易号
type TaobaoWlbOrderJzConsignAPIResponse ¶
type TaobaoWlbOrderJzConsignAPIResponse struct { model.CommonResponse TaobaoWlbOrderJzConsignAPIResponseModel }
TaobaoWlbOrderJzConsignAPIResponse 家装发货接口 API返回值 taobao.wlb.order.jz.consign
家装类订单使用该接口发货
type TaobaoWlbOrderJzConsignAPIResponseModel ¶
type TaobaoWlbOrderJzConsignAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_jz_consign_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"` // 错误信息描述 ResultErrorMsg string `json:"result_error_msg,omitempty" xml:"result_error_msg,omitempty"` // 是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
TaobaoWlbOrderJzConsignAPIResponseModel is 家装发货接口 成功返回结果
type TaobaoWlbOrderJzQueryAPIRequest ¶
type TaobaoWlbOrderJzQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderJzQueryAPIRequest 家装业务查询物流公司api API请求 taobao.wlb.order.jz.query
家装业务查询物流公司api
func NewTaobaoWlbOrderJzQueryRequest ¶
func NewTaobaoWlbOrderJzQueryRequest() *TaobaoWlbOrderJzQueryAPIRequest
NewTaobaoWlbOrderJzQueryRequest 初始化TaobaoWlbOrderJzQueryAPIRequest对象
func (TaobaoWlbOrderJzQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderJzQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderJzQueryAPIRequest) GetInsJzReceiverTO ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetInsJzReceiverTO() *JzReceiverTO
GetInsJzReceiverTO InsJzReceiverTO Getter
func (TaobaoWlbOrderJzQueryAPIRequest) GetJzReceiverTo ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetJzReceiverTo() *JzReceiverTO
GetJzReceiverTo JzReceiverTo Getter
func (TaobaoWlbOrderJzQueryAPIRequest) GetRawParams ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderJzQueryAPIRequest) GetSenderId ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetSenderId() int64
GetSenderId SenderId Getter
func (TaobaoWlbOrderJzQueryAPIRequest) GetTid ¶
func (r TaobaoWlbOrderJzQueryAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoWlbOrderJzQueryAPIRequest) SetInsJzReceiverTO ¶
func (r *TaobaoWlbOrderJzQueryAPIRequest) SetInsJzReceiverTO(_insJzReceiverTO *JzReceiverTO) error
SetInsJzReceiverTO is InsJzReceiverTO Setter 家装安装服务收货人信息
func (*TaobaoWlbOrderJzQueryAPIRequest) SetJzReceiverTo ¶
func (r *TaobaoWlbOrderJzQueryAPIRequest) SetJzReceiverTo(_jzReceiverTo *JzReceiverTO) error
SetJzReceiverTo is JzReceiverTo Setter 家装收货人信息
func (*TaobaoWlbOrderJzQueryAPIRequest) SetSenderId ¶
func (r *TaobaoWlbOrderJzQueryAPIRequest) SetSenderId(_senderId int64) error
SetSenderId is SenderId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。如果为空,取的卖家的默认取货地址
func (*TaobaoWlbOrderJzQueryAPIRequest) SetTid ¶
func (r *TaobaoWlbOrderJzQueryAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易id
type TaobaoWlbOrderJzQueryAPIResponse ¶
type TaobaoWlbOrderJzQueryAPIResponse struct { model.CommonResponse TaobaoWlbOrderJzQueryAPIResponseModel }
TaobaoWlbOrderJzQueryAPIResponse 家装业务查询物流公司api API返回值 taobao.wlb.order.jz.query
家装业务查询物流公司api
type TaobaoWlbOrderJzQueryAPIResponseModel ¶
type TaobaoWlbOrderJzQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_jz_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误编码 ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"` // 错误信息 ResultErrorMsg string `json:"result_error_msg,omitempty" xml:"result_error_msg,omitempty"` // 结果信息 Result *JzTopDto `json:"result,omitempty" xml:"result,omitempty"` // 是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
TaobaoWlbOrderJzQueryAPIResponseModel is 家装业务查询物流公司api 成功返回结果
type TaobaoWlbStoresBaseinfoGetAPIRequest ¶
type TaobaoWlbStoresBaseinfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbStoresBaseinfoGetAPIRequest 商家按照仓的类型获取仓库接口 API请求 taobao.wlb.stores.baseinfo.get
通过USERID和仓库类型,获取商家自有仓库或菜鸟仓库或全部仓库
func NewTaobaoWlbStoresBaseinfoGetRequest ¶
func NewTaobaoWlbStoresBaseinfoGetRequest() *TaobaoWlbStoresBaseinfoGetAPIRequest
NewTaobaoWlbStoresBaseinfoGetRequest 初始化TaobaoWlbStoresBaseinfoGetAPIRequest对象
func (TaobaoWlbStoresBaseinfoGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbStoresBaseinfoGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbStoresBaseinfoGetAPIRequest) GetRawParams ¶
func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbStoresBaseinfoGetAPIRequest) GetType ¶
func (r TaobaoWlbStoresBaseinfoGetAPIRequest) GetType() int64
GetType Type Getter
func (*TaobaoWlbStoresBaseinfoGetAPIRequest) SetType ¶
func (r *TaobaoWlbStoresBaseinfoGetAPIRequest) SetType(_type int64) error
SetType is Type Setter 0.商家仓库.1.菜鸟仓库.2全部被划分的仓库
type TaobaoWlbStoresBaseinfoGetAPIResponse ¶
type TaobaoWlbStoresBaseinfoGetAPIResponse struct { model.CommonResponse TaobaoWlbStoresBaseinfoGetAPIResponseModel }
TaobaoWlbStoresBaseinfoGetAPIResponse 商家按照仓的类型获取仓库接口 API返回值 taobao.wlb.stores.baseinfo.get
通过USERID和仓库类型,获取商家自有仓库或菜鸟仓库或全部仓库
type TaobaoWlbStoresBaseinfoGetAPIResponseModel ¶
type TaobaoWlbStoresBaseinfoGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_stores_baseinfo_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 仓库列表 StoreInfoList []StoreInfo `json:"store_info_list,omitempty" xml:"store_info_list>store_info,omitempty"` // 返回的总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbStoresBaseinfoGetAPIResponseModel is 商家按照仓的类型获取仓库接口 成功返回结果
type TopConsignGoodsRequest ¶ added in v1.2.9
type TopConsignGoodsRequest struct { // 子订单id SubTid string `json:"sub_tid,omitempty" xml:"sub_tid,omitempty"` // 成分品itemId CompItemId string `json:"comp_item_id,omitempty" xml:"comp_item_id,omitempty"` // 成分品skuId CompSkuId string `json:"comp_sku_id,omitempty" xml:"comp_sku_id,omitempty"` // 商品类型 0:普通品 1:赠品 2:成分品,默认0 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 商品数量,不传默认为子单上的商品数量;支持不传,但不能传0或负值 Num int64 `json:"num,omitempty" xml:"num,omitempty"` }
TopConsignGoodsRequest 结构体
type TopConsignPkgRequest ¶
type TopConsignPkgRequest struct { // 包裹中商品信息 Goods []TopConsignGoodsRequest `json:"goods,omitempty" xml:"goods>top_consign_goods_request,omitempty"` // 物流公司代码.如"POST"代表中国邮政,"ZJS"代表宅急送。调用 taobao.logistics.companies.get 获取 CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"` // 运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入 OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 快递子单运单号 SubOutSid string `json:"sub_out_sid,omitempty" xml:"sub_out_sid,omitempty"` }
TopConsignPkgRequest 结构体
type TopFee ¶
type TopFee struct { // 可选值:post:平邮; cod:货到付款; ems:EMS; express:快递公司 ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"` // 邮费子项涉及的地区,多个地区用逗号连接数量串;可以用taobao.areas.get接口获取.或者参考:http://www.stats.gov.cn/tjbz/xzqhdm/t20080215_402462675.htm 例 (110000,310000,320000,330000).就代表邮费子项涉 及(北京,上海,江苏,浙江)四个地区.填写时要注意对照地区代码值,如果填入错误地区代码,将会出现错误信息. Destination string `json:"destination,omitempty" xml:"destination,omitempty"` // 首费标准:当valuation(记价方式)为0时输入1-9999范围内的整数 StartStandard string `json:"start_standard,omitempty" xml:"start_standard,omitempty"` // 首费:输入0.01-999.99(最多包含两位小数) 不能为空也不能为0 StartFee string `json:"start_fee,omitempty" xml:"start_fee,omitempty"` // 增费标准:当valuation(记价方式)为0时输入1-9999范围内的整数 AddStandard string `json:"add_standard,omitempty" xml:"add_standard,omitempty"` // 增费:输入0.00-999.99(最多包含两位小数) 不能为空不输入运费时必须输入0 AddFee string `json:"add_fee,omitempty" xml:"add_fee,omitempty"` }
TopFee 结构体
type TopLogisticsMailDto ¶
type TopLogisticsMailDto struct { // 物流节点列表 TraceList []TopLogisticsNodeDto `json:"trace_list,omitempty" xml:"trace_list>top_logistics_node_dto,omitempty"` // 运单号 OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 物流公司 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 当前最新节点 Status string `json:"status,omitempty" xml:"status,omitempty"` // 交易单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
TopLogisticsMailDto 结构体
type TopLogisticsNodeDto ¶
type TopLogisticsNodeDto struct { // 节点描述 StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"` // 节点枚举 Action string `json:"action,omitempty" xml:"action,omitempty"` // 当前节点发生时间 StatusTime int64 `json:"status_time,omitempty" xml:"status_time,omitempty"` }
TopLogisticsNodeDto 结构体
type TransitStepInfo ¶
type TransitStepInfo struct { // 状态发生的时间 StatusTime string `json:"status_time,omitempty" xml:"status_time,omitempty"` // 状态描述 StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"` // 节点说明 ,指明当前节点揽收、派送,签收。 Action string `json:"action,omitempty" xml:"action,omitempty"` }
TransitStepInfo 结构体
type TransitStepResult ¶ added in v1.2.9
type TransitStepResult struct { // 列表 TraceList []TransitStepInfo `json:"trace_list,omitempty" xml:"trace_list>transit_step_info,omitempty"` // 运单号 OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 订单物流状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 交易号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
TransitStepResult 结构体
type WriteOffGoodsDto ¶
type WriteOffGoodsDto struct { // 商品Id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 价格 Price string `json:"price,omitempty" xml:"price,omitempty"` // 名称 GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"` // 商品sku id SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 商品图片地址 GoodsPicId string `json:"goods_pic_id,omitempty" xml:"goods_pic_id,omitempty"` // 数量 GoodsQuantity int64 `json:"goods_quantity,omitempty" xml:"goods_quantity,omitempty"` }
WriteOffGoodsDto 结构体
type WriteOffOrderDto ¶
type WriteOffOrderDto struct { // 交易单所包含的商品列表 GoodsList []WriteOffGoodsDto `json:"goods_list,omitempty" xml:"goods_list>write_off_goods_dto,omitempty"` // 核销订单Id LpOrderId string `json:"lp_order_id,omitempty" xml:"lp_order_id,omitempty"` // 淘宝交易Id TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"` }
WriteOffOrderDto 结构体
Source Files ¶
- AlibabaAscpLogisticsConsignModifyAPIRequest.go
- AlibabaAscpLogisticsConsignModifyAPIResponse.go
- AlibabaAscpLogisticsConsignResendAPIRequest.go
- AlibabaAscpLogisticsConsignResendAPIResponse.go
- AlibabaAscpLogisticsConsignResendResultDto.go
- AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIRequest.go
- AlibabaAscpLogisticsInstantsonlineCalldeliveryAPIResponse.go
- AlibabaAscpLogisticsInstantsonlineCalldeliveryTopResult.go
- AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIRequest.go
- AlibabaAscpLogisticsInstantsonlineCanceldeliveryAPIResponse.go
- AlibabaAscpLogisticsInstantsonlineCanceldeliveryTopResult.go
- AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIRequest.go
- AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthAPIResponse.go
- AlibabaAscpLogisticsInstantsonlineCheckdeliveryauthTopResult.go
- AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIRequest.go
- AlibabaAscpLogisticsInstantsonlineDeliveryorderGetAPIResponse.go
- AlibabaAscpLogisticsInstantsonlineDeliveryorderGetTopResult.go
- AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIRequest.go
- AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryAPIResponse.go
- AlibabaAscpLogisticsInstantsonlinePriorcalldeliveryTopResult.go
- AlibabaAscpLogisticsOfflineSendAPIRequest.go
- AlibabaAscpLogisticsOfflineSendAPIResponse.go
- AlibabaAscpLogisticsOfflineSendResultDto.go
- AlibabaAscpLogisticsSellerOrdersGetAPIRequest.go
- AlibabaAscpLogisticsSellerOrdersGetAPIResponse.go
- AlibabaAscpLogisticsSellerSendAPIRequest.go
- AlibabaAscpLogisticsSellerSendAPIResponse.go
- AlibabaAscpLogisticsSellerWritelogisticsnodeAPIRequest.go
- AlibabaAscpLogisticsSellerWritelogisticsnodeAPIResponse.go
- AlibabaAscpLogisticsSellerWriteoffAPIRequest.go
- AlibabaAscpLogisticsSellerWriteoffAPIResponse.go
- Area.go
- BatchWriteLogisticsNodeTopResponse.go
- CarriageDetail.go
- CheckDeliveryAuthTopResponse.go
- ConfirmPackageOrderRequest.go
- ConsignDto.go
- ConsignStatusRequest.go
- ContactInfo.go
- DeliveryTemplate.go
- DeliveryTopDto.go
- GenPickupCodeConfigTopDto.go
- GetDeliveryOrderTopResponse.go
- ItemTopDto.go
- JzReceiverTo.go
- JzTopArgs.go
- JzTopDto.go
- Location.go
- LocationTopDto.go
- LogisticsCompany.go
- LogisticsMail.go
- LogisticsNodeTopDto.go
- LogisticsPartner.go
- PackageDto.go
- PartnerDetail.go
- PriorCallDeliveryTopResponse.go
- PullPackageOrderRequest.go
- PullPackageOrderResponse.go
- ReceiverTopDto.go
- ReportExceptionRequest.go
- ResourceDto.go
- ResultDto.go
- ResultWrappe.go
- ResultWrapper.go
- SelectedResourceTopDto.go
- SenderTopDto.go
- Shipping.go
- SingleResultDto.go
- StoreInfo.go
- TaobaoAreasGetAPIRequest.go
- TaobaoAreasGetAPIResponse.go
- TaobaoDeliveryTemplateAddAPIRequest.go
- TaobaoDeliveryTemplateAddAPIResponse.go
- TaobaoDeliveryTemplateDeleteAPIRequest.go
- TaobaoDeliveryTemplateDeleteAPIResponse.go
- TaobaoDeliveryTemplateGetAPIRequest.go
- TaobaoDeliveryTemplateGetAPIResponse.go
- TaobaoDeliveryTemplateUpdateAPIRequest.go
- TaobaoDeliveryTemplateUpdateAPIResponse.go
- TaobaoDeliveryTemplatesGetAPIRequest.go
- TaobaoDeliveryTemplatesGetAPIResponse.go
- TaobaoLogisticsCompaniesGetAPIRequest.go
- TaobaoLogisticsCompaniesGetAPIResponse.go
- TaobaoLogisticsConsignOrderCreateandsendAPIRequest.go
- TaobaoLogisticsConsignOrderCreateandsendAPIResponse.go
- TaobaoLogisticsDummySendAPIRequest.go
- TaobaoLogisticsDummySendAPIResponse.go
- TaobaoLogisticsInstantTraceSearchAPIRequest.go
- TaobaoLogisticsInstantTraceSearchAPIResponse.go
- TaobaoLogisticsInstantTraceSearchResult.go
- TaobaoLogisticsOnlineCancelAPIRequest.go
- TaobaoLogisticsOnlineCancelAPIResponse.go
- TaobaoLogisticsOnlineConfirmAPIRequest.go
- TaobaoLogisticsOnlineConfirmAPIResponse.go
- TaobaoLogisticsOnlineSendAPIRequest.go
- TaobaoLogisticsOnlineSendAPIResponse.go
- TaobaoLogisticsOrderCreateAPIRequest.go
- TaobaoLogisticsOrderCreateAPIResponse.go
- TaobaoLogisticsOrdersDetailGetAPIRequest.go
- TaobaoLogisticsOrdersDetailGetAPIResponse.go
- TaobaoLogisticsOrdersGetAPIRequest.go
- TaobaoLogisticsOrdersGetAPIResponse.go
- TaobaoLogisticsPartnersGetAPIRequest.go
- TaobaoLogisticsPartnersGetAPIResponse.go
- TaobaoLogisticsTraceGetAPIRequest.go
- TaobaoLogisticsTraceGetAPIResponse.go
- TaobaoLogisticsTraceSearchAPIRequest.go
- TaobaoLogisticsTraceSearchAPIResponse.go
- TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIRequest.go
- TaobaoLogisticsWmsPackagedeliveryorderConfirmAPIResponse.go
- TaobaoLogisticsWmsPackagedeliveryorderPullAPIRequest.go
- TaobaoLogisticsWmsPackagedeliveryorderPullAPIResponse.go
- TaobaoLogisticsWmsPackageentryorderConfirmAPIRequest.go
- TaobaoLogisticsWmsPackageentryorderConfirmAPIResponse.go
- TaobaoLogisticsWmsPackageentryorderPullAPIRequest.go
- TaobaoLogisticsWmsPackageentryorderPullAPIResponse.go
- TaobaoLogisticsWmsPackageexceptionReportAPIRequest.go
- TaobaoLogisticsWmsPackageexceptionReportAPIResponse.go
- TaobaoWlbOrderJzConsignAPIRequest.go
- TaobaoWlbOrderJzConsignAPIResponse.go
- TaobaoWlbOrderJzQueryAPIRequest.go
- TaobaoWlbOrderJzQueryAPIResponse.go
- TaobaoWlbStoresBaseinfoGetAPIRequest.go
- TaobaoWlbStoresBaseinfoGetAPIResponse.go
- TopConsignGoodsRequest.go
- TopConsignPkgRequest.go
- TopFee.go
- TopLogisticsMailDto.go
- TopLogisticsNodeDto.go
- Tpdto.go
- TransitStepInfo.go
- TransitStepResult.go
- WriteOffGoodsDto.go
- WriteOffOrderDto.go
- doc.go