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.3.1
type CainiaoglobalcommithandovercontentupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalcommithandovercontentupdateAPIRequest 修改已经提交的交接单 API请求 cainiao.global.commithandovercontent.update
修改已经提交的交接单
func NewCainiaoglobalcommithandovercontentupdateRequest ¶ added in v1.3.1
func NewCainiaoglobalcommithandovercontentupdateRequest() *CainiaoglobalcommithandovercontentupdateAPIRequest
NewCainiaoglobalcommithandovercontentupdateRequest 初始化CainiaoglobalcommithandovercontentupdateAPIRequest对象
func (CainiaoglobalcommithandovercontentupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalcommithandovercontentupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalcommithandovercontentupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalcommithandovercontentupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalcommithandovercontentupdateAPIRequest) GetOpenHandoverContentUpdateCommitRequest ¶ added in v1.3.1
func (r CainiaoglobalcommithandovercontentupdateAPIRequest) GetOpenHandoverContentUpdateCommitRequest() *OpenHandoverContentUpdateCommitRequest
GetOpenHandoverContentUpdateCommitRequest OpenHandoverContentUpdateCommitRequest Getter
func (CainiaoglobalcommithandovercontentupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalcommithandovercontentupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoglobalcommithandovercontentupdateAPIRequest) SetOpenHandoverContentUpdateCommitRequest ¶ added in v1.3.1
func (r *CainiaoglobalcommithandovercontentupdateAPIRequest) SetOpenHandoverContentUpdateCommitRequest(_openHandoverContentUpdateCommitRequest *OpenHandoverContentUpdateCommitRequest) error
SetOpenHandoverContentUpdateCommitRequest is OpenHandoverContentUpdateCommitRequest Setter 修改参数对象
type CainiaoglobalcommithandovercontentupdateAPIResponse ¶ added in v1.3.1
type CainiaoglobalcommithandovercontentupdateAPIResponse struct { model.CommonResponse CainiaoglobalcommithandovercontentupdateAPIResponseModel }
CainiaoglobalcommithandovercontentupdateAPIResponse 修改已经提交的交接单 API返回值 cainiao.global.commithandovercontent.update
修改已经提交的交接单
type CainiaoglobalcommithandovercontentupdateAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandovercancelAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandovercancelAPIRequest 取消交接单 API请求 cainiao.global.handover.cancel
提供给ISV通过该接口取消交接单
func NewCainiaoglobalhandovercancelRequest ¶ added in v1.3.1
func NewCainiaoglobalhandovercancelRequest() *CainiaoglobalhandovercancelAPIRequest
NewCainiaoglobalhandovercancelRequest 初始化CainiaoglobalhandovercancelAPIRequest对象
func (CainiaoglobalhandovercancelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandovercancelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandovercancelAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandovercancelAPIRequest) GetHandoverContentId ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetHandoverContentId() int64
GetHandoverContentId HandoverContentId Getter
func (CainiaoglobalhandovercancelAPIRequest) GetHandoverOrderId ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetHandoverOrderId() int64
GetHandoverOrderId HandoverOrderId Getter
func (CainiaoglobalhandovercancelAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandovercancelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandovercancelAPIRequest) GetTrackingNumber ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoglobalhandovercancelAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandovercancelAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoglobalhandovercancelAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandovercancelAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandovercancelAPIRequest) SetHandoverContentId ¶ added in v1.3.1
func (r *CainiaoglobalhandovercancelAPIRequest) SetHandoverContentId(_handoverContentId int64) error
SetHandoverContentId is HandoverContentId Setter 要取消的交接物id,即大包id
func (*CainiaoglobalhandovercancelAPIRequest) SetHandoverOrderId ¶ added in v1.3.1
func (r *CainiaoglobalhandovercancelAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
SetHandoverOrderId is HandoverOrderId Setter 要取消的交接单id
func (*CainiaoglobalhandovercancelAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandovercancelAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandovercancelAPIRequest) SetTrackingNumber ¶ added in v1.3.1
func (r *CainiaoglobalhandovercancelAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 要取消的交接物运单号,即大包运单号
func (*CainiaoglobalhandovercancelAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercancelAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 系统自动生成
type CainiaoglobalhandovercancelAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandovercancelAPIResponse struct { model.CommonResponse CainiaoglobalhandovercancelAPIResponseModel }
CainiaoglobalhandovercancelAPIResponse 取消交接单 API返回值 cainiao.global.handover.cancel
提供给ISV通过该接口取消交接单
type CainiaoglobalhandovercancelAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandovercloudprintgetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandovercloudprintgetAPIRequest 获取面单云打印数据 API请求 cainiao.global.handover.cloudprint.get
提供给ISV通过该接口获取面单云打印数据
func NewCainiaoglobalhandovercloudprintgetRequest ¶ added in v1.3.1
func NewCainiaoglobalhandovercloudprintgetRequest() *CainiaoglobalhandovercloudprintgetAPIRequest
NewCainiaoglobalhandovercloudprintgetRequest 初始化CainiaoglobalhandovercloudprintgetAPIRequest对象
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetOrderCode ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetTrackingNumber ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoglobalhandovercloudprintgetAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandovercloudprintgetAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoglobalhandovercloudprintgetAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandovercloudprintgetAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandovercloudprintgetAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandovercloudprintgetAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandovercloudprintgetAPIRequest) SetOrderCode ¶ added in v1.3.1
func (r *CainiaoglobalhandovercloudprintgetAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 大包物流单LP号
func (*CainiaoglobalhandovercloudprintgetAPIRequest) SetTrackingNumber ¶ added in v1.3.1
func (r *CainiaoglobalhandovercloudprintgetAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 大包运单号
func (*CainiaoglobalhandovercloudprintgetAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercloudprintgetAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoglobalhandovercloudprintgetAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandovercloudprintgetAPIResponse struct { model.CommonResponse CainiaoglobalhandovercloudprintgetAPIResponseModel }
CainiaoglobalhandovercloudprintgetAPIResponse 获取面单云打印数据 API返回值 cainiao.global.handover.cloudprint.get
提供给ISV通过该接口获取面单云打印数据
type CainiaoglobalhandovercloudprintgetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandovercommitAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandovercommitAPIRequest 提交发布交接单 API请求 cainiao.global.handover.commit
提供给ISV通过该接口提交发布交接单
func NewCainiaoglobalhandovercommitRequest ¶ added in v1.3.1
func NewCainiaoglobalhandovercommitRequest() *CainiaoglobalhandovercommitAPIRequest
NewCainiaoglobalhandovercommitRequest 初始化CainiaoglobalhandovercommitAPIRequest对象
func (CainiaoglobalhandovercommitAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandovercommitAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandovercommitAPIRequest) GetAppointmentType ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetAppointmentType() string
GetAppointmentType AppointmentType Getter
func (CainiaoglobalhandovercommitAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandovercommitAPIRequest) GetDomesticLogisticsCompany ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetDomesticLogisticsCompany() string
GetDomesticLogisticsCompany DomesticLogisticsCompany Getter
func (CainiaoglobalhandovercommitAPIRequest) GetDomesticLogisticsCompanyId ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetDomesticLogisticsCompanyId() int64
GetDomesticLogisticsCompanyId DomesticLogisticsCompanyId Getter
func (CainiaoglobalhandovercommitAPIRequest) GetDomesticTrackingNo ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetDomesticTrackingNo() string
GetDomesticTrackingNo DomesticTrackingNo Getter
func (CainiaoglobalhandovercommitAPIRequest) GetFeatures ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetFeatures() *Features
GetFeatures Features Getter
func (CainiaoglobalhandovercommitAPIRequest) GetHandoverOrderId ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetHandoverOrderId() int64
GetHandoverOrderId HandoverOrderId Getter
func (CainiaoglobalhandovercommitAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandovercommitAPIRequest) GetOrderCodeList ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetOrderCodeList() []string
GetOrderCodeList OrderCodeList Getter
func (CainiaoglobalhandovercommitAPIRequest) GetPickupInfo ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetPickupInfo() *PickupDto
GetPickupInfo PickupInfo Getter
func (CainiaoglobalhandovercommitAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandovercommitAPIRequest) GetRemark ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetRemark() string
GetRemark Remark Getter
func (CainiaoglobalhandovercommitAPIRequest) GetReturnInfo ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetReturnInfo() *ReturnerDto
GetReturnInfo ReturnInfo Getter
func (CainiaoglobalhandovercommitAPIRequest) GetType ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetType() string
GetType Type Getter
func (CainiaoglobalhandovercommitAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (CainiaoglobalhandovercommitAPIRequest) GetWeight ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (CainiaoglobalhandovercommitAPIRequest) GetWeightUnit ¶ added in v1.3.1
func (r CainiaoglobalhandovercommitAPIRequest) GetWeightUnit() string
GetWeightUnit WeightUnit Getter
func (*CainiaoglobalhandovercommitAPIRequest) SetAppointmentType ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetAppointmentType(_appointmentType string) error
SetAppointmentType is AppointmentType Setter 预约交货方式(bigbag:大包预约,batch:批次预约))
func (*CainiaoglobalhandovercommitAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandovercommitAPIRequest) SetDomesticLogisticsCompany ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetDomesticLogisticsCompany(_domesticLogisticsCompany string) error
SetDomesticLogisticsCompany is DomesticLogisticsCompany Setter 国内物流公司名称(交接单类型type为self_post(自寄)时必填)
func (*CainiaoglobalhandovercommitAPIRequest) SetDomesticLogisticsCompanyId ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetDomesticLogisticsCompanyId(_domesticLogisticsCompanyId int64) error
SetDomesticLogisticsCompanyId is DomesticLogisticsCompanyId Setter 国内物流公司id(交接单类型type为self_post(自寄)时必填)
func (*CainiaoglobalhandovercommitAPIRequest) SetDomesticTrackingNo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetDomesticTrackingNo(_domesticTrackingNo string) error
SetDomesticTrackingNo is DomesticTrackingNo Setter 国内运单号(交接单类型type为self_post(自寄)时必填)
func (*CainiaoglobalhandovercommitAPIRequest) SetFeatures ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetFeatures(_features *Features) error
SetFeatures is Features Setter 扩展字段
func (*CainiaoglobalhandovercommitAPIRequest) SetHandoverOrderId ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
SetHandoverOrderId is HandoverOrderId Setter 交接单id
func (*CainiaoglobalhandovercommitAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandovercommitAPIRequest) SetOrderCodeList ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetOrderCodeList(_orderCodeList []string) error
SetOrderCodeList is OrderCodeList Setter 要创建交接单的小包编码集合,数量上限1000
func (*CainiaoglobalhandovercommitAPIRequest) SetPickupInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
SetPickupInfo is PickupInfo Setter 揽收信息
func (*CainiaoglobalhandovercommitAPIRequest) SetRemark ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 大包备注
func (*CainiaoglobalhandovercommitAPIRequest) SetReturnInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
SetReturnInfo is ReturnInfo Setter 退件信息
func (*CainiaoglobalhandovercommitAPIRequest) SetType ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetType(_type string) error
SetType is Type Setter 交接单类型:cainiao_pickup(菜鸟揽收)、self_post(自寄)、self_send(自送)
func (*CainiaoglobalhandovercommitAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
func (*CainiaoglobalhandovercommitAPIRequest) SetWeight ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 大包重量
func (*CainiaoglobalhandovercommitAPIRequest) SetWeightUnit ¶ added in v1.3.1
func (r *CainiaoglobalhandovercommitAPIRequest) SetWeightUnit(_weightUnit string) error
SetWeightUnit is WeightUnit Setter 重量单位,克:g, 千克:kg,默认g
type CainiaoglobalhandovercommitAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandovercommitAPIResponse struct { model.CommonResponse CainiaoglobalhandovercommitAPIResponseModel }
CainiaoglobalhandovercommitAPIResponse 提交发布交接单 API返回值 cainiao.global.handover.commit
提供给ISV通过该接口提交发布交接单
type CainiaoglobalhandovercommitAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandovercontentqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandovercontentqueryAPIRequest 查询大包详情 API请求 cainiao.global.handover.content.query
查询大包详情
func NewCainiaoglobalhandovercontentqueryRequest ¶ added in v1.3.1
func NewCainiaoglobalhandovercontentqueryRequest() *CainiaoglobalhandovercontentqueryAPIRequest
NewCainiaoglobalhandovercontentqueryRequest 初始化CainiaoglobalhandovercontentqueryAPIRequest对象
func (CainiaoglobalhandovercontentqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandovercontentqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandovercontentqueryAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandovercontentqueryAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandovercontentqueryAPIRequest) GetOrderCode ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (CainiaoglobalhandovercontentqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandovercontentqueryAPIRequest) GetTrackingNumber ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoglobalhandovercontentqueryAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentqueryAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoglobalhandovercontentqueryAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentqueryAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandovercontentqueryAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentqueryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandovercontentqueryAPIRequest) SetOrderCode ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentqueryAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 交接物物流订单编码,和交接物运单号参数可以任选其一即可
func (*CainiaoglobalhandovercontentqueryAPIRequest) SetTrackingNumber ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentqueryAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 交接物运单号,和交接物物流订单编码参数任选其一即可
func (*CainiaoglobalhandovercontentqueryAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentqueryAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoglobalhandovercontentqueryAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandovercontentqueryAPIResponse struct { model.CommonResponse CainiaoglobalhandovercontentqueryAPIResponseModel }
CainiaoglobalhandovercontentqueryAPIResponse 查询大包详情 API返回值 cainiao.global.handover.content.query
查询大包详情
type CainiaoglobalhandovercontentqueryAPIResponseModel ¶ added in v1.3.1
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.3.1
type CainiaoglobalhandovercontentsubbagaddAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandovercontentsubbagaddAPIRequest 预约单下追加大包 API请求 cainiao.global.handover.content.subbag.add
预约单下追加大包
func NewCainiaoglobalhandovercontentsubbagaddRequest ¶ added in v1.3.1
func NewCainiaoglobalhandovercontentsubbagaddRequest() *CainiaoglobalhandovercontentsubbagaddAPIRequest
NewCainiaoglobalhandovercontentsubbagaddRequest 初始化CainiaoglobalhandovercontentsubbagaddAPIRequest对象
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetHandoverContentCode ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetHandoverContentCode() string
GetHandoverContentCode HandoverContentCode Getter
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandovercontentsubbagaddAPIRequest) GetSubbagCount ¶ added in v1.3.1
func (r CainiaoglobalhandovercontentsubbagaddAPIRequest) GetSubbagCount() int64
GetSubbagCount SubbagCount Getter
func (*CainiaoglobalhandovercontentsubbagaddAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentsubbagaddAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandovercontentsubbagaddAPIRequest) SetHandoverContentCode ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentsubbagaddAPIRequest) SetHandoverContentCode(_handoverContentCode string) error
SetHandoverContentCode is HandoverContentCode Setter 预约号(大包LP)
func (*CainiaoglobalhandovercontentsubbagaddAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentsubbagaddAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandovercontentsubbagaddAPIRequest) SetSubbagCount ¶ added in v1.3.1
func (r *CainiaoglobalhandovercontentsubbagaddAPIRequest) SetSubbagCount(_subbagCount int64) error
SetSubbagCount is SubbagCount Setter 追加大包数量
type CainiaoglobalhandovercontentsubbagaddAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandovercontentsubbagaddAPIResponse struct { model.CommonResponse CainiaoglobalhandovercontentsubbagaddAPIResponseModel }
CainiaoglobalhandovercontentsubbagaddAPIResponse 预约单下追加大包 API返回值 cainiao.global.handover.content.subbag.add
预约单下追加大包
type CainiaoglobalhandovercontentsubbagaddAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandoverparcelqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandoverparcelqueryAPIRequest 获取交接单小包信息 API请求 cainiao.global.handover.parcel.query
提供给ISV通过该接口查询小包信息
func NewCainiaoglobalhandoverparcelqueryRequest ¶ added in v1.3.1
func NewCainiaoglobalhandoverparcelqueryRequest() *CainiaoglobalhandoverparcelqueryAPIRequest
NewCainiaoglobalhandoverparcelqueryRequest 初始化CainiaoglobalhandoverparcelqueryAPIRequest对象
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetOrderCode ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetTrackingNumber ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetTrackingNumber() string
GetTrackingNumber TrackingNumber Getter
func (CainiaoglobalhandoverparcelqueryAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoverparcelqueryAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoglobalhandoverparcelqueryAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandoverparcelqueryAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandoverparcelqueryAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandoverparcelqueryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandoverparcelqueryAPIRequest) SetOrderCode ¶ added in v1.3.1
func (r *CainiaoglobalhandoverparcelqueryAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 小包的物流订单号,和小包的国际运单号参数任选其一即可
func (*CainiaoglobalhandoverparcelqueryAPIRequest) SetTrackingNumber ¶ added in v1.3.1
func (r *CainiaoglobalhandoverparcelqueryAPIRequest) SetTrackingNumber(_trackingNumber string) error
SetTrackingNumber is TrackingNumber Setter 小包的国际运单号,和小包的物流订单号参数任选其一即可
func (*CainiaoglobalhandoverparcelqueryAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoverparcelqueryAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoglobalhandoverparcelqueryAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandoverparcelqueryAPIResponse struct { model.CommonResponse CainiaoglobalhandoverparcelqueryAPIResponseModel }
CainiaoglobalhandoverparcelqueryAPIResponse 获取交接单小包信息 API返回值 cainiao.global.handover.parcel.query
提供给ISV通过该接口查询小包信息
type CainiaoglobalhandoverparcelqueryAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandoverpdfgetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandoverpdfgetAPIRequest 获取面单PDF文件数据 API请求 cainiao.global.handover.pdf.get
返回指定大包面单的PDF文件数据
func NewCainiaoglobalhandoverpdfgetRequest ¶ added in v1.3.1
func NewCainiaoglobalhandoverpdfgetRequest() *CainiaoglobalhandoverpdfgetAPIRequest
NewCainiaoglobalhandoverpdfgetRequest 初始化CainiaoglobalhandoverpdfgetAPIRequest对象
func (CainiaoglobalhandoverpdfgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandoverpdfgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandoverpdfgetAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandoverpdfgetAPIRequest) GetHandoverContentId ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetHandoverContentId() int64
GetHandoverContentId HandoverContentId Getter
func (CainiaoglobalhandoverpdfgetAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandoverpdfgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandoverpdfgetAPIRequest) GetType ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetType() int64
GetType Type Getter
func (CainiaoglobalhandoverpdfgetAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoverpdfgetAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (*CainiaoglobalhandoverpdfgetAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandoverpdfgetAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandoverpdfgetAPIRequest) SetHandoverContentId ¶ added in v1.3.1
func (r *CainiaoglobalhandoverpdfgetAPIRequest) SetHandoverContentId(_handoverContentId int64) error
SetHandoverContentId is HandoverContentId Setter 大包编号id
func (*CainiaoglobalhandoverpdfgetAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandoverpdfgetAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandoverpdfgetAPIRequest) SetType ¶ added in v1.3.1
func (r *CainiaoglobalhandoverpdfgetAPIRequest) SetType(_type int64) error
SetType is Type Setter 打印数据类型,1:面单、4:发货标签、512:交接清单
func (*CainiaoglobalhandoverpdfgetAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoverpdfgetAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
type CainiaoglobalhandoverpdfgetAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandoverpdfgetAPIResponse struct { model.CommonResponse CainiaoglobalhandoverpdfgetAPIResponseModel }
CainiaoglobalhandoverpdfgetAPIResponse 获取面单PDF文件数据 API返回值 cainiao.global.handover.pdf.get
返回指定大包面单的PDF文件数据
type CainiaoglobalhandoverpdfgetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandoversavedraftAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandoversavedraftAPIRequest 创建交接单草稿 API请求 cainiao.global.handover.savedraft
提供给ISV通过该接口创建交接单草稿
func NewCainiaoglobalhandoversavedraftRequest ¶ added in v1.3.1
func NewCainiaoglobalhandoversavedraftRequest() *CainiaoglobalhandoversavedraftAPIRequest
NewCainiaoglobalhandoversavedraftRequest 初始化CainiaoglobalhandoversavedraftAPIRequest对象
func (CainiaoglobalhandoversavedraftAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandoversavedraftAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandoversavedraftAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetOrderCodeList ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetOrderCodeList() []string
GetOrderCodeList OrderCodeList Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetPickupInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetPickupInfo() *PickupDto
GetPickupInfo PickupInfo Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandoversavedraftAPIRequest) GetRemark ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetRemark() string
GetRemark Remark Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetReturnInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetReturnInfo() *ReturnerDto
GetReturnInfo ReturnInfo Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetWeight ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (CainiaoglobalhandoversavedraftAPIRequest) GetWeightUnit ¶ added in v1.3.1
func (r CainiaoglobalhandoversavedraftAPIRequest) GetWeightUnit() string
GetWeightUnit WeightUnit Getter
func (*CainiaoglobalhandoversavedraftAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetClient(_client string) error
SetClient is Client Setter 客户端名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandoversavedraftAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandoversavedraftAPIRequest) SetOrderCodeList ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetOrderCodeList(_orderCodeList []string) error
SetOrderCodeList is OrderCodeList Setter 需要组装大包的小包编码集合,最多限制200个小包
func (*CainiaoglobalhandoversavedraftAPIRequest) SetPickupInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
SetPickupInfo is PickupInfo Setter 揽收信息
func (*CainiaoglobalhandoversavedraftAPIRequest) SetRemark ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 备注
func (*CainiaoglobalhandoversavedraftAPIRequest) SetReturnInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
SetReturnInfo is ReturnInfo Setter 退件信息
func (*CainiaoglobalhandoversavedraftAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
func (*CainiaoglobalhandoversavedraftAPIRequest) SetWeight ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 大包重量
func (*CainiaoglobalhandoversavedraftAPIRequest) SetWeightUnit ¶ added in v1.3.1
func (r *CainiaoglobalhandoversavedraftAPIRequest) SetWeightUnit(_weightUnit string) error
SetWeightUnit is WeightUnit Setter 重量单位,克:g, 千克:kg,默认g
type CainiaoglobalhandoversavedraftAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandoversavedraftAPIResponse struct { model.CommonResponse CainiaoglobalhandoversavedraftAPIResponseModel }
CainiaoglobalhandoversavedraftAPIResponse 创建交接单草稿 API返回值 cainiao.global.handover.savedraft
提供给ISV通过该接口创建交接单草稿
type CainiaoglobalhandoversavedraftAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalhandoverupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalhandoverupdateAPIRequest 修改交接单 API请求 cainiao.global.handover.update
提供给ISV通过该接口修改交接单
func NewCainiaoglobalhandoverupdateRequest ¶ added in v1.3.1
func NewCainiaoglobalhandoverupdateRequest() *CainiaoglobalhandoverupdateAPIRequest
NewCainiaoglobalhandoverupdateRequest 初始化CainiaoglobalhandoverupdateAPIRequest对象
func (CainiaoglobalhandoverupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalhandoverupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalhandoverupdateAPIRequest) GetClient ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetClient() string
GetClient Client Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetHandoverOrderId ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetHandoverOrderId() int64
GetHandoverOrderId HandoverOrderId Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetOrderCodeList ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetOrderCodeList() []string
GetOrderCodeList OrderCodeList Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetPickupInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetPickupInfo() *PickupDto
GetPickupInfo PickupInfo Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalhandoverupdateAPIRequest) GetRemark ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetRemark() string
GetRemark Remark Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetReturnInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetReturnInfo() *ReturnerDto
GetReturnInfo ReturnInfo Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetType ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetType() string
GetType Type Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetUserInfo ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetUserInfo() *UserInfoDto
GetUserInfo UserInfo Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetWeight ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (CainiaoglobalhandoverupdateAPIRequest) GetWeightUnit ¶ added in v1.3.1
func (r CainiaoglobalhandoverupdateAPIRequest) GetWeightUnit() string
GetWeightUnit WeightUnit Getter
func (*CainiaoglobalhandoverupdateAPIRequest) SetClient ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetClient(_client string) error
SetClient is Client Setter ISV名称,ISV:ISV-ISV英文或拼音名称、商家ERP:SELLER-商家英文或拼音名称
func (*CainiaoglobalhandoverupdateAPIRequest) SetHandoverOrderId ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetHandoverOrderId(_handoverOrderId int64) error
SetHandoverOrderId is HandoverOrderId Setter 交接单id
func (*CainiaoglobalhandoverupdateAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaoglobalhandoverupdateAPIRequest) SetOrderCodeList ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetOrderCodeList(_orderCodeList []string) error
SetOrderCodeList is OrderCodeList Setter 要创建交接单的小包编码集合,数量上限200
func (*CainiaoglobalhandoverupdateAPIRequest) SetPickupInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetPickupInfo(_pickupInfo *PickupDto) error
SetPickupInfo is PickupInfo Setter 揽收信息
func (*CainiaoglobalhandoverupdateAPIRequest) SetRemark ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 大包备注
func (*CainiaoglobalhandoverupdateAPIRequest) SetReturnInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetReturnInfo(_returnInfo *ReturnerDto) error
SetReturnInfo is ReturnInfo Setter 退件信息
func (*CainiaoglobalhandoverupdateAPIRequest) SetType ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetType(_type string) error
SetType is Type Setter 交接单类型,菜鸟揽收(cainiao_pickup)或自寄(self_post),默认菜鸟揽收
func (*CainiaoglobalhandoverupdateAPIRequest) SetUserInfo ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetUserInfo(_userInfo *UserInfoDto) error
SetUserInfo is UserInfo Setter 用户信息
func (*CainiaoglobalhandoverupdateAPIRequest) SetWeight ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 大包重量
func (*CainiaoglobalhandoverupdateAPIRequest) SetWeightUnit ¶ added in v1.3.1
func (r *CainiaoglobalhandoverupdateAPIRequest) SetWeightUnit(_weightUnit string) error
SetWeightUnit is WeightUnit Setter 重量单位,克:g, 千克:kg,默认g
type CainiaoglobalhandoverupdateAPIResponse ¶ added in v1.3.1
type CainiaoglobalhandoverupdateAPIResponse struct { model.CommonResponse CainiaoglobalhandoverupdateAPIResponseModel }
CainiaoglobalhandoverupdateAPIResponse 修改交接单 API返回值 cainiao.global.handover.update
提供给ISV通过该接口修改交接单
type CainiaoglobalhandoverupdateAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaogloballogisticordercreateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaogloballogisticordercreateAPIRequest 创建物流订单 API请求 cainiao.global.logistic.order.create
创建物流订单
func NewCainiaogloballogisticordercreateRequest ¶ added in v1.3.1
func NewCainiaogloballogisticordercreateRequest() *CainiaogloballogisticordercreateAPIRequest
NewCainiaogloballogisticordercreateRequest 初始化CainiaogloballogisticordercreateAPIRequest对象
func (CainiaogloballogisticordercreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaogloballogisticordercreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaogloballogisticordercreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaogloballogisticordercreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaogloballogisticordercreateAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaogloballogisticordercreateAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaogloballogisticordercreateAPIRequest) GetOrderParam ¶ added in v1.3.1
func (r CainiaogloballogisticordercreateAPIRequest) GetOrderParam() *OpenOrderParam
GetOrderParam OrderParam Getter
func (CainiaogloballogisticordercreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaogloballogisticordercreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaogloballogisticordercreateAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaogloballogisticordercreateAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言
func (*CainiaogloballogisticordercreateAPIRequest) SetOrderParam ¶ added in v1.3.1
func (r *CainiaogloballogisticordercreateAPIRequest) SetOrderParam(_orderParam *OpenOrderParam) error
SetOrderParam is OrderParam Setter 订单参数
type CainiaogloballogisticordercreateAPIResponse ¶ added in v1.3.1
type CainiaogloballogisticordercreateAPIResponse struct { model.CommonResponse CainiaogloballogisticordercreateAPIResponseModel }
CainiaogloballogisticordercreateAPIResponse 创建物流订单 API返回值 cainiao.global.logistic.order.create
创建物流订单
type CainiaogloballogisticordercreateAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaogloballogisticscarrierquerylistAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaogloballogisticscarrierquerylistAPIRequest 实际承运商查询 API请求 cainiao.global.logistics.carrier.querylist
查询出所有的实际承运商
func NewCainiaogloballogisticscarrierquerylistRequest ¶ added in v1.3.1
func NewCainiaogloballogisticscarrierquerylistRequest() *CainiaogloballogisticscarrierquerylistAPIRequest
NewCainiaogloballogisticscarrierquerylistRequest 初始化CainiaogloballogisticscarrierquerylistAPIRequest对象
func (CainiaogloballogisticscarrierquerylistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaogloballogisticscarrierquerylistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaogloballogisticscarrierquerylistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaogloballogisticscarrierquerylistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaogloballogisticscarrierquerylistAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaogloballogisticscarrierquerylistAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaogloballogisticscarrierquerylistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaogloballogisticscarrierquerylistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaogloballogisticscarrierquerylistAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaogloballogisticscarrierquerylistAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言(暂不支持,保留入参)
type CainiaogloballogisticscarrierquerylistAPIResponse ¶ added in v1.3.1
type CainiaogloballogisticscarrierquerylistAPIResponse struct { model.CommonResponse CainiaogloballogisticscarrierquerylistAPIResponseModel }
CainiaogloballogisticscarrierquerylistAPIResponse 实际承运商查询 API返回值 cainiao.global.logistics.carrier.querylist
查询出所有的实际承运商
type CainiaogloballogisticscarrierquerylistAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalsolutioninquiryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalsolutioninquiryAPIRequest 解决方案询盘 API请求 cainiao.global.solution.inquiry
根据交易单号查询可用的解决方案
func NewCainiaoglobalsolutioninquiryRequest ¶ added in v1.3.1
func NewCainiaoglobalsolutioninquiryRequest() *CainiaoglobalsolutioninquiryAPIRequest
NewCainiaoglobalsolutioninquiryRequest 初始化CainiaoglobalsolutioninquiryAPIRequest对象
func (CainiaoglobalsolutioninquiryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalsolutioninquiryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalsolutioninquiryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalsolutioninquiryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalsolutioninquiryAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalsolutioninquiryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalsolutioninquiryAPIRequest) GetPackageParams ¶ added in v1.3.1
func (r CainiaoglobalsolutioninquiryAPIRequest) GetPackageParams() []OpenPackageParam
GetPackageParams PackageParams Getter
func (CainiaoglobalsolutioninquiryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalsolutioninquiryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalsolutioninquiryAPIRequest) GetTradeOrderParam ¶ added in v1.3.1
func (r CainiaoglobalsolutioninquiryAPIRequest) GetTradeOrderParam() *OpenTradeOrderParam
GetTradeOrderParam TradeOrderParam Getter
func (*CainiaoglobalsolutioninquiryAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalsolutioninquiryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言,zh_CN中文、en_US:英文、ru_RU俄语
func (*CainiaoglobalsolutioninquiryAPIRequest) SetPackageParams ¶ added in v1.3.1
func (r *CainiaoglobalsolutioninquiryAPIRequest) SetPackageParams(_packageParams []OpenPackageParam) error
SetPackageParams is PackageParams Setter 包裹参数
func (*CainiaoglobalsolutioninquiryAPIRequest) SetTradeOrderParam ¶ added in v1.3.1
func (r *CainiaoglobalsolutioninquiryAPIRequest) SetTradeOrderParam(_tradeOrderParam *OpenTradeOrderParam) error
SetTradeOrderParam is TradeOrderParam Setter 交易单参数
type CainiaoglobalsolutioninquiryAPIResponse ¶ added in v1.3.1
type CainiaoglobalsolutioninquiryAPIResponse struct { model.CommonResponse CainiaoglobalsolutioninquiryAPIResponseModel }
CainiaoglobalsolutioninquiryAPIResponse 解决方案询盘 API返回值 cainiao.global.solution.inquiry
根据交易单号查询可用的解决方案
type CainiaoglobalsolutioninquiryAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type CainiaoglobalsolutionserviceresourcequeryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoglobalsolutionserviceresourcequeryAPIRequest 查询解决方案服务资源列表 API请求 cainiao.global.solution.service.resource.query
返回直接解决方案的指定物流服务的可用资源列表
func NewCainiaoglobalsolutionserviceresourcequeryRequest ¶ added in v1.3.1
func NewCainiaoglobalsolutionserviceresourcequeryRequest() *CainiaoglobalsolutionserviceresourcequeryAPIRequest
NewCainiaoglobalsolutionserviceresourcequeryRequest 初始化CainiaoglobalsolutionserviceresourcequeryAPIRequest对象
func (CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetLocale ¶ added in v1.3.1
func (r CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetLocale() string
GetLocale Locale Getter
func (CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetSenderParam ¶ added in v1.3.1
func (r CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetSenderParam() *OpenSenderParam
GetSenderParam SenderParam Getter
func (CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetSolutionServiceResParam ¶ added in v1.3.1
func (r CainiaoglobalsolutionserviceresourcequeryAPIRequest) GetSolutionServiceResParam() *QuerySolutionServiceResParam
GetSolutionServiceResParam SolutionServiceResParam Getter
func (*CainiaoglobalsolutionserviceresourcequeryAPIRequest) SetLocale ¶ added in v1.3.1
func (r *CainiaoglobalsolutionserviceresourcequeryAPIRequest) SetLocale(_locale string) error
SetLocale is Locale Setter 多语言信息
func (*CainiaoglobalsolutionserviceresourcequeryAPIRequest) SetSenderParam ¶ added in v1.3.1
func (r *CainiaoglobalsolutionserviceresourcequeryAPIRequest) SetSenderParam(_senderParam *OpenSenderParam) error
SetSenderParam is SenderParam Setter 发件信息
func (*CainiaoglobalsolutionserviceresourcequeryAPIRequest) SetSolutionServiceResParam ¶ added in v1.3.1
func (r *CainiaoglobalsolutionserviceresourcequeryAPIRequest) SetSolutionServiceResParam(_solutionServiceResParam *QuerySolutionServiceResParam) error
SetSolutionServiceResParam is SolutionServiceResParam Setter 查询参数
type CainiaoglobalsolutionserviceresourcequeryAPIResponse ¶ added in v1.3.1
type CainiaoglobalsolutionserviceresourcequeryAPIResponse struct { model.CommonResponse CainiaoglobalsolutionserviceresourcequeryAPIResponseModel }
CainiaoglobalsolutionserviceresourcequeryAPIResponse 查询解决方案服务资源列表 API返回值 cainiao.global.solution.service.resource.query
返回直接解决方案的指定物流服务的可用资源列表
type CainiaoglobalsolutionserviceresourcequeryAPIResponseModel ¶ added in v1.3.1
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