Documentation ¶
Overview ¶
Package cainiaohandover 包含菜鸟国际出口相关结构体
Index ¶
- type AddressDto
- type AeopActualCarrierResponse
- type CainiaoGlobalCommithandovercontentUpdateAPIRequest
- func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetOpenHandoverContentUpdateCommitRequest() *OpenHandoverContentUpdateCommitRequest
- func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetRawParams() model.Params
- func (r *CainiaoGlobalCommithandovercontentUpdateAPIRequest) SetOpenHandoverContentUpdateCommitRequest(...) error
- type CainiaoGlobalCommithandovercontentUpdateAPIResponse
- type CainiaoGlobalCommithandovercontentUpdateAPIResponseModel
- type CainiaoGlobalHandoverCancelAPIRequest
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetHandoverContentId() int64
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetHandoverOrderId() int64
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetTrackingNumber() string
- func (r CainiaoGlobalHandoverCancelAPIRequest) GetUserInfo() *UserInfoDto
- func (r *CainiaoGlobalHandoverCancelAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverCancelAPIRequest) SetHandoverContentId(_handoverContentId int64) error
- func (r *CainiaoGlobalHandoverCancelAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
- func (r *CainiaoGlobalHandoverCancelAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverCancelAPIRequest) SetTrackingNumber(_trackingNumber string) error
- func (r *CainiaoGlobalHandoverCancelAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- type CainiaoGlobalHandoverCancelAPIResponse
- type CainiaoGlobalHandoverCancelAPIResponseModel
- type CainiaoGlobalHandoverCloudprintGetAPIRequest
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetOrderCode() string
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetTrackingNumber() string
- func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetUserInfo() *UserInfoDto
- func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetOrderCode(_orderCode string) error
- func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetTrackingNumber(_trackingNumber string) error
- func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- type CainiaoGlobalHandoverCloudprintGetAPIResponse
- type CainiaoGlobalHandoverCloudprintGetAPIResponseModel
- type CainiaoGlobalHandoverCommitAPIRequest
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetAppointmentType() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetDomesticLogisticsCompany() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetDomesticLogisticsCompanyId() int64
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetDomesticTrackingNo() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetFeatures() *Features
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetHandoverOrderId() int64
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetOrderCodeList() []string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetPickupInfo() *PickupDto
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetRemark() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetReturnInfo() *ReturnerDto
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetType() string
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetUserInfo() *UserInfoDto
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetWeight() int64
- func (r CainiaoGlobalHandoverCommitAPIRequest) GetWeightUnit() string
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetAppointmentType(_appointmentType string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetDomesticLogisticsCompany(_domesticLogisticsCompany string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetDomesticLogisticsCompanyId(_domesticLogisticsCompanyId int64) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetDomesticTrackingNo(_domesticTrackingNo string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetFeatures(_features *Features) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetOrderCodeList(_orderCodeList []string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetRemark(_remark string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetType(_type string) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetWeight(_weight int64) error
- func (r *CainiaoGlobalHandoverCommitAPIRequest) SetWeightUnit(_weightUnit string) error
- type CainiaoGlobalHandoverCommitAPIResponse
- type CainiaoGlobalHandoverCommitAPIResponseModel
- type CainiaoGlobalHandoverContentQueryAPIRequest
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetOrderCode() string
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetTrackingNumber() string
- func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetUserInfo() *UserInfoDto
- func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetOrderCode(_orderCode string) error
- func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetTrackingNumber(_trackingNumber string) error
- func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- type CainiaoGlobalHandoverContentQueryAPIResponse
- type CainiaoGlobalHandoverContentQueryAPIResponseModel
- type CainiaoGlobalHandoverContentSubbagAddAPIRequest
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetHandoverContentCode() string
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetSubbagCount() int64
- func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetHandoverContentCode(_handoverContentCode string) error
- func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetSubbagCount(_subbagCount int64) error
- type CainiaoGlobalHandoverContentSubbagAddAPIResponse
- type CainiaoGlobalHandoverContentSubbagAddAPIResponseModel
- type CainiaoGlobalHandoverParcelQueryAPIRequest
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetOrderCode() string
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetTrackingNumber() string
- func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetUserInfo() *UserInfoDto
- func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetOrderCode(_orderCode string) error
- func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetTrackingNumber(_trackingNumber string) error
- func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- type CainiaoGlobalHandoverParcelQueryAPIResponse
- type CainiaoGlobalHandoverParcelQueryAPIResponseModel
- type CainiaoGlobalHandoverPdfGetAPIRequest
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetHandoverContentId() int64
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetType() int64
- func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetUserInfo() *UserInfoDto
- func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetHandoverContentId(_handoverContentId int64) error
- func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetType(_type int64) error
- func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- type CainiaoGlobalHandoverPdfGetAPIResponse
- type CainiaoGlobalHandoverPdfGetAPIResponseModel
- type CainiaoGlobalHandoverSavedraftAPIRequest
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetOrderCodeList() []string
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetPickupInfo() *PickupDto
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetRemark() string
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetReturnInfo() *ReturnerDto
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetUserInfo() *UserInfoDto
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetWeight() int64
- func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetWeightUnit() string
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetOrderCodeList(_orderCodeList []string) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetRemark(_remark string) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetWeight(_weight int64) error
- func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetWeightUnit(_weightUnit string) error
- type CainiaoGlobalHandoverSavedraftAPIResponse
- type CainiaoGlobalHandoverSavedraftAPIResponseModel
- type CainiaoGlobalHandoverUpdateAPIRequest
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetClient() string
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetHandoverOrderId() int64
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetLocale() string
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetOrderCodeList() []string
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetPickupInfo() *PickupDto
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetRemark() string
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetReturnInfo() *ReturnerDto
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetType() string
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetUserInfo() *UserInfoDto
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetWeight() int64
- func (r CainiaoGlobalHandoverUpdateAPIRequest) GetWeightUnit() string
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetClient(_client string) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetOrderCodeList(_orderCodeList []string) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetRemark(_remark string) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetType(_type string) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetWeight(_weight int64) error
- func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetWeightUnit(_weightUnit string) error
- type CainiaoGlobalHandoverUpdateAPIResponse
- type CainiaoGlobalHandoverUpdateAPIResponseModel
- type CainiaoGlobalLogisticOrderCreateAPIRequest
- func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetLocale() string
- func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetOrderParam() *OpenOrderParam
- func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetRawParams() model.Params
- func (r *CainiaoGlobalLogisticOrderCreateAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalLogisticOrderCreateAPIRequest) SetOrderParam(_orderParam *OpenOrderParam) error
- type CainiaoGlobalLogisticOrderCreateAPIResponse
- type CainiaoGlobalLogisticOrderCreateAPIResponseModel
- type CainiaoGlobalLogisticsCarrierQuerylistAPIRequest
- func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetLocale() string
- func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetRawParams() model.Params
- func (r *CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) SetLocale(_locale string) error
- type CainiaoGlobalLogisticsCarrierQuerylistAPIResponse
- type CainiaoGlobalLogisticsCarrierQuerylistAPIResponseModel
- type CainiaoGlobalSolutionInquiryAPIRequest
- func (r CainiaoGlobalSolutionInquiryAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalSolutionInquiryAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalSolutionInquiryAPIRequest) GetLocale() string
- func (r CainiaoGlobalSolutionInquiryAPIRequest) GetPackageParams() []OpenPackageParam
- func (r CainiaoGlobalSolutionInquiryAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalSolutionInquiryAPIRequest) GetTradeOrderParam() *OpenTradeOrderParam
- func (r *CainiaoGlobalSolutionInquiryAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalSolutionInquiryAPIRequest) SetPackageParams(_packageParams []OpenPackageParam) error
- func (r *CainiaoGlobalSolutionInquiryAPIRequest) SetTradeOrderParam(_tradeOrderParam *OpenTradeOrderParam) error
- type CainiaoGlobalSolutionInquiryAPIResponse
- type CainiaoGlobalSolutionInquiryAPIResponseModel
- type CainiaoGlobalSolutionServiceResourceQueryAPIRequest
- func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetApiMethodName() string
- func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetLocale() string
- func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetRawParams() model.Params
- func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetSenderParam() *OpenSenderParam
- func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetSolutionServiceResParam() *QuerySolutionServiceResParam
- func (r *CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetLocale(_locale string) error
- func (r *CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetSenderParam(_senderParam *OpenSenderParam) error
- func (r *CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetSolutionServiceResParam(_solutionServiceResParam *QuerySolutionServiceResParam) error
- type CainiaoGlobalSolutionServiceResourceQueryAPIResponse
- type CainiaoGlobalSolutionServiceResourceQueryAPIResponseModel
- type CloudPrintDataGetResponse
- type Courierlist
- type DubboResult
- type ErrorInfo
- type Features
- type GlspResponse
- type HandoverContentAddSubbagsDto
- type HandoverContentUpdateErrorParcelDto
- type HandoverContentUpdateParcelDto
- type HsfResult
- type OpenAddressParam
- type OpenFeeDetailDto
- type OpenFeeDto
- type OpenHandoverCancelResponse
- type OpenHandoverCommitResponse
- type OpenHandoverContentAddSubbagsResponse
- type OpenHandoverContentDetailResponse
- type OpenHandoverContentUpdateCommitRequest
- type OpenHandoverContentUpdateResponse
- type OpenHandoverDraftSaveResponse
- type OpenHandoverUpdateResponse
- type OpenItemParam
- type OpenOrderParam
- type OpenPackageParam
- type OpenParcelOrderDto
- type OpenParcelOrderQueryResponse
- type OpenPickupInfoParam
- type OpenReturnerParam
- type OpenSellerInfoParam
- type OpenSenderParam
- type OpenServiceParam
- type OpenSolutionDto
- type OpenSolutionInquiryResponse
- type OpenSolutionParam
- type OpenTakingOrderResponse
- type OpenTimingDto
- type OpenTradeOrderParam
- type PickupDto
- type QuerySolutionServiceResParam
- type ReceiverParam
- type ReturnerDto
- type ServiceParam
- type SolutionServiceResDto
- type SolutionServiceResQueryResponse
- type UserInfoDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressDto ¶
type AddressDto struct { // 邮编 ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"` // 详细地址 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 街道 Street string `json:"street,omitempty" xml:"street,omitempty"` // 区 District string `json:"district,omitempty" xml:"district,omitempty"` // 市 City string `json:"city,omitempty" xml:"city,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 国家 Country string `json:"country,omitempty" xml:"country,omitempty"` }
AddressDto 结构体
type AeopActualCarrierResponse ¶
type AeopActualCarrierResponse struct { // 实际承运商 CourierList []Courierlist `json:"courier_list,omitempty" xml:"courier_list>courierlist,omitempty"` }
AeopActualCarrierResponse 结构体
type CainiaoGlobalCommithandovercontentUpdateAPIRequest ¶ added in v1.2.5
type CainiaoGlobalCommithandovercontentUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalCommithandovercontentUpdateAPIRequest 修改已经提交的交接单 API请求 cainiao.global.commithandovercontent.update
修改已经提交的交接单
func NewCainiaoGlobalCommithandovercontentUpdateRequest ¶ added in v1.2.5
func NewCainiaoGlobalCommithandovercontentUpdateRequest() *CainiaoGlobalCommithandovercontentUpdateAPIRequest
NewCainiaoGlobalCommithandovercontentUpdateRequest 初始化CainiaoGlobalCommithandovercontentUpdateAPIRequest对象
func (CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetOpenHandoverContentUpdateCommitRequest ¶ added in v1.2.5
func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetOpenHandoverContentUpdateCommitRequest() *OpenHandoverContentUpdateCommitRequest
GetOpenHandoverContentUpdateCommitRequest OpenHandoverContentUpdateCommitRequest Getter
func (CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalCommithandovercontentUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoGlobalCommithandovercontentUpdateAPIRequest) SetOpenHandoverContentUpdateCommitRequest ¶ added in v1.2.5
func (r *CainiaoGlobalCommithandovercontentUpdateAPIRequest) SetOpenHandoverContentUpdateCommitRequest(_openHandoverContentUpdateCommitRequest *OpenHandoverContentUpdateCommitRequest) error
SetOpenHandoverContentUpdateCommitRequest is OpenHandoverContentUpdateCommitRequest Setter 修改参数对象
type CainiaoGlobalCommithandovercontentUpdateAPIResponse ¶ added in v1.2.5
type CainiaoGlobalCommithandovercontentUpdateAPIResponse struct { model.CommonResponse CainiaoGlobalCommithandovercontentUpdateAPIResponseModel }
CainiaoGlobalCommithandovercontentUpdateAPIResponse 修改已经提交的交接单 API返回值 cainiao.global.commithandovercontent.update
修改已经提交的交接单
type CainiaoGlobalCommithandovercontentUpdateAPIResponseModel ¶ added in v1.2.5
type CainiaoGlobalCommithandovercontentUpdateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_commithandovercontent_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 InternalErrorCode string `json:"internal_error_code,omitempty" xml:"internal_error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 返回对象 Data *OpenHandoverContentUpdateResponse `json:"data,omitempty" xml:"data,omitempty"` // 是否成功同result字段 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
CainiaoGlobalCommithandovercontentUpdateAPIResponseModel is 修改已经提交的交接单 成功返回结果
type CainiaoGlobalHandoverCancelAPIRequest ¶
type CainiaoGlobalHandoverCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverCancelAPIRequest 取消交接单 API请求 cainiao.global.handover.cancel
提供给ISV通过该接口取消交接单
func NewCainiaoGlobalHandoverCancelRequest ¶
func NewCainiaoGlobalHandoverCancelRequest() *CainiaoGlobalHandoverCancelAPIRequest
NewCainiaoGlobalHandoverCancelRequest 初始化CainiaoGlobalHandoverCancelAPIRequest对象
func (CainiaoGlobalHandoverCancelAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverCancelAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverCancelAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverCancelAPIRequest) GetHandoverContentId ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetHandoverContentId() int64
GetHandoverContentId HandoverContentId Getter
func (CainiaoGlobalHandoverCancelAPIRequest) GetHandoverOrderId ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetHandoverOrderId() int64
GetHandoverOrderId HandoverOrderId Getter
func (CainiaoGlobalHandoverCancelAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverCancelAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverCancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverCancelAPIRequest) GetTrackingNumber ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoGlobalHandoverCancelAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverCancelAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoGlobalHandoverCancelAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverCancelAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverCancelAPIRequest) SetHandoverContentId ¶
func (r *CainiaoGlobalHandoverCancelAPIRequest) SetHandoverContentId(_handoverContentId int64) error
SetHandoverContentId is HandoverContentId Setter 要取消的交接物id,即大包id
func (*CainiaoGlobalHandoverCancelAPIRequest) SetHandoverOrderId ¶
func (r *CainiaoGlobalHandoverCancelAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
SetHandoverOrderId is HandoverOrderId Setter 要取消的交接单id
func (*CainiaoGlobalHandoverCancelAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverCancelAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverCancelAPIRequest) SetTrackingNumber ¶
func (r *CainiaoGlobalHandoverCancelAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 要取消的交接物运单号,即大包运单号
func (*CainiaoGlobalHandoverCancelAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverCancelAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 系统自动生成
type CainiaoGlobalHandoverCancelAPIResponse ¶
type CainiaoGlobalHandoverCancelAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverCancelAPIResponseModel }
CainiaoGlobalHandoverCancelAPIResponse 取消交接单 API返回值 cainiao.global.handover.cancel
提供给ISV通过该接口取消交接单
type CainiaoGlobalHandoverCancelAPIResponseModel ¶
type CainiaoGlobalHandoverCancelAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverCancelAPIResponseModel is 取消交接单 成功返回结果
type CainiaoGlobalHandoverCloudprintGetAPIRequest ¶
type CainiaoGlobalHandoverCloudprintGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverCloudprintGetAPIRequest 获取面单云打印数据 API请求 cainiao.global.handover.cloudprint.get
提供给ISV通过该接口获取面单云打印数据
func NewCainiaoGlobalHandoverCloudprintGetRequest ¶
func NewCainiaoGlobalHandoverCloudprintGetRequest() *CainiaoGlobalHandoverCloudprintGetAPIRequest
NewCainiaoGlobalHandoverCloudprintGetRequest 初始化CainiaoGlobalHandoverCloudprintGetAPIRequest对象
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetOrderCode ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetTrackingNumber ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoGlobalHandoverCloudprintGetAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverCloudprintGetAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoGlobalHandoverCloudprintGetAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverCloudprintGetAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverCloudprintGetAPIRequest) SetOrderCode ¶
func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 大包物流单LP号
func (*CainiaoGlobalHandoverCloudprintGetAPIRequest) SetTrackingNumber ¶
func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 大包运单号
func (*CainiaoGlobalHandoverCloudprintGetAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverCloudprintGetAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoGlobalHandoverCloudprintGetAPIResponse ¶
type CainiaoGlobalHandoverCloudprintGetAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverCloudprintGetAPIResponseModel }
CainiaoGlobalHandoverCloudprintGetAPIResponse 获取面单云打印数据 API返回值 cainiao.global.handover.cloudprint.get
提供给ISV通过该接口获取面单云打印数据
type CainiaoGlobalHandoverCloudprintGetAPIResponseModel ¶
type CainiaoGlobalHandoverCloudprintGetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_cloudprint_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverCloudprintGetAPIResponseModel is 获取面单云打印数据 成功返回结果
type CainiaoGlobalHandoverCommitAPIRequest ¶
type CainiaoGlobalHandoverCommitAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverCommitAPIRequest 提交发布交接单 API请求 cainiao.global.handover.commit
提供给ISV通过该接口提交发布交接单
func NewCainiaoGlobalHandoverCommitRequest ¶
func NewCainiaoGlobalHandoverCommitRequest() *CainiaoGlobalHandoverCommitAPIRequest
NewCainiaoGlobalHandoverCommitRequest 初始化CainiaoGlobalHandoverCommitAPIRequest对象
func (CainiaoGlobalHandoverCommitAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverCommitAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverCommitAPIRequest) GetAppointmentType ¶ added in v1.2.5
func (r CainiaoGlobalHandoverCommitAPIRequest) GetAppointmentType() string
GetAppointmentType AppointmentType Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetDomesticLogisticsCompany ¶ added in v1.2.5
func (r CainiaoGlobalHandoverCommitAPIRequest) GetDomesticLogisticsCompany() string
GetDomesticLogisticsCompany DomesticLogisticsCompany Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetDomesticLogisticsCompanyId ¶ added in v1.2.5
func (r CainiaoGlobalHandoverCommitAPIRequest) GetDomesticLogisticsCompanyId() int64
GetDomesticLogisticsCompanyId DomesticLogisticsCompanyId Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetDomesticTrackingNo ¶ added in v1.2.5
func (r CainiaoGlobalHandoverCommitAPIRequest) GetDomesticTrackingNo() string
GetDomesticTrackingNo DomesticTrackingNo Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetFeatures ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetFeatures() *Features
GetFeatures Features Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetHandoverOrderId ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetHandoverOrderId() int64
GetHandoverOrderId HandoverOrderId Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetOrderCodeList ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetOrderCodeList() []string
GetOrderCodeList OrderCodeList Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetPickupInfo ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetPickupInfo() *PickupDto
GetPickupInfo PickupInfo Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverCommitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverCommitAPIRequest) GetRemark ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetRemark() string
GetRemark Remark Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetReturnInfo ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetReturnInfo() *ReturnerDto
GetReturnInfo ReturnInfo Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetType ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetType() string
GetType Type Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetWeight ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (CainiaoGlobalHandoverCommitAPIRequest) GetWeightUnit ¶
func (r CainiaoGlobalHandoverCommitAPIRequest) GetWeightUnit() string
GetWeightUnit WeightUnit Getter
func (*CainiaoGlobalHandoverCommitAPIRequest) SetAppointmentType ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetAppointmentType(_appointmentType string) error
SetAppointmentType is AppointmentType Setter 预约交货方式(bigbag:大包预约,batch:批次预约))
func (*CainiaoGlobalHandoverCommitAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverCommitAPIRequest) SetDomesticLogisticsCompany ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetDomesticLogisticsCompany(_domesticLogisticsCompany string) error
SetDomesticLogisticsCompany is DomesticLogisticsCompany Setter 国内物流公司名称(交接单类型type为self_post(自寄)时必填)
func (*CainiaoGlobalHandoverCommitAPIRequest) SetDomesticLogisticsCompanyId ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetDomesticLogisticsCompanyId(_domesticLogisticsCompanyId int64) error
SetDomesticLogisticsCompanyId is DomesticLogisticsCompanyId Setter 国内物流公司id(交接单类型type为self_post(自寄)时必填)
func (*CainiaoGlobalHandoverCommitAPIRequest) SetDomesticTrackingNo ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetDomesticTrackingNo(_domesticTrackingNo string) error
SetDomesticTrackingNo is DomesticTrackingNo Setter 国内运单号(交接单类型type为self_post(自寄)时必填)
func (*CainiaoGlobalHandoverCommitAPIRequest) SetFeatures ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetFeatures(_features *Features) error
SetFeatures is Features Setter 扩展字段
func (*CainiaoGlobalHandoverCommitAPIRequest) SetHandoverOrderId ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
SetHandoverOrderId is HandoverOrderId Setter 交接单id
func (*CainiaoGlobalHandoverCommitAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverCommitAPIRequest) SetOrderCodeList ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetOrderCodeList(_orderCodeList []string) error
SetOrderCodeList is OrderCodeList Setter 要创建交接单的小包编码集合,数量上限1000
func (*CainiaoGlobalHandoverCommitAPIRequest) SetPickupInfo ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
SetPickupInfo is PickupInfo Setter 揽收信息
func (*CainiaoGlobalHandoverCommitAPIRequest) SetRemark ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 大包备注
func (*CainiaoGlobalHandoverCommitAPIRequest) SetReturnInfo ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
SetReturnInfo is ReturnInfo Setter 退件信息
func (*CainiaoGlobalHandoverCommitAPIRequest) SetType ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetType(_type string) error
SetType is Type Setter 交接单类型:cainiao_pickup(菜鸟揽收)、self_post(自寄)、self_send(自送)
func (*CainiaoGlobalHandoverCommitAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
func (*CainiaoGlobalHandoverCommitAPIRequest) SetWeight ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 大包重量
func (*CainiaoGlobalHandoverCommitAPIRequest) SetWeightUnit ¶
func (r *CainiaoGlobalHandoverCommitAPIRequest) SetWeightUnit(_weightUnit string) error
SetWeightUnit is WeightUnit Setter 重量单位,克:g, 千克:kg,默认g
type CainiaoGlobalHandoverCommitAPIResponse ¶
type CainiaoGlobalHandoverCommitAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverCommitAPIResponseModel }
CainiaoGlobalHandoverCommitAPIResponse 提交发布交接单 API返回值 cainiao.global.handover.commit
提供给ISV通过该接口提交发布交接单
type CainiaoGlobalHandoverCommitAPIResponseModel ¶
type CainiaoGlobalHandoverCommitAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_commit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverCommitAPIResponseModel is 提交发布交接单 成功返回结果
type CainiaoGlobalHandoverContentQueryAPIRequest ¶
type CainiaoGlobalHandoverContentQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverContentQueryAPIRequest 查询大包详情 API请求 cainiao.global.handover.content.query
查询大包详情
func NewCainiaoGlobalHandoverContentQueryRequest ¶
func NewCainiaoGlobalHandoverContentQueryRequest() *CainiaoGlobalHandoverContentQueryAPIRequest
NewCainiaoGlobalHandoverContentQueryRequest 初始化CainiaoGlobalHandoverContentQueryAPIRequest对象
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetOrderCode ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetTrackingNumber ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoGlobalHandoverContentQueryAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverContentQueryAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoGlobalHandoverContentQueryAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverContentQueryAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverContentQueryAPIRequest) SetOrderCode ¶
func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 交接物物流订单编码,和交接物运单号参数可以任选其一即可
func (*CainiaoGlobalHandoverContentQueryAPIRequest) SetTrackingNumber ¶
func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 交接物运单号,和交接物物流订单编码参数任选其一即可
func (*CainiaoGlobalHandoverContentQueryAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverContentQueryAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoGlobalHandoverContentQueryAPIResponse ¶
type CainiaoGlobalHandoverContentQueryAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverContentQueryAPIResponseModel }
CainiaoGlobalHandoverContentQueryAPIResponse 查询大包详情 API返回值 cainiao.global.handover.content.query
查询大包详情
type CainiaoGlobalHandoverContentQueryAPIResponseModel ¶
type CainiaoGlobalHandoverContentQueryAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_content_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求响应 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverContentQueryAPIResponseModel is 查询大包详情 成功返回结果
type CainiaoGlobalHandoverContentSubbagAddAPIRequest ¶ added in v1.2.5
type CainiaoGlobalHandoverContentSubbagAddAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverContentSubbagAddAPIRequest 预约单下追加大包 API请求 cainiao.global.handover.content.subbag.add
预约单下追加大包
func NewCainiaoGlobalHandoverContentSubbagAddRequest ¶ added in v1.2.5
func NewCainiaoGlobalHandoverContentSubbagAddRequest() *CainiaoGlobalHandoverContentSubbagAddAPIRequest
NewCainiaoGlobalHandoverContentSubbagAddRequest 初始化CainiaoGlobalHandoverContentSubbagAddAPIRequest对象
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetApiParams ¶ added in v1.2.5
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetClient ¶ added in v1.2.5
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetHandoverContentCode ¶ added in v1.2.5
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetHandoverContentCode() string
GetHandoverContentCode HandoverContentCode Getter
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetLocale ¶ added in v1.2.5
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetSubbagCount ¶ added in v1.2.5
func (r CainiaoGlobalHandoverContentSubbagAddAPIRequest) GetSubbagCount() int64
GetSubbagCount SubbagCount Getter
func (*CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetClient ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetHandoverContentCode ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetHandoverContentCode(_handoverContentCode string) error
SetHandoverContentCode is HandoverContentCode Setter 预约号(大包LP)
func (*CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetLocale ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetSubbagCount ¶ added in v1.2.5
func (r *CainiaoGlobalHandoverContentSubbagAddAPIRequest) SetSubbagCount(_subbagCount int64) error
SetSubbagCount is SubbagCount Setter 追加大包数量
type CainiaoGlobalHandoverContentSubbagAddAPIResponse ¶ added in v1.2.5
type CainiaoGlobalHandoverContentSubbagAddAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverContentSubbagAddAPIResponseModel }
CainiaoGlobalHandoverContentSubbagAddAPIResponse 预约单下追加大包 API返回值 cainiao.global.handover.content.subbag.add
预约单下追加大包
type CainiaoGlobalHandoverContentSubbagAddAPIResponseModel ¶ added in v1.2.5
type CainiaoGlobalHandoverContentSubbagAddAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_content_subbag_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求响应 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverContentSubbagAddAPIResponseModel is 预约单下追加大包 成功返回结果
type CainiaoGlobalHandoverParcelQueryAPIRequest ¶
type CainiaoGlobalHandoverParcelQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverParcelQueryAPIRequest 获取交接单小包信息 API请求 cainiao.global.handover.parcel.query
提供给ISV通过该接口查询小包信息
func NewCainiaoGlobalHandoverParcelQueryRequest ¶
func NewCainiaoGlobalHandoverParcelQueryRequest() *CainiaoGlobalHandoverParcelQueryAPIRequest
NewCainiaoGlobalHandoverParcelQueryRequest 初始化CainiaoGlobalHandoverParcelQueryAPIRequest对象
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetOrderCode ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetTrackingNumber ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoGlobalHandoverParcelQueryAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverParcelQueryAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoGlobalHandoverParcelQueryAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverParcelQueryAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverParcelQueryAPIRequest) SetOrderCode ¶
func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 小包的物流订单号,和小包的国际运单号参数任选其一即可
func (*CainiaoGlobalHandoverParcelQueryAPIRequest) SetTrackingNumber ¶
func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 小包的国际运单号,和小包的物流订单号参数任选其一即可
func (*CainiaoGlobalHandoverParcelQueryAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverParcelQueryAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoGlobalHandoverParcelQueryAPIResponse ¶
type CainiaoGlobalHandoverParcelQueryAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverParcelQueryAPIResponseModel }
CainiaoGlobalHandoverParcelQueryAPIResponse 获取交接单小包信息 API返回值 cainiao.global.handover.parcel.query
提供给ISV通过该接口查询小包信息
type CainiaoGlobalHandoverParcelQueryAPIResponseModel ¶
type CainiaoGlobalHandoverParcelQueryAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_parcel_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverParcelQueryAPIResponseModel is 获取交接单小包信息 成功返回结果
type CainiaoGlobalHandoverPdfGetAPIRequest ¶
type CainiaoGlobalHandoverPdfGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverPdfGetAPIRequest 获取面单PDF文件数据 API请求 cainiao.global.handover.pdf.get
返回指定大包面单的PDF文件数据
func NewCainiaoGlobalHandoverPdfGetRequest ¶
func NewCainiaoGlobalHandoverPdfGetRequest() *CainiaoGlobalHandoverPdfGetAPIRequest
NewCainiaoGlobalHandoverPdfGetRequest 初始化CainiaoGlobalHandoverPdfGetAPIRequest对象
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetHandoverContentId ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetHandoverContentId() int64
GetHandoverContentId HandoverContentId Getter
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetType ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetType() int64
GetType Type Getter
func (CainiaoGlobalHandoverPdfGetAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverPdfGetAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoGlobalHandoverPdfGetAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverPdfGetAPIRequest) SetHandoverContentId ¶
func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetHandoverContentId(_handoverContentId int64) error
SetHandoverContentId is HandoverContentId Setter 大包编号id
func (*CainiaoGlobalHandoverPdfGetAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverPdfGetAPIRequest) SetType ¶
func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetType(_type int64) error
SetType is Type Setter 打印数据类型,1:面单、4:发货标签、512:交接清单
func (*CainiaoGlobalHandoverPdfGetAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverPdfGetAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoGlobalHandoverPdfGetAPIResponse ¶
type CainiaoGlobalHandoverPdfGetAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverPdfGetAPIResponseModel }
CainiaoGlobalHandoverPdfGetAPIResponse 获取面单PDF文件数据 API返回值 cainiao.global.handover.pdf.get
返回指定大包面单的PDF文件数据
type CainiaoGlobalHandoverPdfGetAPIResponseModel ¶
type CainiaoGlobalHandoverPdfGetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_pdf_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverPdfGetAPIResponseModel is 获取面单PDF文件数据 成功返回结果
type CainiaoGlobalHandoverSavedraftAPIRequest ¶
type CainiaoGlobalHandoverSavedraftAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverSavedraftAPIRequest 创建交接单草稿 API请求 cainiao.global.handover.savedraft
提供给ISV通过该接口创建交接单草稿
func NewCainiaoGlobalHandoverSavedraftRequest ¶
func NewCainiaoGlobalHandoverSavedraftRequest() *CainiaoGlobalHandoverSavedraftAPIRequest
NewCainiaoGlobalHandoverSavedraftRequest 初始化CainiaoGlobalHandoverSavedraftAPIRequest对象
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetOrderCodeList ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetOrderCodeList() []string
GetOrderCodeList OrderCodeList Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetPickupInfo ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetPickupInfo() *PickupDto
GetPickupInfo PickupInfo Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetRemark ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetRemark() string
GetRemark Remark Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetReturnInfo ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetReturnInfo() *ReturnerDto
GetReturnInfo ReturnInfo Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetWeight ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (CainiaoGlobalHandoverSavedraftAPIRequest) GetWeightUnit ¶
func (r CainiaoGlobalHandoverSavedraftAPIRequest) GetWeightUnit() string
GetWeightUnit WeightUnit Getter
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetOrderCodeList ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetOrderCodeList(_orderCodeList []string) error
SetOrderCodeList is OrderCodeList Setter 需要组装大包的小包编码集合,最多限制200个小包
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetPickupInfo ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
SetPickupInfo is PickupInfo Setter 揽收信息
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetRemark ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 备注
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetReturnInfo ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
SetReturnInfo is ReturnInfo Setter 退件信息
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetWeight ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 大包重量
func (*CainiaoGlobalHandoverSavedraftAPIRequest) SetWeightUnit ¶
func (r *CainiaoGlobalHandoverSavedraftAPIRequest) SetWeightUnit(_weightUnit string) error
SetWeightUnit is WeightUnit Setter 重量单位,克:g, 千克:kg,默认g
type CainiaoGlobalHandoverSavedraftAPIResponse ¶
type CainiaoGlobalHandoverSavedraftAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverSavedraftAPIResponseModel }
CainiaoGlobalHandoverSavedraftAPIResponse 创建交接单草稿 API返回值 cainiao.global.handover.savedraft
提供给ISV通过该接口创建交接单草稿
type CainiaoGlobalHandoverSavedraftAPIResponseModel ¶
type CainiaoGlobalHandoverSavedraftAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_savedraft_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverSavedraftAPIResponseModel is 创建交接单草稿 成功返回结果
type CainiaoGlobalHandoverUpdateAPIRequest ¶
type CainiaoGlobalHandoverUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalHandoverUpdateAPIRequest 修改交接单 API请求 cainiao.global.handover.update
提供给ISV通过该接口修改交接单
func NewCainiaoGlobalHandoverUpdateRequest ¶
func NewCainiaoGlobalHandoverUpdateRequest() *CainiaoGlobalHandoverUpdateAPIRequest
NewCainiaoGlobalHandoverUpdateRequest 初始化CainiaoGlobalHandoverUpdateAPIRequest对象
func (CainiaoGlobalHandoverUpdateAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalHandoverUpdateAPIRequest) GetApiParams ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalHandoverUpdateAPIRequest) GetClient ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetHandoverOrderId ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetHandoverOrderId() int64
GetHandoverOrderId HandoverOrderId Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetLocale ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetOrderCodeList ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetOrderCodeList() []string
GetOrderCodeList OrderCodeList Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetPickupInfo ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetPickupInfo() *PickupDto
GetPickupInfo PickupInfo Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalHandoverUpdateAPIRequest) GetRemark ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetRemark() string
GetRemark Remark Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetReturnInfo ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetReturnInfo() *ReturnerDto
GetReturnInfo ReturnInfo Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetType ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetType() string
GetType Type Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetUserInfo ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetWeight ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (CainiaoGlobalHandoverUpdateAPIRequest) GetWeightUnit ¶
func (r CainiaoGlobalHandoverUpdateAPIRequest) GetWeightUnit() string
GetWeightUnit WeightUnit Getter
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetClient ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetHandoverOrderId ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
SetHandoverOrderId is HandoverOrderId Setter 交接单id
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetLocale ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetOrderCodeList ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetOrderCodeList(_orderCodeList []string) error
SetOrderCodeList is OrderCodeList Setter 要创建交接单的小包编码集合,数量上限200
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetPickupInfo ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
SetPickupInfo is PickupInfo Setter 揽收信息
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetRemark ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 大包备注
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetReturnInfo ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
SetReturnInfo is ReturnInfo Setter 退件信息
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetType ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetType(_type string) error
SetType is Type Setter 交接单类型,菜鸟揽收(cainiao_pickup)或自寄(self_post),默认菜鸟揽收
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetUserInfo ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetWeight ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 大包重量
func (*CainiaoGlobalHandoverUpdateAPIRequest) SetWeightUnit ¶
func (r *CainiaoGlobalHandoverUpdateAPIRequest) SetWeightUnit(_weightUnit string) error
SetWeightUnit is WeightUnit Setter 重量单位,克:g, 千克:kg,默认g
type CainiaoGlobalHandoverUpdateAPIResponse ¶
type CainiaoGlobalHandoverUpdateAPIResponse struct { model.CommonResponse CainiaoGlobalHandoverUpdateAPIResponseModel }
CainiaoGlobalHandoverUpdateAPIResponse 修改交接单 API返回值 cainiao.global.handover.update
提供给ISV通过该接口修改交接单
type CainiaoGlobalHandoverUpdateAPIResponseModel ¶
type CainiaoGlobalHandoverUpdateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_handover_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *HsfResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalHandoverUpdateAPIResponseModel is 修改交接单 成功返回结果
type CainiaoGlobalLogisticOrderCreateAPIRequest ¶
type CainiaoGlobalLogisticOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalLogisticOrderCreateAPIRequest 创建物流订单 API请求 cainiao.global.logistic.order.create
创建物流订单
func NewCainiaoGlobalLogisticOrderCreateRequest ¶
func NewCainiaoGlobalLogisticOrderCreateRequest() *CainiaoGlobalLogisticOrderCreateAPIRequest
NewCainiaoGlobalLogisticOrderCreateRequest 初始化CainiaoGlobalLogisticOrderCreateAPIRequest对象
func (CainiaoGlobalLogisticOrderCreateAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalLogisticOrderCreateAPIRequest) GetApiParams ¶
func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalLogisticOrderCreateAPIRequest) GetLocale ¶
func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalLogisticOrderCreateAPIRequest) GetOrderParam ¶
func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetOrderParam() *OpenOrderParam
GetOrderParam OrderParam Getter
func (CainiaoGlobalLogisticOrderCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalLogisticOrderCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoGlobalLogisticOrderCreateAPIRequest) SetLocale ¶
func (r *CainiaoGlobalLogisticOrderCreateAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoGlobalLogisticOrderCreateAPIRequest) SetOrderParam ¶
func (r *CainiaoGlobalLogisticOrderCreateAPIRequest) SetOrderParam(_orderParam *OpenOrderParam) error
SetOrderParam is OrderParam Setter 订单参数
type CainiaoGlobalLogisticOrderCreateAPIResponse ¶
type CainiaoGlobalLogisticOrderCreateAPIResponse struct { model.CommonResponse CainiaoGlobalLogisticOrderCreateAPIResponseModel }
CainiaoGlobalLogisticOrderCreateAPIResponse 创建物流订单 API返回值 cainiao.global.logistic.order.create
创建物流订单
type CainiaoGlobalLogisticOrderCreateAPIResponseModel ¶
type CainiaoGlobalLogisticOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_logistic_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 创建是否成功 IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"` // 请求结果 Result *OpenTakingOrderResponse `json:"result,omitempty" xml:"result,omitempty"` // 错误信息 ErrorInfo *ErrorInfo `json:"error_info,omitempty" xml:"error_info,omitempty"` // 是否需要重试 NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"` }
CainiaoGlobalLogisticOrderCreateAPIResponseModel is 创建物流订单 成功返回结果
type CainiaoGlobalLogisticsCarrierQuerylistAPIRequest ¶
type CainiaoGlobalLogisticsCarrierQuerylistAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalLogisticsCarrierQuerylistAPIRequest 实际承运商查询 API请求 cainiao.global.logistics.carrier.querylist
查询出所有的实际承运商
func NewCainiaoGlobalLogisticsCarrierQuerylistRequest ¶
func NewCainiaoGlobalLogisticsCarrierQuerylistRequest() *CainiaoGlobalLogisticsCarrierQuerylistAPIRequest
NewCainiaoGlobalLogisticsCarrierQuerylistRequest 初始化CainiaoGlobalLogisticsCarrierQuerylistAPIRequest对象
func (CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetApiParams ¶
func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetLocale ¶
func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) SetLocale ¶
func (r *CainiaoGlobalLogisticsCarrierQuerylistAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言(暂不支持,保留入参)
type CainiaoGlobalLogisticsCarrierQuerylistAPIResponse ¶
type CainiaoGlobalLogisticsCarrierQuerylistAPIResponse struct { model.CommonResponse CainiaoGlobalLogisticsCarrierQuerylistAPIResponseModel }
CainiaoGlobalLogisticsCarrierQuerylistAPIResponse 实际承运商查询 API返回值 cainiao.global.logistics.carrier.querylist
查询出所有的实际承运商
type CainiaoGlobalLogisticsCarrierQuerylistAPIResponseModel ¶
type CainiaoGlobalLogisticsCarrierQuerylistAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_logistics_carrier_querylist_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 1 Result *DubboResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalLogisticsCarrierQuerylistAPIResponseModel is 实际承运商查询 成功返回结果
type CainiaoGlobalSolutionInquiryAPIRequest ¶
type CainiaoGlobalSolutionInquiryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalSolutionInquiryAPIRequest 解决方案询盘 API请求 cainiao.global.solution.inquiry
根据交易单号查询可用的解决方案
func NewCainiaoGlobalSolutionInquiryRequest ¶
func NewCainiaoGlobalSolutionInquiryRequest() *CainiaoGlobalSolutionInquiryAPIRequest
NewCainiaoGlobalSolutionInquiryRequest 初始化CainiaoGlobalSolutionInquiryAPIRequest对象
func (CainiaoGlobalSolutionInquiryAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalSolutionInquiryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalSolutionInquiryAPIRequest) GetApiParams ¶
func (r CainiaoGlobalSolutionInquiryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalSolutionInquiryAPIRequest) GetLocale ¶
func (r CainiaoGlobalSolutionInquiryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalSolutionInquiryAPIRequest) GetPackageParams ¶
func (r CainiaoGlobalSolutionInquiryAPIRequest) GetPackageParams() []OpenPackageParam
GetPackageParams PackageParams Getter
func (CainiaoGlobalSolutionInquiryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalSolutionInquiryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalSolutionInquiryAPIRequest) GetTradeOrderParam ¶
func (r CainiaoGlobalSolutionInquiryAPIRequest) GetTradeOrderParam() *OpenTradeOrderParam
GetTradeOrderParam TradeOrderParam Getter
func (*CainiaoGlobalSolutionInquiryAPIRequest) SetLocale ¶
func (r *CainiaoGlobalSolutionInquiryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言,zh_CN中文、en_US:英文、ru_RU俄语
func (*CainiaoGlobalSolutionInquiryAPIRequest) SetPackageParams ¶
func (r *CainiaoGlobalSolutionInquiryAPIRequest) SetPackageParams(_packageParams []OpenPackageParam) error
SetPackageParams is PackageParams Setter 包裹参数
func (*CainiaoGlobalSolutionInquiryAPIRequest) SetTradeOrderParam ¶
func (r *CainiaoGlobalSolutionInquiryAPIRequest) SetTradeOrderParam(_tradeOrderParam *OpenTradeOrderParam) error
SetTradeOrderParam is TradeOrderParam Setter 交易单参数
type CainiaoGlobalSolutionInquiryAPIResponse ¶
type CainiaoGlobalSolutionInquiryAPIResponse struct { model.CommonResponse CainiaoGlobalSolutionInquiryAPIResponseModel }
CainiaoGlobalSolutionInquiryAPIResponse 解决方案询盘 API返回值 cainiao.global.solution.inquiry
根据交易单号查询可用的解决方案
type CainiaoGlobalSolutionInquiryAPIResponseModel ¶
type CainiaoGlobalSolutionInquiryAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_solution_inquiry_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息 ErrorInfo *ErrorInfo `json:"error_info,omitempty" xml:"error_info,omitempty"` // 请求结果 Result *OpenSolutionInquiryResponse `json:"result,omitempty" xml:"result,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
CainiaoGlobalSolutionInquiryAPIResponseModel is 解决方案询盘 成功返回结果
type CainiaoGlobalSolutionServiceResourceQueryAPIRequest ¶
type CainiaoGlobalSolutionServiceResourceQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoGlobalSolutionServiceResourceQueryAPIRequest 查询解决方案服务资源列表 API请求 cainiao.global.solution.service.resource.query
返回直接解决方案的指定物流服务的可用资源列表
func NewCainiaoGlobalSolutionServiceResourceQueryRequest ¶
func NewCainiaoGlobalSolutionServiceResourceQueryRequest() *CainiaoGlobalSolutionServiceResourceQueryAPIRequest
NewCainiaoGlobalSolutionServiceResourceQueryRequest 初始化CainiaoGlobalSolutionServiceResourceQueryAPIRequest对象
func (CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetApiMethodName ¶
func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetApiParams ¶
func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetLocale ¶
func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetSenderParam ¶
func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetSenderParam() *OpenSenderParam
GetSenderParam SenderParam Getter
func (CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetSolutionServiceResParam ¶
func (r CainiaoGlobalSolutionServiceResourceQueryAPIRequest) GetSolutionServiceResParam() *QuerySolutionServiceResParam
GetSolutionServiceResParam SolutionServiceResParam Getter
func (*CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetLocale ¶
func (r *CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言信息
func (*CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetSenderParam ¶
func (r *CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetSenderParam(_senderParam *OpenSenderParam) error
SetSenderParam is SenderParam Setter 发件信息
func (*CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetSolutionServiceResParam ¶
func (r *CainiaoGlobalSolutionServiceResourceQueryAPIRequest) SetSolutionServiceResParam(_solutionServiceResParam *QuerySolutionServiceResParam) error
SetSolutionServiceResParam is SolutionServiceResParam Setter 查询参数
type CainiaoGlobalSolutionServiceResourceQueryAPIResponse ¶
type CainiaoGlobalSolutionServiceResourceQueryAPIResponse struct { model.CommonResponse CainiaoGlobalSolutionServiceResourceQueryAPIResponseModel }
CainiaoGlobalSolutionServiceResourceQueryAPIResponse 查询解决方案服务资源列表 API返回值 cainiao.global.solution.service.resource.query
返回直接解决方案的指定物流服务的可用资源列表
type CainiaoGlobalSolutionServiceResourceQueryAPIResponseModel ¶
type CainiaoGlobalSolutionServiceResourceQueryAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_global_solution_service_resource_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求结果 Result *GlspResponse `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoGlobalSolutionServiceResourceQueryAPIResponseModel is 查询解决方案服务资源列表 成功返回结果
type CloudPrintDataGetResponse ¶
type CloudPrintDataGetResponse struct { // 面单云打印数据 PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"` // 面单云打印数据MD5加密串 PrintDataMd5 string `json:"print_data_md5,omitempty" xml:"print_data_md5,omitempty"` }
CloudPrintDataGetResponse 结构体
type Courierlist ¶
type Courierlist struct { // 承运商名字 CourierName string `json:"courier_name,omitempty" xml:"courier_name,omitempty"` // 承运商code CourierCode string `json:"courier_code,omitempty" xml:"courier_code,omitempty"` }
Courierlist 结构体
type DubboResult ¶
type DubboResult struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 返回数据 Data *AeopActualCarrierResponse `json:"data,omitempty" xml:"data,omitempty"` // 返回数据是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
DubboResult 结构体
type ErrorInfo ¶
type ErrorInfo struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
ErrorInfo 结构体
type Features ¶
type Features struct { // 容器类型(1、托盘;2、大包或盒子3、散装) ContainerType string `json:"container_type,omitempty" xml:"container_type,omitempty"` // 是否预先组大包,true:是。false:否 PrePackage string `json:"pre_package,omitempty" xml:"pre_package,omitempty"` // 自送仓资源编码 WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // 自送仓资源所对应的schemeCode ServiceResourceCode string `json:"service_resource_code,omitempty" xml:"service_resource_code,omitempty"` // 自寄时快递公司运单号 ExpressMailNo string `json:"express_mail_no,omitempty" xml:"express_mail_no,omitempty"` // 自寄时快递公司的ID ExpressCompanyId string `json:"express_company_id,omitempty" xml:"express_company_id,omitempty"` // 自寄时快递公司的名称 ExpressCompanyName string `json:"express_company_name,omitempty" xml:"express_company_name,omitempty"` // 预约流程 AppointmentProcess string `json:"appointment_process,omitempty" xml:"appointment_process,omitempty"` // 揽收时间 PickupWorkTime string `json:"pickup_work_time,omitempty" xml:"pickup_work_time,omitempty"` // 货好时间时间戳 GmtReadyToShip int64 `json:"gmt_ready_to_ship,omitempty" xml:"gmt_ready_to_ship,omitempty"` // 托盘数量 PalletQuantity int64 `json:"pallet_quantity,omitempty" xml:"pallet_quantity,omitempty"` // 是否需要预约 NeedAppointment bool `json:"need_appointment,omitempty" xml:"need_appointment,omitempty"` }
Features 结构体
type GlspResponse ¶
type GlspResponse struct { // 错误信息 ErrorInfo *ErrorInfo `json:"error_info,omitempty" xml:"error_info,omitempty"` // 请求结果 Result *SolutionServiceResQueryResponse `json:"result,omitempty" xml:"result,omitempty"` // 查询是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
GlspResponse 结构体
type HandoverContentAddSubbagsDto ¶ added in v1.2.5
type HandoverContentAddSubbagsDto struct { // 追加的大包LP SubbagHandoverContentCode string `json:"subbag_handover_content_code,omitempty" xml:"subbag_handover_content_code,omitempty"` // 交接单id HandoverOrderId int64 `json:"handover_order_id,omitempty" xml:"handover_order_id,omitempty"` // 追加的大包id SubbagHandoverContentId int64 `json:"subbag_handover_content_id,omitempty" xml:"subbag_handover_content_id,omitempty"` }
HandoverContentAddSubbagsDto 结构体
type HandoverContentUpdateErrorParcelDto ¶ added in v1.2.5
type HandoverContentUpdateErrorParcelDto struct { // 小包LP号 LpCode string `json:"lp_code,omitempty" xml:"lp_code,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误文案 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
HandoverContentUpdateErrorParcelDto 结构体
type HandoverContentUpdateParcelDto ¶ added in v1.2.5
type HandoverContentUpdateParcelDto struct { // 小包对应的店铺账号;比如cnxxxx;填入补充相关信息性能更好 LoginId string `json:"login_id,omitempty" xml:"login_id,omitempty"` // 小包的LP号,必填; LpCode string `json:"lp_code,omitempty" xml:"lp_code,omitempty"` // 小包对应的店铺id;填入相关信息性能更好 SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
HandoverContentUpdateParcelDto 结构体
type HsfResult ¶
type HsfResult struct { // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 异常码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 响应数据 Data *OpenHandoverCancelResponse `json:"data,omitempty" xml:"data,omitempty"` // 请求处理是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 请求结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
HsfResult 结构体
type OpenAddressParam ¶
type OpenAddressParam struct { // 邮编 ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"` // 国家名称 CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"` // 省份 Province string `json:"province,omitempty" xml:"province,omitempty"` // 城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 区 District string `json:"district,omitempty" xml:"district,omitempty"` // 街道 Street string `json:"street,omitempty" xml:"street,omitempty"` // 详细地址 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 国家二字码,CN:中国、RU:俄罗斯 CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"` // 最小区划地址库ID DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"` }
OpenAddressParam 结构体
type OpenFeeDetailDto ¶
type OpenFeeDetailDto struct { // 已支付费用币种 PaidFeeCurrency string `json:"paid_fee_currency,omitempty" xml:"paid_fee_currency,omitempty"` // 应支付费用币种 FeeCurrency string `json:"fee_currency,omitempty" xml:"fee_currency,omitempty"` // 详细费用类型,normal_delivery_fee:配送费,sms_service_fee FeeDetailType string `json:"fee_detail_type,omitempty" xml:"fee_detail_type,omitempty"` // 已支付费用 PaidFee int64 `json:"paid_fee,omitempty" xml:"paid_fee,omitempty"` // 应支付费用 Fee int64 `json:"fee,omitempty" xml:"fee,omitempty"` }
OpenFeeDetailDto 结构体
type OpenFeeDto ¶
type OpenFeeDto struct { // 费用详细列表 FeeDetailList []OpenFeeDetailDto `json:"fee_detail_list,omitempty" xml:"fee_detail_list>open_fee_detail_dto,omitempty"` // 币种 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // 费用类型,POST_ESTIMATED_COST:预估费用 FeeType string `json:"fee_type,omitempty" xml:"fee_type,omitempty"` // 总费用 TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"` }
OpenFeeDto 结构体
type OpenHandoverCancelResponse ¶
type OpenHandoverCancelResponse struct { // 取消结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
OpenHandoverCancelResponse 结构体
type OpenHandoverCommitResponse ¶
type OpenHandoverCommitResponse struct { // 交接物编码,即大包LP号 HandoverContentCode string `json:"handover_content_code,omitempty" xml:"handover_content_code,omitempty"` // 交接物id,即大包id HandoverContentId int64 `json:"handover_content_id,omitempty" xml:"handover_content_id,omitempty"` // 交接批次号,即交接单id HandoverOrderId int64 `json:"handover_order_id,omitempty" xml:"handover_order_id,omitempty"` }
OpenHandoverCommitResponse 结构体
type OpenHandoverContentAddSubbagsResponse ¶ added in v1.2.5
type OpenHandoverContentAddSubbagsResponse struct { // 追加大包列表 SubbagHandoverContentList []HandoverContentAddSubbagsDto `json:"subbag_handover_content_list,omitempty" xml:"subbag_handover_content_list>handover_content_add_subbags_dto,omitempty"` }
OpenHandoverContentAddSubbagsResponse 结构体
type OpenHandoverContentDetailResponse ¶
type OpenHandoverContentDetailResponse struct { // 大包关联的小包列表 ParcelOrderList []OpenParcelOrderDto `json:"parcel_order_list,omitempty" xml:"parcel_order_list>open_parcel_order_dto,omitempty"` // 交接物物流订单编号 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 交接物运单号 TrackingNumber string `json:"tracking_number,omitempty" xml:"tracking_number,omitempty"` // 交接物状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 预估重量 EstimateWeight string `json:"estimate_weight,omitempty" xml:"estimate_weight,omitempty"` // 实际重量 ActualWeight string `json:"actual_weight,omitempty" xml:"actual_weight,omitempty"` // 重量单位 WeightUnit string `json:"weight_unit,omitempty" xml:"weight_unit,omitempty"` // 预估费用 EstimateFee string `json:"estimate_fee,omitempty" xml:"estimate_fee,omitempty"` // 实际费用 ActualFee string `json:"actual_fee,omitempty" xml:"actual_fee,omitempty"` // 费用币种 FeeCurrency string `json:"fee_currency,omitempty" xml:"fee_currency,omitempty"` // 费用单位 FeeUnit string `json:"fee_unit,omitempty" xml:"fee_unit,omitempty"` // 交接物状态 StatusName string `json:"status_name,omitempty" xml:"status_name,omitempty"` // 交接物关联的交接单状态code HandoverOrderStatus string `json:"handover_order_status,omitempty" xml:"handover_order_status,omitempty"` // 交接物关联的交接单状态名称 HandoverOrderStatusName string `json:"handover_order_status_name,omitempty" xml:"handover_order_status_name,omitempty"` }
OpenHandoverContentDetailResponse 结构体
type OpenHandoverContentUpdateCommitRequest ¶ added in v1.2.5
type OpenHandoverContentUpdateCommitRequest struct { // 新增和修改大包小包号;新增和修改的时候必填 ParcelOrderList []HandoverContentUpdateParcelDto `json:"parcel_order_list,omitempty" xml:"parcel_order_list>handover_content_update_parcel_dto,omitempty"` // 大包号;LP开头的单号(必填) HandoverContentCode string `json:"handover_content_code,omitempty" xml:"handover_content_code,omitempty"` // 业务类型(选填) BizSource string `json:"biz_source,omitempty" xml:"biz_source,omitempty"` // 客户端标示(选填) Client string `json:"client,omitempty" xml:"client,omitempty"` // 语言(选填) Locale string `json:"locale,omitempty" xml:"locale,omitempty"` // 更新类型:add、remove、commit;add新增parcel_order_list中小包,remove删除parcel_order_list中小包;commit,忽略parcel_order_list小包,将大包设置为完成组包状态,将大包信息下发给司机上门揽收 UpdateType string `json:"update_type,omitempty" xml:"update_type,omitempty"` // 用户信息 UserInfo *UserInfoDto `json:"user_info,omitempty" xml:"user_info,omitempty"` // 完成更新(必填)例如传入true则代表大包已经完成修改,不能再做修改的操作 CompleteUpdate bool `json:"complete_update,omitempty" xml:"complete_update,omitempty"` }
OpenHandoverContentUpdateCommitRequest 结构体
type OpenHandoverContentUpdateResponse ¶ added in v1.2.5
type OpenHandoverContentUpdateResponse struct { // 报错小包列表 UpdateErrorParcelOrderList []HandoverContentUpdateErrorParcelDto `` /* 135-byte string literal not displayed */ // 是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
OpenHandoverContentUpdateResponse 结构体
type OpenHandoverDraftSaveResponse ¶
type OpenHandoverDraftSaveResponse struct { // 交接批次号,即交接单id HandoverOrderId int64 `json:"handover_order_id,omitempty" xml:"handover_order_id,omitempty"` // 交接物id,即大包id HandoverContentId int64 `json:"handover_content_id,omitempty" xml:"handover_content_id,omitempty"` }
OpenHandoverDraftSaveResponse 结构体
type OpenHandoverUpdateResponse ¶
type OpenHandoverUpdateResponse struct { // 更新结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
OpenHandoverUpdateResponse 结构体
type OpenItemParam ¶
type OpenItemParam struct { // 商品属性,cf_normal:普货、cf_has_battery:含电。 ItemFeatures []string `json:"item_features,omitempty" xml:"item_features>string,omitempty"` // 商品英文名称 EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"` // 商品本地名称 LocalName string `json:"local_name,omitempty" xml:"local_name,omitempty"` // sku Sku string `json:"sku,omitempty" xml:"sku,omitempty"` // 商品价格币种 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 商品单价,单位结算币种最小单位,如人民币分 UnitPrice int64 `json:"unit_price,omitempty" xml:"unit_price,omitempty"` // 后台商品ID ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 商品重量,单位g Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 商品总价 TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` // 商品长度 Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 商品宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 商品高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` }
OpenItemParam 结构体
type OpenOrderParam ¶
type OpenOrderParam struct { // 包裹参数 PackageParams []OpenPackageParam `json:"package_params,omitempty" xml:"package_params>open_package_param,omitempty"` // 交易单参数 TradeOrderParam *OpenTradeOrderParam `json:"trade_order_param,omitempty" xml:"trade_order_param,omitempty"` // 解决方案参数 SolutionParam *OpenSolutionParam `json:"solution_param,omitempty" xml:"solution_param,omitempty"` // 商家信息参数 SellerInfoParam *OpenSellerInfoParam `json:"seller_info_param,omitempty" xml:"seller_info_param,omitempty"` // 发件人信息 SenderParam *OpenSenderParam `json:"sender_param,omitempty" xml:"sender_param,omitempty"` // 退货联系人信息 ReturnerParam *OpenReturnerParam `json:"returner_param,omitempty" xml:"returner_param,omitempty"` // 收件人信息 ReceiverParam *ReceiverParam `json:"receiver_param,omitempty" xml:"receiver_param,omitempty"` // 揽收信息参数 PickupInfoParam *OpenPickupInfoParam `json:"pickup_info_param,omitempty" xml:"pickup_info_param,omitempty"` }
OpenOrderParam 结构体
type OpenPackageParam ¶
type OpenPackageParam struct { // 商品参数 ItemParams []OpenItemParam `json:"item_params,omitempty" xml:"item_params>open_item_param,omitempty"` // 包裹价格币种,CNY:人民币、USD:美元、RUB:卢布。 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // 包裹长度 Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 包裹宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 包裹高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 包裹重量 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 包裹价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` }
OpenPackageParam 结构体
type OpenParcelOrderDto ¶
type OpenParcelOrderDto struct { // 小包物流订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 小包状态code Status string `json:"status,omitempty" xml:"status,omitempty"` // 小包异常码 ExceptionCode string `json:"exception_code,omitempty" xml:"exception_code,omitempty"` // 小包状态名称 StatusName string `json:"status_name,omitempty" xml:"status_name,omitempty"` }
OpenParcelOrderDto 结构体
type OpenParcelOrderQueryResponse ¶
type OpenParcelOrderQueryResponse struct { // 交接仓编码,快递揽收场景,大包交接目的地国际分拨 HandoverWarehouseCode string `json:"handover_warehouse_code,omitempty" xml:"handover_warehouse_code,omitempty"` // 交接仓名称,快递揽收场景,大包交接目的地国际分拨 HandoverWarehouseName string `json:"handover_warehouse_name,omitempty" xml:"handover_warehouse_name,omitempty"` // 关联的大包的编码 HandoverContentCode string `json:"handover_content_code,omitempty" xml:"handover_content_code,omitempty"` // 关联的交接单ID HandoverOrderId int64 `json:"handover_order_id,omitempty" xml:"handover_order_id,omitempty"` // 关联的大包ID HandoverContentId int64 `json:"handover_content_id,omitempty" xml:"handover_content_id,omitempty"` // 该小包是否已经组包 HasBeenHandover bool `json:"has_been_handover,omitempty" xml:"has_been_handover,omitempty"` // 是否能组包 CanCreateHandover bool `json:"can_create_handover,omitempty" xml:"can_create_handover,omitempty"` }
OpenParcelOrderQueryResponse 结构体
type OpenPickupInfoParam ¶
type OpenPickupInfoParam struct { // 卖家后台地址id,用来获取卖家详细地址信息,传入值为Long型; SellerAddressId int64 `json:"seller_address_id,omitempty" xml:"seller_address_id,omitempty"` }
OpenPickupInfoParam 结构体
type OpenReturnerParam ¶
type OpenReturnerParam struct { // 卖家后台地址id,用来获取卖家详细地址信息,传入值为Long型; SellerAddressId int64 `json:"seller_address_id,omitempty" xml:"seller_address_id,omitempty"` }
OpenReturnerParam 结构体
type OpenSellerInfoParam ¶
type OpenSellerInfoParam struct { // 跨店铺组包时的店铺分组ID TopUserKey string `json:"top_user_key,omitempty" xml:"top_user_key,omitempty"` }
OpenSellerInfoParam 结构体
type OpenSenderParam ¶
type OpenSenderParam struct { // 卖家后台地址id,用来获取卖家详细地址信息,传入值为Long型; SellerAddressId int64 `json:"seller_address_id,omitempty" xml:"seller_address_id,omitempty"` }
OpenSenderParam 结构体
type OpenServiceParam ¶
type OpenServiceParam struct { // DOOR_PICKUP:上门揽收;SELF_POST:自寄;SELF_SEND:自送;UNREACHABLE_RETURN:不可达退回; Code string `json:"code,omitempty" xml:"code,omitempty"` // 不同物流服务的扩展信息 Features *Features `json:"features,omitempty" xml:"features,omitempty"` }
OpenServiceParam 结构体
type OpenSolutionDto ¶
type OpenSolutionDto struct { // 时效信息 TimingList []OpenTimingDto `json:"timing_list,omitempty" xml:"timing_list>open_timing_dto,omitempty"` // 费用列表 FeeList []OpenFeeDto `json:"fee_list,omitempty" xml:"fee_list>open_fee_dto,omitempty"` // 解决方案code Code string `json:"code,omitempty" xml:"code,omitempty"` // 解决方案名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 推荐指数 RecommendIndex int64 `json:"recommend_index,omitempty" xml:"recommend_index,omitempty"` }
OpenSolutionDto 结构体
type OpenSolutionInquiryResponse ¶
type OpenSolutionInquiryResponse struct { // 可用的解决方案列表 UsableSolutionList []OpenSolutionDto `json:"usable_solution_list,omitempty" xml:"usable_solution_list>open_solution_dto,omitempty"` }
OpenSolutionInquiryResponse 结构体
type OpenSolutionParam ¶
type OpenSolutionParam struct { // 物流服务列表 ServiceParams []OpenServiceParam `json:"service_params,omitempty" xml:"service_params>open_service_param,omitempty"` // 解决方案code SolutionCode string `json:"solution_code,omitempty" xml:"solution_code,omitempty"` }
OpenSolutionParam 结构体
type OpenTakingOrderResponse ¶
type OpenTakingOrderResponse struct { // 物流订单ID LogisticsOrderId int64 `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"` }
OpenTakingOrderResponse 结构体
type OpenTimingDto ¶
type OpenTimingDto struct { // 展示文案 DisplayText string `json:"display_text,omitempty" xml:"display_text,omitempty"` // 时效类型,ESTIMATE:预估时效,PROMISE:承诺时效 TimingType string `json:"timing_type,omitempty" xml:"timing_type,omitempty"` // 最慢时效 SlowestTiming int64 `json:"slowest_timing,omitempty" xml:"slowest_timing,omitempty"` // 最快时效 FastTiming int64 `json:"fast_timing,omitempty" xml:"fast_timing,omitempty"` }
OpenTimingDto 结构体
type OpenTradeOrderParam ¶
type OpenTradeOrderParam struct { // 主交易单ID TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"` }
OpenTradeOrderParam 结构体
type PickupDto ¶
type PickupDto struct { // 邮箱 Email string `json:"email,omitempty" xml:"email,omitempty"` // 移动电话, 校验格式:^1(3|4|5|6|7|8|9)\d{9}$ Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 固定电话,可空,校验格式:(^0[\d]{2,3}-[\d]{7,8}$)|(^400[\d]{3,4}[\d]{3,4}$)|(400-[\d]{3,4}-[\d]{3,4}$) Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 揽收联系人名称,必须包含中文字符 Name string `json:"name,omitempty" xml:"name,omitempty"` // 揽收地址 Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"` // AE后台维护的发件地址ID AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"` }
PickupDto 结构体
type QuerySolutionServiceResParam ¶
type QuerySolutionServiceResParam struct { // 解决方案code SolutionCode string `json:"solution_code,omitempty" xml:"solution_code,omitempty"` // 服务参数 ServiceParam *ServiceParam `json:"service_param,omitempty" xml:"service_param,omitempty"` }
QuerySolutionServiceResParam 结构体
type ReceiverParam ¶
type ReceiverParam struct { // 收件人名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 收件人座机号 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 收件人手机号 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 用户昵称 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 邮箱 Email string `json:"email,omitempty" xml:"email,omitempty"` // 收件人地址信息 AddressParam *OpenAddressParam `json:"address_param,omitempty" xml:"address_param,omitempty"` }
ReceiverParam 结构体
type ReturnerDto ¶
type ReturnerDto struct { // 邮箱 Email string `json:"email,omitempty" xml:"email,omitempty"` // 移动电话, 校验格式:^1(3|4|5|6|7|8|9)\d{9}$ Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 固定电话,可空,校验格式:(^0[\d]{2,3}-[\d]{7,8}$)|(^400[\d]{3,4}[\d]{3,4}$)|(400-[\d]{3,4}-[\d]{3,4}$) Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 退件联系人名称,必须包含中文字符 Name string `json:"name,omitempty" xml:"name,omitempty"` // 退件地址 Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"` // AE后台维护的退件地址ID AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"` }
ReturnerDto 结构体
type ServiceParam ¶
type ServiceParam struct { // DOOR_PICKUP:揽收仓资源、SELF_SEND:自送dropOff Code string `json:"code,omitempty" xml:"code,omitempty"` }
ServiceParam 结构体
type SolutionServiceResDto ¶
type SolutionServiceResDto struct { // 解决方案编码 SolutionCode string `json:"solution_code,omitempty" xml:"solution_code,omitempty"` // 优先级 Priority string `json:"priority,omitempty" xml:"priority,omitempty"` // 联系人名称 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 联系人电话 ContactTelephone string `json:"contact_telephone,omitempty" xml:"contact_telephone,omitempty"` // 工作时间 WorkTimeTips string `json:"work_time_tips,omitempty" xml:"work_time_tips,omitempty"` // 地址对应的divisionId Division string `json:"division,omitempty" xml:"division,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 资源名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 资源编码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 扩展字段 Features *Features `json:"features,omitempty" xml:"features,omitempty"` }
SolutionServiceResDto 结构体
type SolutionServiceResQueryResponse ¶
type SolutionServiceResQueryResponse struct { // 物流服务资源列表 SolutionServiceResList []SolutionServiceResDto `json:"solution_service_res_list,omitempty" xml:"solution_service_res_list>solution_service_res_dto,omitempty"` }
SolutionServiceResQueryResponse 结构体
type UserInfoDto ¶
type UserInfoDto struct { // 国家编码(选填) Country string `json:"country,omitempty" xml:"country,omitempty"` // 登陆账号(必填) LoginId string `json:"login_id,omitempty" xml:"login_id,omitempty"` // 商家id(选填) SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 对应创建物流单的时候传入的top_user_key;跨店铺场景需要传入 TopUserKey string `json:"top_user_key,omitempty" xml:"top_user_key,omitempty"` // 业务类型(选填) BizSource string `json:"biz_source,omitempty" xml:"biz_source,omitempty"` // 用户Key(选填) AppUserKey string `json:"app_user_key,omitempty" xml:"app_user_key,omitempty"` // 用户id(选填) UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` }
UserInfoDto 结构体
Source Files ¶
- AddressDto.go
- AeopActualCarrierResponse.go
- CainiaoGlobalCommithandovercontentUpdateAPIRequest.go
- CainiaoGlobalCommithandovercontentUpdateAPIResponse.go
- CainiaoGlobalHandoverCancelAPIRequest.go
- CainiaoGlobalHandoverCancelAPIResponse.go
- CainiaoGlobalHandoverCloudprintGetAPIRequest.go
- CainiaoGlobalHandoverCloudprintGetAPIResponse.go
- CainiaoGlobalHandoverCommitAPIRequest.go
- CainiaoGlobalHandoverCommitAPIResponse.go
- CainiaoGlobalHandoverContentQueryAPIRequest.go
- CainiaoGlobalHandoverContentQueryAPIResponse.go
- CainiaoGlobalHandoverContentSubbagAddAPIRequest.go
- CainiaoGlobalHandoverContentSubbagAddAPIResponse.go
- CainiaoGlobalHandoverParcelQueryAPIRequest.go
- CainiaoGlobalHandoverParcelQueryAPIResponse.go
- CainiaoGlobalHandoverPdfGetAPIRequest.go
- CainiaoGlobalHandoverPdfGetAPIResponse.go
- CainiaoGlobalHandoverSavedraftAPIRequest.go
- CainiaoGlobalHandoverSavedraftAPIResponse.go
- CainiaoGlobalHandoverUpdateAPIRequest.go
- CainiaoGlobalHandoverUpdateAPIResponse.go
- CainiaoGlobalLogisticOrderCreateAPIRequest.go
- CainiaoGlobalLogisticOrderCreateAPIResponse.go
- CainiaoGlobalLogisticsCarrierQuerylistAPIRequest.go
- CainiaoGlobalLogisticsCarrierQuerylistAPIResponse.go
- CainiaoGlobalSolutionInquiryAPIRequest.go
- CainiaoGlobalSolutionInquiryAPIResponse.go
- CainiaoGlobalSolutionServiceResourceQueryAPIRequest.go
- CainiaoGlobalSolutionServiceResourceQueryAPIResponse.go
- CloudPrintDataGetResponse.go
- Courierlist.go
- DubboResult.go
- ErrorInfo.go
- Features.go
- GlspResponse.go
- HandoverContentAddSubbagsDto.go
- HandoverContentUpdateErrorParcelDto.go
- HandoverContentUpdateParcelDto.go
- HsfResult.go
- OpenAddressParam.go
- OpenFeeDetailDto.go
- OpenFeeDto.go
- OpenHandoverCancelResponse.go
- OpenHandoverCommitResponse.go
- OpenHandoverContentAddSubbagsResponse.go
- OpenHandoverContentDetailResponse.go
- OpenHandoverContentUpdateCommitRequest.go
- OpenHandoverContentUpdateResponse.go
- OpenHandoverDraftSaveResponse.go
- OpenHandoverUpdateResponse.go
- OpenItemParam.go
- OpenOrderParam.go
- OpenPackageParam.go
- OpenParcelOrderDto.go
- OpenParcelOrderQueryResponse.go
- OpenPickupInfoParam.go
- OpenReturnerParam.go
- OpenSellerInfoParam.go
- OpenSenderParam.go
- OpenServiceParam.go
- OpenSolutionDto.go
- OpenSolutionInquiryResponse.go
- OpenSolutionParam.go
- OpenTakingOrderResponse.go
- OpenTimingDto.go
- OpenTradeOrderParam.go
- PickupDto.go
- QuerySolutionServiceResParam.go
- ReceiverParam.go
- ReturnerDto.go
- ServiceParam.go
- SolutionServiceResDto.go
- SolutionServiceResQueryResponse.go
- UserInfoDto.go
- doc.go