Documentation
¶
Overview ¶
Package waybill 包含电子面单API相关结构体
Index ¶
- type Address
- type AddressArea
- type AddressDto
- type BaseResultDto
- type CainiaocloudprintclientinfoputAPIRequest
- func (r CainiaocloudprintclientinfoputAPIRequest) GetApiMethodName() string
- func (r CainiaocloudprintclientinfoputAPIRequest) GetApiParams(params url.Values)
- func (r CainiaocloudprintclientinfoputAPIRequest) GetJsonData() string
- func (r CainiaocloudprintclientinfoputAPIRequest) GetRawParams() model.Params
- func (r *CainiaocloudprintclientinfoputAPIRequest) SetJsonData(_jsonData string) error
- type CainiaocloudprintclientinfoputAPIResponse
- type CainiaocloudprintclientinfoputAPIResponseModel
- type CainiaocloudprintcustomareaupdateAPIRequest
- func (r CainiaocloudprintcustomareaupdateAPIRequest) GetApiMethodName() string
- func (r CainiaocloudprintcustomareaupdateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaContent() string
- func (r CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaId() int64
- func (r CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaName() string
- func (r CainiaocloudprintcustomareaupdateAPIRequest) GetRawParams() model.Params
- func (r *CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaContent(_customAreaContent string) error
- func (r *CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaId(_customAreaId int64) error
- func (r *CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaName(_customAreaName string) error
- type CainiaocloudprintcustomareaupdateAPIResponse
- type CainiaocloudprintcustomareaupdateAPIResponseModel
- type CainiaocloudprintcustomaresgetAPIRequest
- func (r CainiaocloudprintcustomaresgetAPIRequest) GetApiMethodName() string
- func (r CainiaocloudprintcustomaresgetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaocloudprintcustomaresgetAPIRequest) GetRawParams() model.Params
- func (r CainiaocloudprintcustomaresgetAPIRequest) GetTemplateId() int64
- func (r *CainiaocloudprintcustomaresgetAPIRequest) SetTemplateId(_templateId int64) error
- type CainiaocloudprintcustomaresgetAPIResponse
- type CainiaocloudprintcustomaresgetAPIResponseModel
- type CainiaocloudprintisvresourcesgetAPIRequest
- func (r CainiaocloudprintisvresourcesgetAPIRequest) GetApiMethodName() string
- func (r CainiaocloudprintisvresourcesgetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaocloudprintisvresourcesgetAPIRequest) GetIsvResourceType() string
- func (r CainiaocloudprintisvresourcesgetAPIRequest) GetRawParams() model.Params
- func (r *CainiaocloudprintisvresourcesgetAPIRequest) SetIsvResourceType(_isvResourceType string) error
- type CainiaocloudprintisvresourcesgetAPIResponse
- type CainiaocloudprintisvresourcesgetAPIResponseModel
- type CainiaocloudprintisvtemplatesgetAPIRequest
- type CainiaocloudprintisvtemplatesgetAPIResponse
- type CainiaocloudprintisvtemplatesgetAPIResponseModel
- type CainiaocloudprintmystdtemplatesgetAPIRequest
- type CainiaocloudprintmystdtemplatesgetAPIResponse
- type CainiaocloudprintmystdtemplatesgetAPIResponseModel
- type CainiaocloudprintsinglecustomareagetAPIRequest
- func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetApiMethodName() string
- func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetRawParams() model.Params
- func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetSellerId() int64
- func (r *CainiaocloudprintsinglecustomareagetAPIRequest) SetSellerId(_sellerId int64) error
- type CainiaocloudprintsinglecustomareagetAPIResponse
- type CainiaocloudprintsinglecustomareagetAPIResponseModel
- type CainiaocloudprintstdtemplatesgetAPIRequest
- type CainiaocloudprintstdtemplatesgetAPIResponse
- type CainiaocloudprintstdtemplatesgetAPIResponseModel
- type CainiaocloudprinttemplatesmigrateAPIRequest
- func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetApiMethodName() string
- func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetCustomAreaContent() string
- func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetCustomAreaName() string
- func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetRawParams() model.Params
- func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetTempalteId() int64
- func (r *CainiaocloudprinttemplatesmigrateAPIRequest) SetCustomAreaContent(_customAreaContent string) error
- func (r *CainiaocloudprinttemplatesmigrateAPIRequest) SetCustomAreaName(_customAreaName string) error
- func (r *CainiaocloudprinttemplatesmigrateAPIRequest) SetTempalteId(_tempalteId int64) error
- type CainiaocloudprinttemplatesmigrateAPIResponse
- type CainiaocloudprinttemplatesmigrateAPIResponseModel
- type CainiaosmartdeliverystrategywarehouseideleteAPIRequest
- func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetApiMethodName() string
- func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetApiParams(params url.Values)
- func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetRawParams() model.Params
- func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetWarehouseId() int64
- func (r *CainiaosmartdeliverystrategywarehouseideleteAPIRequest) SetWarehouseId(_warehouseId int64) error
- type CainiaosmartdeliverystrategywarehouseideleteAPIResponse
- type CainiaosmartdeliverystrategywarehouseideleteAPIResponseModel
- type CainiaosmartdeliverystrategywarehouseiupdateAPIRequest
- func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetApiMethodName() string
- func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetDeliveryStrategySetRequest() *DeliveryStrategySetRequest
- func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetRawParams() model.Params
- func (r *CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) SetDeliveryStrategySetRequest(_deliveryStrategySetRequest *DeliveryStrategySetRequest) error
- type CainiaosmartdeliverystrategywarehouseiupdateAPIResponse
- type CainiaosmartdeliverystrategywarehouseiupdateAPIResponseModel
- type CainiaowaybilladdressreachablequeryAPIRequest
- func (r CainiaowaybilladdressreachablequeryAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilladdressreachablequeryAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilladdressreachablequeryAPIRequest) GetClientInfoDto() *ClientInfoDto
- func (r CainiaowaybilladdressreachablequeryAPIRequest) GetRawParams() model.Params
- func (r CainiaowaybilladdressreachablequeryAPIRequest) GetReachableRecommendRequestDto() *ReachableRecommendRequestDto
- func (r *CainiaowaybilladdressreachablequeryAPIRequest) SetClientInfoDto(_clientInfoDto *ClientInfoDto) error
- func (r *CainiaowaybilladdressreachablequeryAPIRequest) SetReachableRecommendRequestDto(_reachableRecommendRequestDto *ReachableRecommendRequestDto) error
- type CainiaowaybilladdressreachablequeryAPIResponse
- type CainiaowaybilladdressreachablequeryAPIResponseModel
- type CainiaowaybilliicancelAPIRequest
- func (r CainiaowaybilliicancelAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliicancelAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliicancelAPIRequest) GetCpCode() string
- func (r CainiaowaybilliicancelAPIRequest) GetRawParams() model.Params
- func (r CainiaowaybilliicancelAPIRequest) GetWaybillCode() string
- func (r *CainiaowaybilliicancelAPIRequest) SetCpCode(_cpCode string) error
- func (r *CainiaowaybilliicancelAPIRequest) SetWaybillCode(_waybillCode string) error
- type CainiaowaybilliicancelAPIResponse
- type CainiaowaybilliicancelAPIResponseModel
- type CainiaowaybilliiconfirmAPIRequest
- func (r CainiaowaybilliiconfirmAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliiconfirmAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliiconfirmAPIRequest) GetParamWaybillOrderConfirmRequest() *WaybillOrderConfirmRequest
- func (r CainiaowaybilliiconfirmAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliiconfirmAPIRequest) SetParamWaybillOrderConfirmRequest(_paramWaybillOrderConfirmRequest *WaybillOrderConfirmRequest) error
- type CainiaowaybilliiconfirmAPIResponse
- type CainiaowaybilliiconfirmAPIResponseModel
- type CainiaowaybilliideliveryAPIRequest
- func (r CainiaowaybilliideliveryAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliideliveryAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliideliveryAPIRequest) GetCpCode() string
- func (r CainiaowaybilliideliveryAPIRequest) GetDeliveryAction() int64
- func (r CainiaowaybilliideliveryAPIRequest) GetRawParams() model.Params
- func (r CainiaowaybilliideliveryAPIRequest) GetWaybillCode() string
- func (r *CainiaowaybilliideliveryAPIRequest) SetCpCode(_cpCode string) error
- func (r *CainiaowaybilliideliveryAPIRequest) SetDeliveryAction(_deliveryAction int64) error
- func (r *CainiaowaybilliideliveryAPIRequest) SetWaybillCode(_waybillCode string) error
- type CainiaowaybilliideliveryAPIResponse
- type CainiaowaybilliideliveryAPIResponseModel
- type CainiaowaybilliigetAPIRequest
- func (r CainiaowaybilliigetAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliigetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliigetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest
- func (r CainiaowaybilliigetAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliigetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest(_paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error
- type CainiaowaybilliigetAPIResponse
- type CainiaowaybilliigetAPIResponseModel
- type CainiaowaybilliilogisticsdetailurlgetAPIRequest
- func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetCpCode() string
- func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetRawParams() model.Params
- func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetWaybillCode() string
- func (r *CainiaowaybilliilogisticsdetailurlgetAPIRequest) SetCpCode(_cpCode string) error
- func (r *CainiaowaybilliilogisticsdetailurlgetAPIRequest) SetWaybillCode(_waybillCode string) error
- type CainiaowaybilliilogisticsdetailurlgetAPIResponse
- type CainiaowaybilliilogisticsdetailurlgetAPIResponseModel
- type CainiaowaybilliiproductAPIRequest
- func (r CainiaowaybilliiproductAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliiproductAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliiproductAPIRequest) GetCpCode() string
- func (r CainiaowaybilliiproductAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliiproductAPIRequest) SetCpCode(_cpCode string) error
- type CainiaowaybilliiproductAPIResponse
- type CainiaowaybilliiproductAPIResponseModel
- type CainiaowaybilliiquerybytradecodeAPIRequest
- func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetParamList() []WaybillDetailQueryByBizSubCodeRequest
- func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliiquerybytradecodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByBizSubCodeRequest) error
- type CainiaowaybilliiquerybytradecodeAPIResponse
- type CainiaowaybilliiquerybytradecodeAPIResponseModel
- type CainiaowaybilliiquerybywaybillcodeAPIRequest
- func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetParamList() []WaybillDetailQueryByWaybillCodeRequest
- func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliiquerybywaybillcodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByWaybillCodeRequest) error
- type CainiaowaybilliiquerybywaybillcodeAPIResponse
- type CainiaowaybilliiquerybywaybillcodeAPIResponseModel
- type CainiaowaybilliisearchAPIRequest
- func (r CainiaowaybilliisearchAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliisearchAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliisearchAPIRequest) GetCpCode() string
- func (r CainiaowaybilliisearchAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliisearchAPIRequest) SetCpCode(_cpCode string) error
- type CainiaowaybilliisearchAPIResponse
- type CainiaowaybilliisearchAPIResponseModel
- type CainiaowaybilliiupdateAPIRequest
- func (r CainiaowaybilliiupdateAPIRequest) GetApiMethodName() string
- func (r CainiaowaybilliiupdateAPIRequest) GetApiParams(params url.Values)
- func (r CainiaowaybilliiupdateAPIRequest) GetParamWaybillCloudPrintUpdateRequest() *WaybillCloudPrintUpdateRequest
- func (r CainiaowaybilliiupdateAPIRequest) GetRawParams() model.Params
- func (r *CainiaowaybilliiupdateAPIRequest) SetParamWaybillCloudPrintUpdateRequest(_paramWaybillCloudPrintUpdateRequest *WaybillCloudPrintUpdateRequest) error
- type CainiaowaybilliiupdateAPIResponse
- type CainiaowaybilliiupdateAPIResponseModel
- type CainiaowaybillprivacysellerordergetAPIRequest
- type CainiaowaybillprivacysellerordergetAPIResponse
- type CainiaowaybillprivacysellerordergetAPIResponseModel
- type CainiaowaybillprivacysellerordergetModule
- type CainiaowaybillprivacysubscriptiongetAPIRequest
- type CainiaowaybillprivacysubscriptiongetAPIResponse
- type CainiaowaybillprivacysubscriptiongetAPIResponseModel
- type CainiaowaybillprivacysubscriptiongetResult
- type ClientInfoDto
- type CloudPrintBaseResult
- type CpInfo
- type CpInfoDto
- type CustomAreaResult
- type CustomAreaSingleResult
- type CustomTemplateResult
- type DeliveryStrategyInfo
- type DeliveryStrategySetRequest
- type ErrorInfo
- type IsvResourceDo
- type Item
- type KeyResult
- type LogisticsService
- type OrderInfoDto
- type PackageInfoDto
- type PackageItem
- type PrintCheckInfo
- type ReachableRecommendRequestDto
- type ReachableRecommendResponseDto
- type RecipientInfoDto
- type ServiceAttributeDto
- type ServiceInfoDto
- type SpecialRouteInfo
- type StandardTemplateDo
- type StandardTemplateResult
- type TaobaowlbwaybillicancelAPIRequest
- func (r TaobaowlbwaybillicancelAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybillicancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybillicancelAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybillicancelAPIRequest) GetWaybillApplyCancelRequest() *WaybillApplyCancelRequest
- func (r *TaobaowlbwaybillicancelAPIRequest) SetWaybillApplyCancelRequest(_waybillApplyCancelRequest *WaybillApplyCancelRequest) error
- type TaobaowlbwaybillicancelAPIResponse
- type TaobaowlbwaybillicancelAPIResponseModel
- type TaobaowlbwaybillifullupdateAPIRequest
- func (r TaobaowlbwaybillifullupdateAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybillifullupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybillifullupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybillifullupdateAPIRequest) GetWaybillApplyFullUpdateRequest() *WaybillApplyFullUpdateRequest
- func (r *TaobaowlbwaybillifullupdateAPIRequest) SetWaybillApplyFullUpdateRequest(_waybillApplyFullUpdateRequest *WaybillApplyFullUpdateRequest) error
- type TaobaowlbwaybillifullupdateAPIResponse
- type TaobaowlbwaybillifullupdateAPIResponseModel
- type TaobaowlbwaybilligetAPIRequest
- func (r TaobaowlbwaybilligetAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybilligetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybilligetAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybilligetAPIRequest) GetWaybillApplyNewRequest() *WaybillApplyNewRequest
- func (r *TaobaowlbwaybilligetAPIRequest) SetWaybillApplyNewRequest(_waybillApplyNewRequest *WaybillApplyNewRequest) error
- type TaobaowlbwaybilligetAPIResponse
- type TaobaowlbwaybilligetAPIResponseModel
- type TaobaowlbwaybilliprintAPIRequest
- func (r TaobaowlbwaybilliprintAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybilliprintAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybilliprintAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybilliprintAPIRequest) GetWaybillApplyPrintCheckRequest() *WaybillApplyPrintCheckRequest
- func (r *TaobaowlbwaybilliprintAPIRequest) SetWaybillApplyPrintCheckRequest(_waybillApplyPrintCheckRequest *WaybillApplyPrintCheckRequest) error
- type TaobaowlbwaybilliprintAPIResponse
- type TaobaowlbwaybilliprintAPIResponseModel
- type TaobaowlbwaybilliproductAPIRequest
- func (r TaobaowlbwaybilliproductAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybilliproductAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybilliproductAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybilliproductAPIRequest) GetWaybillProductTypeRequest() *WaybillProductTypeRequest
- func (r *TaobaowlbwaybilliproductAPIRequest) SetWaybillProductTypeRequest(_waybillProductTypeRequest *WaybillProductTypeRequest) error
- type TaobaowlbwaybilliproductAPIResponse
- type TaobaowlbwaybilliproductAPIResponseModel
- type TaobaowlbwaybilliquerydetailAPIRequest
- func (r TaobaowlbwaybilliquerydetailAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybilliquerydetailAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybilliquerydetailAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybilliquerydetailAPIRequest) GetWaybillDetailQueryRequest() *WaybillDetailQueryRequest
- func (r *TaobaowlbwaybilliquerydetailAPIRequest) SetWaybillDetailQueryRequest(_waybillDetailQueryRequest *WaybillDetailQueryRequest) error
- type TaobaowlbwaybilliquerydetailAPIResponse
- type TaobaowlbwaybilliquerydetailAPIResponseModel
- type TaobaowlbwaybillisearchAPIRequest
- func (r TaobaowlbwaybillisearchAPIRequest) GetApiMethodName() string
- func (r TaobaowlbwaybillisearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaowlbwaybillisearchAPIRequest) GetRawParams() model.Params
- func (r TaobaowlbwaybillisearchAPIRequest) GetWaybillApplyRequest() *WaybillApplyRequest
- func (r *TaobaowlbwaybillisearchAPIRequest) SetWaybillApplyRequest(_waybillApplyRequest *WaybillApplyRequest) error
- type TaobaowlbwaybillisearchAPIResponse
- type TaobaowlbwaybillisearchAPIResponseModel
- type TradeOrderInfo
- type TradeOrderInfoDto
- type UserInfoDto
- type UserTemplateDo
- type UserTemplateResult
- type WarehouseDto
- type WaybillAddress
- type WaybillApplyCancelRequest
- type WaybillApplyFullUpdateRequest
- type WaybillApplyNewInfo
- type WaybillApplyNewRequest
- type WaybillApplyPrintCheckInfo
- type WaybillApplyPrintCheckRequest
- type WaybillApplyRequest
- type WaybillApplySubscriptionInfo
- type WaybillApplyUpdateInfo
- type WaybillBranchAccount
- type WaybillCloudPrintApplyNewRequest
- type WaybillCloudPrintResponse
- type WaybillCloudPrintUpdateRequest
- type WaybillCloudPrintWithResultDescResponse
- type WaybillDetailQueryByBizSubCodeRequest
- type WaybillDetailQueryByWaybillCodeRequest
- type WaybillDetailQueryInfo
- type WaybillDetailQueryRequest
- type WaybillOrderConfirmRequest
- type WaybillOrderConfirmResponse
- type WaybillOrderConfirmWaybillInfo
- type WaybillProductType
- type WaybillProductTypeRequest
- type WaybillServiceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // 市 City string `json:"city,omitempty" xml:"city,omitempty"` // 详细地址 Detail string `json:"detail,omitempty" xml:"detail,omitempty"` // 区 District string `json:"district,omitempty" xml:"district,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 街道 Town string `json:"town,omitempty" xml:"town,omitempty"` }
Address 结构体
type AddressArea ¶
type AddressArea struct { // 市 City string `json:"city,omitempty" xml:"city,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` }
AddressArea 结构体
type AddressDto ¶
type AddressDto struct { // 镇/街道 TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"` // 详细地址 AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"` // 市 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 区 AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"` // 省 ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"` // 城市,长度小于20 City string `json:"city,omitempty" xml:"city,omitempty"` // 详细地址,长度小于256 Detail string `json:"detail,omitempty" xml:"detail,omitempty"` // 区,长度小于20 District string `json:"district,omitempty" xml:"district,omitempty"` // 省,长度小于20 Province string `json:"province,omitempty" xml:"province,omitempty"` // 街道,长度小于30 Town string `json:"town,omitempty" xml:"town,omitempty"` // 订购关系id WaybillAddressId string `json:"waybill_address_id,omitempty" xml:"waybill_address_id,omitempty"` }
AddressDto 结构体
type BaseResultDto ¶ added in v1.2.5
type BaseResultDto struct { // 异常信息 ErrorInfoList []ErrorInfo `json:"error_info_list,omitempty" xml:"error_info_list>error_info,omitempty"` // 地址可达结果 Module *ReachableRecommendResponseDto `json:"module,omitempty" xml:"module,omitempty"` // 请求是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
BaseResultDto 结构体
type CainiaocloudprintclientinfoputAPIRequest ¶ added in v1.3.1
type CainiaocloudprintclientinfoputAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaocloudprintclientinfoputAPIRequest 云打印客户端监控信息收集 API请求 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
func NewCainiaocloudprintclientinfoputRequest ¶ added in v1.3.1
func NewCainiaocloudprintclientinfoputRequest() *CainiaocloudprintclientinfoputAPIRequest
NewCainiaocloudprintclientinfoputRequest 初始化CainiaocloudprintclientinfoputAPIRequest对象
func (CainiaocloudprintclientinfoputAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintclientinfoputAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintclientinfoputAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintclientinfoputAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintclientinfoputAPIRequest) GetJsonData ¶ added in v1.3.1
func (r CainiaocloudprintclientinfoputAPIRequest) GetJsonData() string
GetJsonData JsonData Getter
func (CainiaocloudprintclientinfoputAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintclientinfoputAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaocloudprintclientinfoputAPIRequest) SetJsonData ¶ added in v1.3.1
func (r *CainiaocloudprintclientinfoputAPIRequest) SetJsonData(_jsonData string) error
SetJsonData is JsonData Setter 客户端上传json数据
type CainiaocloudprintclientinfoputAPIResponse ¶ added in v1.3.1
type CainiaocloudprintclientinfoputAPIResponse struct { model.CommonResponse CainiaocloudprintclientinfoputAPIResponseModel }
CainiaocloudprintclientinfoputAPIResponse 云打印客户端监控信息收集 API返回值 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
type CainiaocloudprintclientinfoputAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintclientinfoputAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_clientinfo_put_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintclientinfoputAPIResponseModel is 云打印客户端监控信息收集 成功返回结果
type CainiaocloudprintcustomareaupdateAPIRequest ¶ added in v1.3.1
type CainiaocloudprintcustomareaupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaocloudprintcustomareaupdateAPIRequest 自定义区内容更新 API请求 cainiao.cloudprint.customarea.update
自定义区内容更新
func NewCainiaocloudprintcustomareaupdateRequest ¶ added in v1.3.1
func NewCainiaocloudprintcustomareaupdateRequest() *CainiaocloudprintcustomareaupdateAPIRequest
NewCainiaocloudprintcustomareaupdateRequest 初始化CainiaocloudprintcustomareaupdateAPIRequest对象
func (CainiaocloudprintcustomareaupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintcustomareaupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintcustomareaupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintcustomareaupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaContent ¶ added in v1.3.1
func (r CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaContent() string
GetCustomAreaContent CustomAreaContent Getter
func (CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaId ¶ added in v1.3.1
func (r CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaId() int64
GetCustomAreaId CustomAreaId Getter
func (CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaName ¶ added in v1.3.1
func (r CainiaocloudprintcustomareaupdateAPIRequest) GetCustomAreaName() string
GetCustomAreaName CustomAreaName Getter
func (CainiaocloudprintcustomareaupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintcustomareaupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaContent ¶ added in v1.3.1
func (r *CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaContent(_customAreaContent string) error
SetCustomAreaContent is CustomAreaContent Setter 自定义区内容(可修改)
func (*CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaId ¶ added in v1.3.1
func (r *CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaId(_customAreaId int64) error
SetCustomAreaId is CustomAreaId Setter 自定义区id(不可修改)
func (*CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaName ¶ added in v1.3.1
func (r *CainiaocloudprintcustomareaupdateAPIRequest) SetCustomAreaName(_customAreaName string) error
SetCustomAreaName is CustomAreaName Setter 自定义区名称(可修改)
type CainiaocloudprintcustomareaupdateAPIResponse ¶ added in v1.3.1
type CainiaocloudprintcustomareaupdateAPIResponse struct { model.CommonResponse CainiaocloudprintcustomareaupdateAPIResponseModel }
CainiaocloudprintcustomareaupdateAPIResponse 自定义区内容更新 API返回值 cainiao.cloudprint.customarea.update
自定义区内容更新
type CainiaocloudprintcustomareaupdateAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintcustomareaupdateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_customarea_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintcustomareaupdateAPIResponseModel is 自定义区内容更新 成功返回结果
type CainiaocloudprintcustomaresgetAPIRequest ¶ added in v1.3.1
type CainiaocloudprintcustomaresgetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaocloudprintcustomaresgetAPIRequest 获取商家的自定义区模板信息 API请求 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
func NewCainiaocloudprintcustomaresgetRequest ¶ added in v1.3.1
func NewCainiaocloudprintcustomaresgetRequest() *CainiaocloudprintcustomaresgetAPIRequest
NewCainiaocloudprintcustomaresgetRequest 初始化CainiaocloudprintcustomaresgetAPIRequest对象
func (CainiaocloudprintcustomaresgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintcustomaresgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintcustomaresgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintcustomaresgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintcustomaresgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintcustomaresgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaocloudprintcustomaresgetAPIRequest) GetTemplateId ¶ added in v1.3.1
func (r CainiaocloudprintcustomaresgetAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (*CainiaocloudprintcustomaresgetAPIRequest) SetTemplateId ¶ added in v1.3.1
func (r *CainiaocloudprintcustomaresgetAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 用户使用的标准模板id
type CainiaocloudprintcustomaresgetAPIResponse ¶ added in v1.3.1
type CainiaocloudprintcustomaresgetAPIResponse struct { model.CommonResponse CainiaocloudprintcustomaresgetAPIResponseModel }
CainiaocloudprintcustomaresgetAPIResponse 获取商家的自定义区模板信息 API返回值 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
type CainiaocloudprintcustomaresgetAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintcustomaresgetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_customares_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintcustomaresgetAPIResponseModel is 获取商家的自定义区模板信息 成功返回结果
type CainiaocloudprintisvresourcesgetAPIRequest ¶ added in v1.3.1
type CainiaocloudprintisvresourcesgetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaocloudprintisvresourcesgetAPIRequest isv资源查询 API请求 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
func NewCainiaocloudprintisvresourcesgetRequest ¶ added in v1.3.1
func NewCainiaocloudprintisvresourcesgetRequest() *CainiaocloudprintisvresourcesgetAPIRequest
NewCainiaocloudprintisvresourcesgetRequest 初始化CainiaocloudprintisvresourcesgetAPIRequest对象
func (CainiaocloudprintisvresourcesgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintisvresourcesgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintisvresourcesgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintisvresourcesgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintisvresourcesgetAPIRequest) GetIsvResourceType ¶ added in v1.3.1
func (r CainiaocloudprintisvresourcesgetAPIRequest) GetIsvResourceType() string
GetIsvResourceType IsvResourceType Getter
func (CainiaocloudprintisvresourcesgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintisvresourcesgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaocloudprintisvresourcesgetAPIRequest) SetIsvResourceType ¶ added in v1.3.1
func (r *CainiaocloudprintisvresourcesgetAPIRequest) SetIsvResourceType(_isvResourceType string) error
SetIsvResourceType is IsvResourceType Setter isv资源类型,分为:TEMPLATE(表示模板),PRINT_ITEM(打印项),CUSTOM_AREA(预设自定义区)
type CainiaocloudprintisvresourcesgetAPIResponse ¶ added in v1.3.1
type CainiaocloudprintisvresourcesgetAPIResponse struct { model.CommonResponse CainiaocloudprintisvresourcesgetAPIResponseModel }
CainiaocloudprintisvresourcesgetAPIResponse isv资源查询 API返回值 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
type CainiaocloudprintisvresourcesgetAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintisvresourcesgetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_isv_resources_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintisvresourcesgetAPIResponseModel is isv资源查询 成功返回结果
type CainiaocloudprintisvtemplatesgetAPIRequest ¶ added in v1.3.1
CainiaocloudprintisvtemplatesgetAPIRequest 获取商家使用的标准模板 API请求 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
func NewCainiaocloudprintisvtemplatesgetRequest ¶ added in v1.3.1
func NewCainiaocloudprintisvtemplatesgetRequest() *CainiaocloudprintisvtemplatesgetAPIRequest
NewCainiaocloudprintisvtemplatesgetRequest 初始化CainiaocloudprintisvtemplatesgetAPIRequest对象
func (CainiaocloudprintisvtemplatesgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintisvtemplatesgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintisvtemplatesgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintisvtemplatesgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintisvtemplatesgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintisvtemplatesgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaocloudprintisvtemplatesgetAPIResponse ¶ added in v1.3.1
type CainiaocloudprintisvtemplatesgetAPIResponse struct { model.CommonResponse CainiaocloudprintisvtemplatesgetAPIResponseModel }
CainiaocloudprintisvtemplatesgetAPIResponse 获取商家使用的标准模板 API返回值 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
type CainiaocloudprintisvtemplatesgetAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintisvtemplatesgetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_isvtemplates_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintisvtemplatesgetAPIResponseModel is 获取商家使用的标准模板 成功返回结果
type CainiaocloudprintmystdtemplatesgetAPIRequest ¶ added in v1.3.1
CainiaocloudprintmystdtemplatesgetAPIRequest 获取用户使用的菜鸟电子面单模板信息 API请求 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
func NewCainiaocloudprintmystdtemplatesgetRequest ¶ added in v1.3.1
func NewCainiaocloudprintmystdtemplatesgetRequest() *CainiaocloudprintmystdtemplatesgetAPIRequest
NewCainiaocloudprintmystdtemplatesgetRequest 初始化CainiaocloudprintmystdtemplatesgetAPIRequest对象
func (CainiaocloudprintmystdtemplatesgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintmystdtemplatesgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintmystdtemplatesgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintmystdtemplatesgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintmystdtemplatesgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintmystdtemplatesgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaocloudprintmystdtemplatesgetAPIResponse ¶ added in v1.3.1
type CainiaocloudprintmystdtemplatesgetAPIResponse struct { model.CommonResponse CainiaocloudprintmystdtemplatesgetAPIResponseModel }
CainiaocloudprintmystdtemplatesgetAPIResponse 获取用户使用的菜鸟电子面单模板信息 API返回值 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
type CainiaocloudprintmystdtemplatesgetAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintmystdtemplatesgetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_mystdtemplates_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintmystdtemplatesgetAPIResponseModel is 获取用户使用的菜鸟电子面单模板信息 成功返回结果
type CainiaocloudprintsinglecustomareagetAPIRequest ¶ added in v1.3.1
type CainiaocloudprintsinglecustomareagetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaocloudprintsinglecustomareagetAPIRequest 获取商家单一自定义区 API请求 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
func NewCainiaocloudprintsinglecustomareagetRequest ¶ added in v1.3.1
func NewCainiaocloudprintsinglecustomareagetRequest() *CainiaocloudprintsinglecustomareagetAPIRequest
NewCainiaocloudprintsinglecustomareagetRequest 初始化CainiaocloudprintsinglecustomareagetAPIRequest对象
func (CainiaocloudprintsinglecustomareagetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintsinglecustomareagetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintsinglecustomareagetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaocloudprintsinglecustomareagetAPIRequest) GetSellerId ¶ added in v1.3.1
func (r CainiaocloudprintsinglecustomareagetAPIRequest) GetSellerId() int64
GetSellerId SellerId Getter
func (*CainiaocloudprintsinglecustomareagetAPIRequest) SetSellerId ¶ added in v1.3.1
func (r *CainiaocloudprintsinglecustomareagetAPIRequest) SetSellerId(_sellerId int64) error
SetSellerId is SellerId Setter 这是商家用户id
type CainiaocloudprintsinglecustomareagetAPIResponse ¶ added in v1.3.1
type CainiaocloudprintsinglecustomareagetAPIResponse struct { model.CommonResponse CainiaocloudprintsinglecustomareagetAPIResponseModel }
CainiaocloudprintsinglecustomareagetAPIResponse 获取商家单一自定义区 API返回值 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
type CainiaocloudprintsinglecustomareagetAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintsinglecustomareagetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_single_customarea_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintsinglecustomareagetAPIResponseModel is 获取商家单一自定义区 成功返回结果
type CainiaocloudprintstdtemplatesgetAPIRequest ¶ added in v1.3.1
CainiaocloudprintstdtemplatesgetAPIRequest 获取所有的菜鸟标准电子面单模板 API请求 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
func NewCainiaocloudprintstdtemplatesgetRequest ¶ added in v1.3.1
func NewCainiaocloudprintstdtemplatesgetRequest() *CainiaocloudprintstdtemplatesgetAPIRequest
NewCainiaocloudprintstdtemplatesgetRequest 初始化CainiaocloudprintstdtemplatesgetAPIRequest对象
func (CainiaocloudprintstdtemplatesgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprintstdtemplatesgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprintstdtemplatesgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprintstdtemplatesgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprintstdtemplatesgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprintstdtemplatesgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaocloudprintstdtemplatesgetAPIResponse ¶ added in v1.3.1
type CainiaocloudprintstdtemplatesgetAPIResponse struct { model.CommonResponse CainiaocloudprintstdtemplatesgetAPIResponseModel }
CainiaocloudprintstdtemplatesgetAPIResponse 获取所有的菜鸟标准电子面单模板 API返回值 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
type CainiaocloudprintstdtemplatesgetAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprintstdtemplatesgetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_stdtemplates_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果集 Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprintstdtemplatesgetAPIResponseModel is 获取所有的菜鸟标准电子面单模板 成功返回结果
type CainiaocloudprinttemplatesmigrateAPIRequest ¶ added in v1.3.1
type CainiaocloudprinttemplatesmigrateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaocloudprinttemplatesmigrateAPIRequest 云打印模板迁移接口 API请求 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
func NewCainiaocloudprinttemplatesmigrateRequest ¶ added in v1.3.1
func NewCainiaocloudprinttemplatesmigrateRequest() *CainiaocloudprinttemplatesmigrateAPIRequest
NewCainiaocloudprinttemplatesmigrateRequest 初始化CainiaocloudprinttemplatesmigrateAPIRequest对象
func (CainiaocloudprinttemplatesmigrateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaocloudprinttemplatesmigrateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaocloudprinttemplatesmigrateAPIRequest) GetCustomAreaContent ¶ added in v1.3.1
func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetCustomAreaContent() string
GetCustomAreaContent CustomAreaContent Getter
func (CainiaocloudprinttemplatesmigrateAPIRequest) GetCustomAreaName ¶ added in v1.3.1
func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetCustomAreaName() string
GetCustomAreaName CustomAreaName Getter
func (CainiaocloudprinttemplatesmigrateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaocloudprinttemplatesmigrateAPIRequest) GetTempalteId ¶ added in v1.3.1
func (r CainiaocloudprinttemplatesmigrateAPIRequest) GetTempalteId() int64
GetTempalteId TempalteId Getter
func (*CainiaocloudprinttemplatesmigrateAPIRequest) SetCustomAreaContent ¶ added in v1.3.1
func (r *CainiaocloudprinttemplatesmigrateAPIRequest) SetCustomAreaContent(_customAreaContent string) error
SetCustomAreaContent is CustomAreaContent Setter 自定义区内容
func (*CainiaocloudprinttemplatesmigrateAPIRequest) SetCustomAreaName ¶ added in v1.3.1
func (r *CainiaocloudprinttemplatesmigrateAPIRequest) SetCustomAreaName(_customAreaName string) error
SetCustomAreaName is CustomAreaName Setter 自定义区名称
func (*CainiaocloudprinttemplatesmigrateAPIRequest) SetTempalteId ¶ added in v1.3.1
func (r *CainiaocloudprinttemplatesmigrateAPIRequest) SetTempalteId(_tempalteId int64) error
SetTempalteId is TempalteId Setter 标准电子面单模板的id
type CainiaocloudprinttemplatesmigrateAPIResponse ¶ added in v1.3.1
type CainiaocloudprinttemplatesmigrateAPIResponse struct { model.CommonResponse CainiaocloudprinttemplatesmigrateAPIResponseModel }
CainiaocloudprinttemplatesmigrateAPIResponse 云打印模板迁移接口 API返回值 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
type CainiaocloudprinttemplatesmigrateAPIResponseModel ¶ added in v1.3.1
type CainiaocloudprinttemplatesmigrateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_templates_migrate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaocloudprinttemplatesmigrateAPIResponseModel is 云打印模板迁移接口 成功返回结果
type CainiaosmartdeliverystrategywarehouseideleteAPIRequest ¶ added in v1.3.1
type CainiaosmartdeliverystrategywarehouseideleteAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaosmartdeliverystrategywarehouseideleteAPIRequest 删除智能发货引擎仓策略 API请求 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
func NewCainiaosmartdeliverystrategywarehouseideleteRequest ¶ added in v1.3.1
func NewCainiaosmartdeliverystrategywarehouseideleteRequest() *CainiaosmartdeliverystrategywarehouseideleteAPIRequest
NewCainiaosmartdeliverystrategywarehouseideleteRequest 初始化CainiaosmartdeliverystrategywarehouseideleteAPIRequest对象
func (CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetWarehouseId ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseideleteAPIRequest) GetWarehouseId() int64
GetWarehouseId WarehouseId Getter
func (*CainiaosmartdeliverystrategywarehouseideleteAPIRequest) SetWarehouseId ¶ added in v1.3.1
func (r *CainiaosmartdeliverystrategywarehouseideleteAPIRequest) SetWarehouseId(_warehouseId int64) error
SetWarehouseId is WarehouseId Setter 仓id
type CainiaosmartdeliverystrategywarehouseideleteAPIResponse ¶ added in v1.3.1
type CainiaosmartdeliverystrategywarehouseideleteAPIResponse struct { model.CommonResponse CainiaosmartdeliverystrategywarehouseideleteAPIResponseModel }
CainiaosmartdeliverystrategywarehouseideleteAPIResponse 删除智能发货引擎仓策略 API返回值 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
type CainiaosmartdeliverystrategywarehouseideleteAPIResponseModel ¶ added in v1.3.1
type CainiaosmartdeliverystrategywarehouseideleteAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_smartdelivery_strategy_warehouse_i_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data IsDeleteSuccess bool `json:"is_delete_success,omitempty" xml:"is_delete_success,omitempty"` }
CainiaosmartdeliverystrategywarehouseideleteAPIResponseModel is 删除智能发货引擎仓策略 成功返回结果
type CainiaosmartdeliverystrategywarehouseiupdateAPIRequest ¶ added in v1.3.1
type CainiaosmartdeliverystrategywarehouseiupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaosmartdeliverystrategywarehouseiupdateAPIRequest 智能发货引擎策略仓设置 API请求 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
func NewCainiaosmartdeliverystrategywarehouseiupdateRequest ¶ added in v1.3.1
func NewCainiaosmartdeliverystrategywarehouseiupdateRequest() *CainiaosmartdeliverystrategywarehouseiupdateAPIRequest
NewCainiaosmartdeliverystrategywarehouseiupdateRequest 初始化CainiaosmartdeliverystrategywarehouseiupdateAPIRequest对象
func (CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetDeliveryStrategySetRequest ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetDeliveryStrategySetRequest() *DeliveryStrategySetRequest
GetDeliveryStrategySetRequest DeliveryStrategySetRequest Getter
func (CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) SetDeliveryStrategySetRequest ¶ added in v1.3.1
func (r *CainiaosmartdeliverystrategywarehouseiupdateAPIRequest) SetDeliveryStrategySetRequest(_deliveryStrategySetRequest *DeliveryStrategySetRequest) error
SetDeliveryStrategySetRequest is DeliveryStrategySetRequest Setter 智能发货设置请求参数
type CainiaosmartdeliverystrategywarehouseiupdateAPIResponse ¶ added in v1.3.1
type CainiaosmartdeliverystrategywarehouseiupdateAPIResponse struct { model.CommonResponse CainiaosmartdeliverystrategywarehouseiupdateAPIResponseModel }
CainiaosmartdeliverystrategywarehouseiupdateAPIResponse 智能发货引擎策略仓设置 API返回值 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
type CainiaosmartdeliverystrategywarehouseiupdateAPIResponseModel ¶ added in v1.3.1
type CainiaosmartdeliverystrategywarehouseiupdateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_smartdelivery_strategy_warehouse_i_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 仓信息 WarehouseInfo *WarehouseDto `json:"warehouse_info,omitempty" xml:"warehouse_info,omitempty"` }
CainiaosmartdeliverystrategywarehouseiupdateAPIResponseModel is 智能发货引擎策略仓设置 成功返回结果
type CainiaowaybilladdressreachablequeryAPIRequest ¶ added in v1.3.1
type CainiaowaybilladdressreachablequeryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilladdressreachablequeryAPIRequest 地址可达查询 API请求 cainiao.waybill.address.reachable.query
地址可达查询
func NewCainiaowaybilladdressreachablequeryRequest ¶ added in v1.3.1
func NewCainiaowaybilladdressreachablequeryRequest() *CainiaowaybilladdressreachablequeryAPIRequest
NewCainiaowaybilladdressreachablequeryRequest 初始化CainiaowaybilladdressreachablequeryAPIRequest对象
func (CainiaowaybilladdressreachablequeryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilladdressreachablequeryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilladdressreachablequeryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilladdressreachablequeryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilladdressreachablequeryAPIRequest) GetClientInfoDto ¶ added in v1.3.1
func (r CainiaowaybilladdressreachablequeryAPIRequest) GetClientInfoDto() *ClientInfoDto
GetClientInfoDto ClientInfoDto Getter
func (CainiaowaybilladdressreachablequeryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilladdressreachablequeryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaowaybilladdressreachablequeryAPIRequest) GetReachableRecommendRequestDto ¶ added in v1.3.1
func (r CainiaowaybilladdressreachablequeryAPIRequest) GetReachableRecommendRequestDto() *ReachableRecommendRequestDto
GetReachableRecommendRequestDto ReachableRecommendRequestDto Getter
func (*CainiaowaybilladdressreachablequeryAPIRequest) SetClientInfoDto ¶ added in v1.3.1
func (r *CainiaowaybilladdressreachablequeryAPIRequest) SetClientInfoDto(_clientInfoDto *ClientInfoDto) error
SetClientInfoDto is ClientInfoDto Setter 调用方对象
func (*CainiaowaybilladdressreachablequeryAPIRequest) SetReachableRecommendRequestDto ¶ added in v1.3.1
func (r *CainiaowaybilladdressreachablequeryAPIRequest) SetReachableRecommendRequestDto(_reachableRecommendRequestDto *ReachableRecommendRequestDto) error
SetReachableRecommendRequestDto is ReachableRecommendRequestDto Setter 入参
type CainiaowaybilladdressreachablequeryAPIResponse ¶ added in v1.3.1
type CainiaowaybilladdressreachablequeryAPIResponse struct { model.CommonResponse CainiaowaybilladdressreachablequeryAPIResponseModel }
CainiaowaybilladdressreachablequeryAPIResponse 地址可达查询 API返回值 cainiao.waybill.address.reachable.query
地址可达查询
type CainiaowaybilladdressreachablequeryAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilladdressreachablequeryAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_address_reachable_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"` }
CainiaowaybilladdressreachablequeryAPIResponseModel is 地址可达查询 成功返回结果
type CainiaowaybilliicancelAPIRequest ¶ added in v1.3.1
type CainiaowaybilliicancelAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliicancelAPIRequest 商家取消获取的电子面单号 API请求 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func NewCainiaowaybilliicancelRequest ¶ added in v1.3.1
func NewCainiaowaybilliicancelRequest() *CainiaowaybilliicancelAPIRequest
NewCainiaowaybilliicancelRequest 初始化CainiaowaybilliicancelAPIRequest对象
func (CainiaowaybilliicancelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliicancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliicancelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliicancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliicancelAPIRequest) GetCpCode ¶ added in v1.3.1
func (r CainiaowaybilliicancelAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaowaybilliicancelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliicancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaowaybilliicancelAPIRequest) GetWaybillCode ¶ added in v1.3.1
func (r CainiaowaybilliicancelAPIRequest) GetWaybillCode() string
GetWaybillCode WaybillCode Getter
func (*CainiaowaybilliicancelAPIRequest) SetCpCode ¶ added in v1.3.1
func (r *CainiaowaybilliicancelAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 快递公司code
func (*CainiaowaybilliicancelAPIRequest) SetWaybillCode ¶ added in v1.3.1
func (r *CainiaowaybilliicancelAPIRequest) SetWaybillCode(_waybillCode string) error
SetWaybillCode is WaybillCode Setter 电子面单号
type CainiaowaybilliicancelAPIResponse ¶ added in v1.3.1
type CainiaowaybilliicancelAPIResponse struct { model.CommonResponse CainiaowaybilliicancelAPIResponseModel }
CainiaowaybilliicancelAPIResponse 商家取消获取的电子面单号 API返回值 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
type CainiaowaybilliicancelAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliicancelAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 调用取消是否成功 CancelResult bool `json:"cancel_result,omitempty" xml:"cancel_result,omitempty"` }
CainiaowaybilliicancelAPIResponseModel is 商家取消获取的电子面单号 成功返回结果
type CainiaowaybilliiconfirmAPIRequest ¶ added in v1.3.1
type CainiaowaybilliiconfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliiconfirmAPIRequest 物流订单确认接口 API请求 cainiao.waybill.ii.confirm
物流订单确认
func NewCainiaowaybilliiconfirmRequest ¶ added in v1.3.1
func NewCainiaowaybilliiconfirmRequest() *CainiaowaybilliiconfirmAPIRequest
NewCainiaowaybilliiconfirmRequest 初始化CainiaowaybilliiconfirmAPIRequest对象
func (CainiaowaybilliiconfirmAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliiconfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliiconfirmAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliiconfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliiconfirmAPIRequest) GetParamWaybillOrderConfirmRequest ¶ added in v1.3.1
func (r CainiaowaybilliiconfirmAPIRequest) GetParamWaybillOrderConfirmRequest() *WaybillOrderConfirmRequest
GetParamWaybillOrderConfirmRequest ParamWaybillOrderConfirmRequest Getter
func (CainiaowaybilliiconfirmAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliiconfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliiconfirmAPIRequest) SetParamWaybillOrderConfirmRequest ¶ added in v1.3.1
func (r *CainiaowaybilliiconfirmAPIRequest) SetParamWaybillOrderConfirmRequest(_paramWaybillOrderConfirmRequest *WaybillOrderConfirmRequest) error
SetParamWaybillOrderConfirmRequest is ParamWaybillOrderConfirmRequest Setter 订单确认信息
type CainiaowaybilliiconfirmAPIResponse ¶ added in v1.3.1
type CainiaowaybilliiconfirmAPIResponse struct { model.CommonResponse CainiaowaybilliiconfirmAPIResponseModel }
CainiaowaybilliiconfirmAPIResponse 物流订单确认接口 API返回值 cainiao.waybill.ii.confirm
物流订单确认
type CainiaowaybilliiconfirmAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliiconfirmAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 确认结果 ConfirmResponse []WaybillOrderConfirmResponse `json:"confirm_response,omitempty" xml:"confirm_response>waybill_order_confirm_response,omitempty"` }
CainiaowaybilliiconfirmAPIResponseModel is 物流订单确认接口 成功返回结果
type CainiaowaybilliideliveryAPIRequest ¶ added in v1.3.1
type CainiaowaybilliideliveryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliideliveryAPIRequest 派件通知接口 API请求 cainiao.waybill.ii.delivery
极效前置场景下的使用此接口,通知进行派件
func NewCainiaowaybilliideliveryRequest ¶ added in v1.3.1
func NewCainiaowaybilliideliveryRequest() *CainiaowaybilliideliveryAPIRequest
NewCainiaowaybilliideliveryRequest 初始化CainiaowaybilliideliveryAPIRequest对象
func (CainiaowaybilliideliveryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliideliveryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliideliveryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliideliveryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliideliveryAPIRequest) GetCpCode ¶ added in v1.3.1
func (r CainiaowaybilliideliveryAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaowaybilliideliveryAPIRequest) GetDeliveryAction ¶ added in v1.3.1
func (r CainiaowaybilliideliveryAPIRequest) GetDeliveryAction() int64
GetDeliveryAction DeliveryAction Getter
func (CainiaowaybilliideliveryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliideliveryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaowaybilliideliveryAPIRequest) GetWaybillCode ¶ added in v1.3.1
func (r CainiaowaybilliideliveryAPIRequest) GetWaybillCode() string
GetWaybillCode WaybillCode Getter
func (*CainiaowaybilliideliveryAPIRequest) SetCpCode ¶ added in v1.3.1
func (r *CainiaowaybilliideliveryAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 物流供应商编码
func (*CainiaowaybilliideliveryAPIRequest) SetDeliveryAction ¶ added in v1.3.1
func (r *CainiaowaybilliideliveryAPIRequest) SetDeliveryAction(_deliveryAction int64) error
SetDeliveryAction is DeliveryAction Setter 派送类型,1:通知派送; -1: 通知退回
func (*CainiaowaybilliideliveryAPIRequest) SetWaybillCode ¶ added in v1.3.1
func (r *CainiaowaybilliideliveryAPIRequest) SetWaybillCode(_waybillCode string) error
SetWaybillCode is WaybillCode Setter 面单号
type CainiaowaybilliideliveryAPIResponse ¶ added in v1.3.1
type CainiaowaybilliideliveryAPIResponse struct { model.CommonResponse CainiaowaybilliideliveryAPIResponseModel }
CainiaowaybilliideliveryAPIResponse 派件通知接口 API返回值 cainiao.waybill.ii.delivery
极效前置场景下的使用此接口,通知进行派件
type CainiaowaybilliideliveryAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliideliveryAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_delivery_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 确认结果 ConfirmResponse *WaybillOrderConfirmResponse `json:"confirm_response,omitempty" xml:"confirm_response,omitempty"` }
CainiaowaybilliideliveryAPIResponseModel is 派件通知接口 成功返回结果
type CainiaowaybilliigetAPIRequest ¶ added in v1.3.1
type CainiaowaybilliigetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliigetAPIRequest 电子面单云打印接口 API请求 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
func NewCainiaowaybilliigetRequest ¶ added in v1.3.1
func NewCainiaowaybilliigetRequest() *CainiaowaybilliigetAPIRequest
NewCainiaowaybilliigetRequest 初始化CainiaowaybilliigetAPIRequest对象
func (CainiaowaybilliigetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliigetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliigetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliigetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliigetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest ¶ added in v1.3.1
func (r CainiaowaybilliigetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest
GetParamWaybillCloudPrintApplyNewRequest ParamWaybillCloudPrintApplyNewRequest Getter
func (CainiaowaybilliigetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliigetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliigetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest ¶ added in v1.3.1
func (r *CainiaowaybilliigetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest(_paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error
SetParamWaybillCloudPrintApplyNewRequest is ParamWaybillCloudPrintApplyNewRequest Setter 入参信息
type CainiaowaybilliigetAPIResponse ¶ added in v1.3.1
type CainiaowaybilliigetAPIResponse struct { model.CommonResponse CainiaowaybilliigetAPIResponseModel }
CainiaowaybilliigetAPIResponse 电子面单云打印接口 API返回值 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
type CainiaowaybilliigetAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliigetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 Modules []WaybillCloudPrintResponse `json:"modules,omitempty" xml:"modules>waybill_cloud_print_response,omitempty"` }
CainiaowaybilliigetAPIResponseModel is 电子面单云打印接口 成功返回结果
type CainiaowaybilliilogisticsdetailurlgetAPIRequest ¶ added in v1.3.1
type CainiaowaybilliilogisticsdetailurlgetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliilogisticsdetailurlgetAPIRequest 电子面单物流详情授权url获取 API请求 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
func NewCainiaowaybilliilogisticsdetailurlgetRequest ¶ added in v1.3.1
func NewCainiaowaybilliilogisticsdetailurlgetRequest() *CainiaowaybilliilogisticsdetailurlgetAPIRequest
NewCainiaowaybilliilogisticsdetailurlgetRequest 初始化CainiaowaybilliilogisticsdetailurlgetAPIRequest对象
func (CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetCpCode ¶ added in v1.3.1
func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetWaybillCode ¶ added in v1.3.1
func (r CainiaowaybilliilogisticsdetailurlgetAPIRequest) GetWaybillCode() string
GetWaybillCode WaybillCode Getter
func (*CainiaowaybilliilogisticsdetailurlgetAPIRequest) SetCpCode ¶ added in v1.3.1
func (r *CainiaowaybilliilogisticsdetailurlgetAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 快递公司编码
func (*CainiaowaybilliilogisticsdetailurlgetAPIRequest) SetWaybillCode ¶ added in v1.3.1
func (r *CainiaowaybilliilogisticsdetailurlgetAPIRequest) SetWaybillCode(_waybillCode string) error
SetWaybillCode is WaybillCode Setter 电子面单单号
type CainiaowaybilliilogisticsdetailurlgetAPIResponse ¶ added in v1.3.1
type CainiaowaybilliilogisticsdetailurlgetAPIResponse struct { model.CommonResponse CainiaowaybilliilogisticsdetailurlgetAPIResponseModel }
CainiaowaybilliilogisticsdetailurlgetAPIResponse 电子面单物流详情授权url获取 API返回值 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
type CainiaowaybilliilogisticsdetailurlgetAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliilogisticsdetailurlgetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_logisticsdetail_url_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 授权访问的url Url string `json:"url,omitempty" xml:"url,omitempty"` }
CainiaowaybilliilogisticsdetailurlgetAPIResponseModel is 电子面单物流详情授权url获取 成功返回结果
type CainiaowaybilliiproductAPIRequest ¶ added in v1.3.1
type CainiaowaybilliiproductAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliiproductAPIRequest 商家查询物流商产品类型接口 API请求 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
func NewCainiaowaybilliiproductRequest ¶ added in v1.3.1
func NewCainiaowaybilliiproductRequest() *CainiaowaybilliiproductAPIRequest
NewCainiaowaybilliiproductRequest 初始化CainiaowaybilliiproductAPIRequest对象
func (CainiaowaybilliiproductAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliiproductAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliiproductAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliiproductAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliiproductAPIRequest) GetCpCode ¶ added in v1.3.1
func (r CainiaowaybilliiproductAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaowaybilliiproductAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliiproductAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliiproductAPIRequest) SetCpCode ¶ added in v1.3.1
func (r *CainiaowaybilliiproductAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 快递公司code
type CainiaowaybilliiproductAPIResponse ¶ added in v1.3.1
type CainiaowaybilliiproductAPIResponse struct { model.CommonResponse CainiaowaybilliiproductAPIResponseModel }
CainiaowaybilliiproductAPIResponse 商家查询物流商产品类型接口 API返回值 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
type CainiaowaybilliiproductAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliiproductAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_product_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 ProductTypes []WaybillProductType `json:"product_types,omitempty" xml:"product_types>waybill_product_type,omitempty"` }
CainiaowaybilliiproductAPIResponseModel is 商家查询物流商产品类型接口 成功返回结果
type CainiaowaybilliiquerybytradecodeAPIRequest ¶ added in v1.3.1
type CainiaowaybilliiquerybytradecodeAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliiquerybytradecodeAPIRequest 通过订单号查询电子面单通接口 API请求 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
func NewCainiaowaybilliiquerybytradecodeRequest ¶ added in v1.3.1
func NewCainiaowaybilliiquerybytradecodeRequest() *CainiaowaybilliiquerybytradecodeAPIRequest
NewCainiaowaybilliiquerybytradecodeRequest 初始化CainiaowaybilliiquerybytradecodeAPIRequest对象
func (CainiaowaybilliiquerybytradecodeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliiquerybytradecodeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliiquerybytradecodeAPIRequest) GetParamList ¶ added in v1.3.1
func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetParamList() []WaybillDetailQueryByBizSubCodeRequest
GetParamList ParamList Getter
func (CainiaowaybilliiquerybytradecodeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliiquerybytradecodeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliiquerybytradecodeAPIRequest) SetParamList ¶ added in v1.3.1
func (r *CainiaowaybilliiquerybytradecodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByBizSubCodeRequest) error
SetParamList is ParamList Setter 订单号列表
type CainiaowaybilliiquerybytradecodeAPIResponse ¶ added in v1.3.1
type CainiaowaybilliiquerybytradecodeAPIResponse struct { model.CommonResponse CainiaowaybilliiquerybytradecodeAPIResponseModel }
CainiaowaybilliiquerybytradecodeAPIResponse 通过订单号查询电子面单通接口 API返回值 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
type CainiaowaybilliiquerybytradecodeAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliiquerybytradecodeAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_query_by_tradecode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询返回值 Modules []WaybillCloudPrintWithResultDescResponse `json:"modules,omitempty" xml:"modules>waybill_cloud_print_with_result_desc_response,omitempty"` }
CainiaowaybilliiquerybytradecodeAPIResponseModel is 通过订单号查询电子面单通接口 成功返回结果
type CainiaowaybilliiquerybywaybillcodeAPIRequest ¶ added in v1.3.1
type CainiaowaybilliiquerybywaybillcodeAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliiquerybywaybillcodeAPIRequest 通过面单号查询面单打印报文 API请求 cainiao.waybill.ii.query.by.waybillcode
通过面单号查询面单的打印报文
func NewCainiaowaybilliiquerybywaybillcodeRequest ¶ added in v1.3.1
func NewCainiaowaybilliiquerybywaybillcodeRequest() *CainiaowaybilliiquerybywaybillcodeAPIRequest
NewCainiaowaybilliiquerybywaybillcodeRequest 初始化CainiaowaybilliiquerybywaybillcodeAPIRequest对象
func (CainiaowaybilliiquerybywaybillcodeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliiquerybywaybillcodeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliiquerybywaybillcodeAPIRequest) GetParamList ¶ added in v1.3.1
func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetParamList() []WaybillDetailQueryByWaybillCodeRequest
GetParamList ParamList Getter
func (CainiaowaybilliiquerybywaybillcodeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliiquerybywaybillcodeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliiquerybywaybillcodeAPIRequest) SetParamList ¶ added in v1.3.1
func (r *CainiaowaybilliiquerybywaybillcodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByWaybillCodeRequest) error
SetParamList is ParamList Setter 系统自动生成
type CainiaowaybilliiquerybywaybillcodeAPIResponse ¶ added in v1.3.1
type CainiaowaybilliiquerybywaybillcodeAPIResponse struct { model.CommonResponse CainiaowaybilliiquerybywaybillcodeAPIResponseModel }
CainiaowaybilliiquerybywaybillcodeAPIResponse 通过面单号查询面单打印报文 API返回值 cainiao.waybill.ii.query.by.waybillcode
通过面单号查询面单的打印报文
type CainiaowaybilliiquerybywaybillcodeAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliiquerybywaybillcodeAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_query_by_waybillcode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询返回值 Modules []WaybillCloudPrintWithResultDescResponse `json:"modules,omitempty" xml:"modules>waybill_cloud_print_with_result_desc_response,omitempty"` }
CainiaowaybilliiquerybywaybillcodeAPIResponseModel is 通过面单号查询面单打印报文 成功返回结果
type CainiaowaybilliisearchAPIRequest ¶ added in v1.3.1
type CainiaowaybilliisearchAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliisearchAPIRequest 查询面单服务订购及面单使用情况 API请求 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
func NewCainiaowaybilliisearchRequest ¶ added in v1.3.1
func NewCainiaowaybilliisearchRequest() *CainiaowaybilliisearchAPIRequest
NewCainiaowaybilliisearchRequest 初始化CainiaowaybilliisearchAPIRequest对象
func (CainiaowaybilliisearchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliisearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliisearchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliisearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliisearchAPIRequest) GetCpCode ¶ added in v1.3.1
func (r CainiaowaybilliisearchAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaowaybilliisearchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliisearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliisearchAPIRequest) SetCpCode ¶ added in v1.3.1
func (r *CainiaowaybilliisearchAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 物流公司code
type CainiaowaybilliisearchAPIResponse ¶ added in v1.3.1
type CainiaowaybilliisearchAPIResponse struct { model.CommonResponse CainiaowaybilliisearchAPIResponseModel }
CainiaowaybilliisearchAPIResponse 查询面单服务订购及面单使用情况 API返回值 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
type CainiaowaybilliisearchAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliisearchAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // CP网点信息及对应的商家的发货信息 WaybillApplySubscriptionCols []WaybillApplySubscriptionInfo `` /* 128-byte string literal not displayed */ }
CainiaowaybilliisearchAPIResponseModel is 查询面单服务订购及面单使用情况 成功返回结果
type CainiaowaybilliiupdateAPIRequest ¶ added in v1.3.1
type CainiaowaybilliiupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaowaybilliiupdateAPIRequest 电子面单云打印更新接口 API请求 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
func NewCainiaowaybilliiupdateRequest ¶ added in v1.3.1
func NewCainiaowaybilliiupdateRequest() *CainiaowaybilliiupdateAPIRequest
NewCainiaowaybilliiupdateRequest 初始化CainiaowaybilliiupdateAPIRequest对象
func (CainiaowaybilliiupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybilliiupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybilliiupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybilliiupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybilliiupdateAPIRequest) GetParamWaybillCloudPrintUpdateRequest ¶ added in v1.3.1
func (r CainiaowaybilliiupdateAPIRequest) GetParamWaybillCloudPrintUpdateRequest() *WaybillCloudPrintUpdateRequest
GetParamWaybillCloudPrintUpdateRequest ParamWaybillCloudPrintUpdateRequest Getter
func (CainiaowaybilliiupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybilliiupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaowaybilliiupdateAPIRequest) SetParamWaybillCloudPrintUpdateRequest ¶ added in v1.3.1
func (r *CainiaowaybilliiupdateAPIRequest) SetParamWaybillCloudPrintUpdateRequest(_paramWaybillCloudPrintUpdateRequest *WaybillCloudPrintUpdateRequest) error
SetParamWaybillCloudPrintUpdateRequest is ParamWaybillCloudPrintUpdateRequest Setter 更新请求信息
type CainiaowaybilliiupdateAPIResponse ¶ added in v1.3.1
type CainiaowaybilliiupdateAPIResponse struct { model.CommonResponse CainiaowaybilliiupdateAPIResponseModel }
CainiaowaybilliiupdateAPIResponse 电子面单云打印更新接口 API返回值 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
type CainiaowaybilliiupdateAPIResponseModel ¶ added in v1.3.1
type CainiaowaybilliiupdateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 模板内容 PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"` // 面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` }
CainiaowaybilliiupdateAPIResponseModel is 电子面单云打印更新接口 成功返回结果
type CainiaowaybillprivacysellerordergetAPIRequest ¶ added in v1.3.1
CainiaowaybillprivacysellerordergetAPIRequest 隐私面单商家订单查询 API请求 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
func NewCainiaowaybillprivacysellerordergetRequest ¶ added in v1.3.1
func NewCainiaowaybillprivacysellerordergetRequest() *CainiaowaybillprivacysellerordergetAPIRequest
NewCainiaowaybillprivacysellerordergetRequest 初始化CainiaowaybillprivacysellerordergetAPIRequest对象
func (CainiaowaybillprivacysellerordergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybillprivacysellerordergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybillprivacysellerordergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybillprivacysellerordergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybillprivacysellerordergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybillprivacysellerordergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaowaybillprivacysellerordergetAPIResponse ¶ added in v1.3.1
type CainiaowaybillprivacysellerordergetAPIResponse struct { model.CommonResponse CainiaowaybillprivacysellerordergetAPIResponseModel }
CainiaowaybillprivacysellerordergetAPIResponse 隐私面单商家订单查询 API返回值 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
type CainiaowaybillprivacysellerordergetAPIResponseModel ¶ added in v1.3.1
type CainiaowaybillprivacysellerordergetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_privacy_seller_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误列表 ErrorCodeList []string `json:"error_code_list,omitempty" xml:"error_code_list>string,omitempty"` // 返回值 ResponseList []CainiaowaybillprivacysellerordergetModule `json:"response_list,omitempty" xml:"response_list>cainiaowaybillprivacysellerorderget_module,omitempty"` // 错误信息 ErrorInfoList []string `json:"error_info_list,omitempty" xml:"error_info_list>string,omitempty"` // 第一个错误 OneErrorInfo string `json:"one_error_info,omitempty" xml:"one_error_info,omitempty"` // objectId ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 是否失败 Failure bool `json:"failure,omitempty" xml:"failure,omitempty"` }
CainiaowaybillprivacysellerordergetAPIResponseModel is 隐私面单商家订单查询 成功返回结果
type CainiaowaybillprivacysellerordergetModule ¶ added in v1.3.1
type CainiaowaybillprivacysellerordergetModule struct { // 商家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 日期 OrderDate string `json:"order_date,omitempty" xml:"order_date,omitempty"` // 订单渠道 OrderChannel string `json:"order_channel,omitempty" xml:"order_channel,omitempty"` // 店铺id ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 隐私次数 PrivacyCount int64 `json:"privacy_count,omitempty" xml:"privacy_count,omitempty"` }
CainiaowaybillprivacysellerordergetModule 结构体
type CainiaowaybillprivacysubscriptiongetAPIRequest ¶ added in v1.3.1
CainiaowaybillprivacysubscriptiongetAPIRequest 隐私面单商家订购查询 API请求 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
func NewCainiaowaybillprivacysubscriptiongetRequest ¶ added in v1.3.1
func NewCainiaowaybillprivacysubscriptiongetRequest() *CainiaowaybillprivacysubscriptiongetAPIRequest
NewCainiaowaybillprivacysubscriptiongetRequest 初始化CainiaowaybillprivacysubscriptiongetAPIRequest对象
func (CainiaowaybillprivacysubscriptiongetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaowaybillprivacysubscriptiongetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaowaybillprivacysubscriptiongetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaowaybillprivacysubscriptiongetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaowaybillprivacysubscriptiongetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaowaybillprivacysubscriptiongetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaowaybillprivacysubscriptiongetAPIResponse ¶ added in v1.3.1
type CainiaowaybillprivacysubscriptiongetAPIResponse struct { model.CommonResponse CainiaowaybillprivacysubscriptiongetAPIResponseModel }
CainiaowaybillprivacysubscriptiongetAPIResponse 隐私面单商家订购查询 API返回值 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
type CainiaowaybillprivacysubscriptiongetAPIResponseModel ¶ added in v1.3.1
type CainiaowaybillprivacysubscriptiongetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_privacy_subscription_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *CainiaowaybillprivacysubscriptiongetResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaowaybillprivacysubscriptiongetAPIResponseModel is 隐私面单商家订购查询 成功返回结果
type CainiaowaybillprivacysubscriptiongetResult ¶ added in v1.3.1
type CainiaowaybillprivacysubscriptiongetResult struct { // 错误code列表 ErrorCodeList []string `json:"error_code_list,omitempty" xml:"error_code_list>string,omitempty"` // 错误列表 ErrorInfoList []string `json:"error_info_list,omitempty" xml:"error_info_list>string,omitempty"` // 第一个错误 OneErrorInfo string `json:"one_error_info,omitempty" xml:"one_error_info,omitempty"` // 系统自动生成 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 系统信息 ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 是否失败 Failure bool `json:"failure,omitempty" xml:"failure,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 商家是否订购 Subscription bool `json:"subscription,omitempty" xml:"subscription,omitempty"` }
CainiaowaybillprivacysubscriptiongetResult 结构体
type ClientInfoDto ¶ added in v1.2.5
type ClientInfoDto struct { // 调用时自定义描述信息 Description string `json:"description,omitempty" xml:"description,omitempty"` }
ClientInfoDto 结构体
type CloudPrintBaseResult ¶
type CloudPrintBaseResult struct { // 数据 Datas []CustomAreaResult `json:"datas,omitempty" xml:"datas>custom_area_result,omitempty"` // data ResourceList []IsvResourceDo `json:"resource_list,omitempty" xml:"resource_list>isv_resource_do,omitempty"` // errorMessage ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // data Data string `json:"data,omitempty" xml:"data,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CloudPrintBaseResult 结构体
type CpInfo ¶
type CpInfo struct { // 云打印模板 CloudTemplateId string `json:"cloud_template_id,omitempty" xml:"cloud_template_id,omitempty"` // 快递公司 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 地址信息 Address *Address `json:"address,omitempty" xml:"address,omitempty"` // 状态: 0-禁用, 1-启用 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
CpInfo 结构体
type CpInfoDto ¶ added in v1.2.5
type CpInfoDto struct { // cp编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // cp名称 CpName string `json:"cp_name,omitempty" xml:"cp_name,omitempty"` }
CpInfoDto 结构体
type CustomAreaResult ¶
type CustomAreaResult struct { // keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` // customAreaUrl CustomAreaUrl string `json:"custom_area_url,omitempty" xml:"custom_area_url,omitempty"` // 自定义区名称 CustomAreaName string `json:"custom_area_name,omitempty" xml:"custom_area_name,omitempty"` // 标准模板url StandardTemplateUrl string `json:"standard_template_url,omitempty" xml:"standard_template_url,omitempty"` // customAreaId CustomAreaId int64 `json:"custom_area_id,omitempty" xml:"custom_area_id,omitempty"` // 标准模板名称 StandardTemplateId int64 `json:"standard_template_id,omitempty" xml:"standard_template_id,omitempty"` // 用户模板id,等同于mystdtemplates.get中返回的用户模板id UserTemplateId int64 `json:"user_template_id,omitempty" xml:"user_template_id,omitempty"` }
CustomAreaResult 结构体
type CustomAreaSingleResult ¶
type CustomAreaSingleResult struct { // keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` // 自定义区内容的URL CustomAreaUrl string `json:"custom_area_url,omitempty" xml:"custom_area_url,omitempty"` // 自定义区id CustomAreaId int64 `json:"custom_area_id,omitempty" xml:"custom_area_id,omitempty"` }
CustomAreaSingleResult 结构体
type CustomTemplateResult ¶
type CustomTemplateResult struct { // 模板的keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` // isv模板的名称 IsvTemplateName string `json:"isv_template_name,omitempty" xml:"isv_template_name,omitempty"` // isv模板的url IsvTemplateUrl string `json:"isv_template_url,omitempty" xml:"isv_template_url,omitempty"` // 版本号 Version string `json:"version,omitempty" xml:"version,omitempty"` // isv模板的id IsvTemplateId int64 `json:"isv_template_id,omitempty" xml:"isv_template_id,omitempty"` }
CustomTemplateResult 结构体
type DeliveryStrategyInfo ¶
type DeliveryStrategyInfo struct { // 合作CP信息 CocpInfoList []CpInfo `json:"cocp_info_list,omitempty" xml:"cocp_info_list>cp_info,omitempty"` // 特殊线路 SpecialRouteInfoList []SpecialRouteInfo `json:"special_route_info_list,omitempty" xml:"special_route_info_list>special_route_info,omitempty"` // 仓名称 WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"` // 识别买家备注: 0-忽略, 1-识别, 2-仅识别合作cp BuyerMessageRule int64 `json:"buyer_message_rule,omitempty" xml:"buyer_message_rule,omitempty"` // 仓id WarehouseId int64 `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"` }
DeliveryStrategyInfo 结构体
type DeliveryStrategySetRequest ¶
type DeliveryStrategySetRequest struct { // 策略信息对象 DeliveryStrategyInfo *DeliveryStrategyInfo `json:"delivery_strategy_info,omitempty" xml:"delivery_strategy_info,omitempty"` }
DeliveryStrategySetRequest 结构体
type ErrorInfo ¶ added in v1.2.5
type ErrorInfo struct { // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` }
ErrorInfo 结构体
type IsvResourceDo ¶
type IsvResourceDo struct { // 资源内容(当资源类型为TEMPLATE时,为空) ResourceContent string `json:"resource_content,omitempty" xml:"resource_content,omitempty"` // 资源名称 ResourceName string `json:"resource_name,omitempty" xml:"resource_name,omitempty"` // 资源类型 ResourceType string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // 资源url(当资源类型为打印项时,为空) ResourceUrl string `json:"resource_url,omitempty" xml:"resource_url,omitempty"` // 资源id ResourceId int64 `json:"resource_id,omitempty" xml:"resource_id,omitempty"` }
IsvResourceDo 结构体
type Item ¶
type Item struct { // 名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` }
Item 结构体
type KeyResult ¶
type KeyResult struct { // keyName KeyName string `json:"key_name,omitempty" xml:"key_name,omitempty"` }
KeyResult 结构体
type LogisticsService ¶
type LogisticsService struct { // 服务编码 ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"` // 服务类型值,json格式表示 ServiceValue4Json string `json:"service_value4_json,omitempty" xml:"service_value4_json,omitempty"` }
LogisticsService 结构体
type OrderInfoDto ¶
type OrderInfoDto struct { // 订单号,数量限制100,订单号(只限传入数字、字母、下划线和中划线,为避免出现冲突,请按电商平台真实订单号传入,请避免使用同个订单号重复取号) TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 外部电商平台交易单号集合,非必填,数量限制100 OutTradeOrderList []string `json:"out_trade_order_list,omitempty" xml:"out_trade_order_list>string,omitempty"` // 外部电商平台交易子单号集合,非必填,数量限制100 OutTradeSubOrderList []string `json:"out_trade_sub_order_list,omitempty" xml:"out_trade_sub_order_list>string,omitempty"` // <a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.8cf9Nj&treeId=17&articleId=105085&docType=1#2">订单渠道平台编码</a> OrderChannelsType string `json:"order_channels_type,omitempty" xml:"order_channels_type,omitempty"` }
OrderInfoDto 结构体
type PackageInfoDto ¶
type PackageInfoDto struct { // 商品信息,数量限制为100 Items []Item `json:"items,omitempty" xml:"items>item,omitempty"` // 包裹id,用于拆合单场景(只能传入数字、字母和下划线;批量请求时值不得重复,大小写敏感,即123A,123a 不可当做不同ID,否则存在一定可能取号失败) Id string `json:"id,omitempty" xml:"id,omitempty"` // 大件快运中的包装方式描述 PackagingDescription string `json:"packaging_description,omitempty" xml:"packaging_description,omitempty"` // 大件快运中的货品描述,比如服装,家具。 顺丰取号必须传此参数 GoodsDescription string `json:"goods_description,omitempty" xml:"goods_description,omitempty"` // 体积, 单位 ml Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 重量,单位 g Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 子母件模式中的总包裹数/总件数,用于打印当前包裹处于总件数的位置比如5-2,可以表示总包裹数为5,当前为第2个包裹,只有快运公司需要传入,其他的可以不用传入 TotalPackagesCount int64 `json:"total_packages_count,omitempty" xml:"total_packages_count,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"` // 物品价值,单位元 GoodValue float64 `json:"good_value,omitempty" xml:"good_value,omitempty"` }
PackageInfoDto 结构体
type PackageItem ¶
type PackageItem struct { // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 商品数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` }
PackageItem 结构体
type PrintCheckInfo ¶
type PrintCheckInfo struct { // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 收货网点编码 ConsigneeBranchCode string `json:"consignee_branch_code,omitempty" xml:"consignee_branch_code,omitempty"` // 收货网点信息 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 收件人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // consigneePhone ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 集包地、目的地中心代码。打 印时根据该 code 生成目的地 中心的条码,条码生成的算法 与对应的电子面单条码一致 PackageCenterCode string `json:"package_center_code,omitempty" xml:"package_center_code,omitempty"` // 集包地、目的地中心名称 PackageCenterName string `json:"package_center_name,omitempty" xml:"package_center_name,omitempty"` // 打标设置字段,直接传给ali-lodop。不用管具体含义。 PrintConfig string `json:"print_config,omitempty" xml:"print_config,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 发件人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 发货网点编码 ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"` // 发货网点信息 ShippingBranchName string `json:"shipping_branch_name,omitempty" xml:"shipping_branch_name,omitempty"` // 拣货规则(大头笔信息) ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 电子面单单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 收\发货地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 收\发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹体积 单位为ML(毫升)或立方厘米 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 包裹重量 单位为G(克) Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` }
PrintCheckInfo 结构体
type ReachableRecommendRequestDto ¶ added in v1.2.5
type ReachableRecommendRequestDto struct { // 指定快递公司 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 地址 Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"` }
ReachableRecommendRequestDto 结构体
type ReachableRecommendResponseDto ¶ added in v1.2.5
type ReachableRecommendResponseDto struct { // 可达CP列表 ReachableCps []CpInfoDto `json:"reachable_cps,omitempty" xml:"reachable_cps>cp_info_dto,omitempty"` // 不可达原因 InterruptReason string `json:"interrupt_reason,omitempty" xml:"interrupt_reason,omitempty"` // 不可达结束时间 InterruptEndTime string `json:"interrupt_end_time,omitempty" xml:"interrupt_end_time,omitempty"` // 拦截类型 InterruptType string `json:"interrupt_type,omitempty" xml:"interrupt_type,omitempty"` // 地址是否可达 Reachable bool `json:"reachable,omitempty" xml:"reachable,omitempty"` }
ReachableRecommendResponseDto 结构体
type RecipientInfoDto ¶
type RecipientInfoDto struct { // 手机号码 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 固定电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 淘宝订单收件人ID (Open Addressee ID),长度不超过128个字符,淘宝订单加密情况用于解密。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 电商平台真实交易订单号,针对电商平台订单隐私加密场景使用,非必填,如果填写则必须是电商平台真实的交易订单ID Tid string `json:"tid,omitempty" xml:"tid,omitempty"` // 菜鸟解密地址ID,用于电商平台收件人信息加密的场景使用,非订单加密场景请勿使用。 Caid string `json:"caid,omitempty" xml:"caid,omitempty"` // 地址 Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"` }
RecipientInfoDto 结构体
type ServiceAttributeDto ¶
type ServiceAttributeDto struct { // 属性的值,用户实际传入的值 AttributeCode string `json:"attribute_code,omitempty" xml:"attribute_code,omitempty"` // 属性的名称,可以用于前端的展示 AttributeName string `json:"attribute_name,omitempty" xml:"attribute_name,omitempty"` // 属性的类型,可能值有 [number, string, enum] AttributeType string `json:"attribute_type,omitempty" xml:"attribute_type,omitempty"` // 枚举类型的枚举值,key为用户选中的需要传值的数据,value为对应的描述,可以作为前端的展示 TypeDesc string `json:"type_desc,omitempty" xml:"type_desc,omitempty"` }
ServiceAttributeDto 结构体
type ServiceInfoDto ¶
type ServiceInfoDto struct { // 服务属性定义 ServiceAttributes []ServiceAttributeDto `json:"service_attributes,omitempty" xml:"service_attributes>service_attribute_dto,omitempty"` // 服务名称 ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"` // 服务编码 ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"` // 服务的官方描述,可以用作前端展示 ServiceDesc string `json:"service_desc,omitempty" xml:"service_desc,omitempty"` // 该服务是否为必选服务 Required bool `json:"required,omitempty" xml:"required,omitempty"` }
ServiceInfoDto 结构体
type SpecialRouteInfo ¶
type SpecialRouteInfo struct { // 快递公司code CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 到货区域 ReceiveArea *AddressArea `json:"receive_area,omitempty" xml:"receive_area,omitempty"` }
SpecialRouteInfo 结构体
type StandardTemplateDo ¶
type StandardTemplateDo struct { // 模板名称 StandardTemplateName string `json:"standard_template_name,omitempty" xml:"standard_template_name,omitempty"` // 模板url StandardTemplateUrl string `json:"standard_template_url,omitempty" xml:"standard_template_url,omitempty"` // 如果没有 brandCode,则为 default BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"` // 模板id StandardTemplateId int64 `json:"standard_template_id,omitempty" xml:"standard_template_id,omitempty"` // 1 快递标准面单 ,2 快递三联面单, 3 快递便携式三联单, 4 快运标准面单, 5 快运三联面单, 6 快递一联单 StandardWaybillType int64 `json:"standard_waybill_type,omitempty" xml:"standard_waybill_type,omitempty"` }
StandardTemplateDo 结构体
type StandardTemplateResult ¶
type StandardTemplateResult struct { // 该cp的所有标准模板 StandardTemplates []StandardTemplateDo `json:"standard_templates,omitempty" xml:"standard_templates>standard_template_do,omitempty"` // cp编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` }
StandardTemplateResult 结构体
type TaobaowlbwaybillicancelAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybillicancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybillicancelAPIRequest 商家取消获取的电子面单号v1.0 API请求 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func NewTaobaowlbwaybillicancelRequest ¶ added in v1.3.1
func NewTaobaowlbwaybillicancelRequest() *TaobaowlbwaybillicancelAPIRequest
NewTaobaowlbwaybillicancelRequest 初始化TaobaowlbwaybillicancelAPIRequest对象
func (TaobaowlbwaybillicancelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybillicancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybillicancelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybillicancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybillicancelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybillicancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybillicancelAPIRequest) GetWaybillApplyCancelRequest ¶ added in v1.3.1
func (r TaobaowlbwaybillicancelAPIRequest) GetWaybillApplyCancelRequest() *WaybillApplyCancelRequest
GetWaybillApplyCancelRequest WaybillApplyCancelRequest Getter
func (*TaobaowlbwaybillicancelAPIRequest) SetWaybillApplyCancelRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybillicancelAPIRequest) SetWaybillApplyCancelRequest(_waybillApplyCancelRequest *WaybillApplyCancelRequest) error
SetWaybillApplyCancelRequest is WaybillApplyCancelRequest Setter 取消接口入参
type TaobaowlbwaybillicancelAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybillicancelAPIResponse struct { model.CommonResponse TaobaowlbwaybillicancelAPIResponseModel }
TaobaowlbwaybillicancelAPIResponse 商家取消获取的电子面单号v1.0 API返回值 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
type TaobaowlbwaybillicancelAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybillicancelAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 调用取消是否成功 CancelResult bool `json:"cancel_result,omitempty" xml:"cancel_result,omitempty"` }
TaobaowlbwaybillicancelAPIResponseModel is 商家取消获取的电子面单号v1.0 成功返回结果
type TaobaowlbwaybillifullupdateAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybillifullupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybillifullupdateAPIRequest 面单信息更新接口v1.0 API请求 taobao.wlb.waybill.i.fullupdate
商家更新电子面单号对应的订单信息。<br/><br/>a.涉及到订单信息(如拆/合单、取消订单等)、修改发货地的逻辑时候,需要使用CANCEL+GET组合操作。一般的面单信息更新使用该接口;<br/><br/>b.该接口是全量修改接口,对于不做更新的字段也要把原有的字段值传进去,否则做为修改为空处理。
func NewTaobaowlbwaybillifullupdateRequest ¶ added in v1.3.1
func NewTaobaowlbwaybillifullupdateRequest() *TaobaowlbwaybillifullupdateAPIRequest
NewTaobaowlbwaybillifullupdateRequest 初始化TaobaowlbwaybillifullupdateAPIRequest对象
func (TaobaowlbwaybillifullupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybillifullupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybillifullupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybillifullupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybillifullupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybillifullupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybillifullupdateAPIRequest) GetWaybillApplyFullUpdateRequest ¶ added in v1.3.1
func (r TaobaowlbwaybillifullupdateAPIRequest) GetWaybillApplyFullUpdateRequest() *WaybillApplyFullUpdateRequest
GetWaybillApplyFullUpdateRequest WaybillApplyFullUpdateRequest Getter
func (*TaobaowlbwaybillifullupdateAPIRequest) SetWaybillApplyFullUpdateRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybillifullupdateAPIRequest) SetWaybillApplyFullUpdateRequest(_waybillApplyFullUpdateRequest *WaybillApplyFullUpdateRequest) error
SetWaybillApplyFullUpdateRequest is WaybillApplyFullUpdateRequest Setter 更新面单信息请求
type TaobaowlbwaybillifullupdateAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybillifullupdateAPIResponse struct { model.CommonResponse TaobaowlbwaybillifullupdateAPIResponseModel }
TaobaowlbwaybillifullupdateAPIResponse 面单信息更新接口v1.0 API返回值 taobao.wlb.waybill.i.fullupdate
商家更新电子面单号对应的订单信息。<br/><br/>a.涉及到订单信息(如拆/合单、取消订单等)、修改发货地的逻辑时候,需要使用CANCEL+GET组合操作。一般的面单信息更新使用该接口;<br/><br/>b.该接口是全量修改接口,对于不做更新的字段也要把原有的字段值传进去,否则做为修改为空处理。
type TaobaowlbwaybillifullupdateAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybillifullupdateAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_fullupdate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新接口出参 WaybillApplyUpdateInfo *WaybillApplyUpdateInfo `json:"waybill_apply_update_info,omitempty" xml:"waybill_apply_update_info,omitempty"` }
TaobaowlbwaybillifullupdateAPIResponseModel is 面单信息更新接口v1.0 成功返回结果
type TaobaowlbwaybilligetAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybilligetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybilligetAPIRequest 获取物流服务商电子面单号v1.0 API请求 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
func NewTaobaowlbwaybilligetRequest ¶ added in v1.3.1
func NewTaobaowlbwaybilligetRequest() *TaobaowlbwaybilligetAPIRequest
NewTaobaowlbwaybilligetRequest 初始化TaobaowlbwaybilligetAPIRequest对象
func (TaobaowlbwaybilligetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybilligetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybilligetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybilligetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybilligetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybilligetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybilligetAPIRequest) GetWaybillApplyNewRequest ¶ added in v1.3.1
func (r TaobaowlbwaybilligetAPIRequest) GetWaybillApplyNewRequest() *WaybillApplyNewRequest
GetWaybillApplyNewRequest WaybillApplyNewRequest Getter
func (*TaobaowlbwaybilligetAPIRequest) SetWaybillApplyNewRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybilligetAPIRequest) SetWaybillApplyNewRequest(_waybillApplyNewRequest *WaybillApplyNewRequest) error
SetWaybillApplyNewRequest is WaybillApplyNewRequest Setter 面单申请
type TaobaowlbwaybilligetAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybilligetAPIResponse struct { model.CommonResponse TaobaowlbwaybilligetAPIResponseModel }
TaobaowlbwaybilligetAPIResponse 获取物流服务商电子面单号v1.0 API返回值 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
type TaobaowlbwaybilligetAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybilligetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 面单申请接口返回信息 WaybillApplyNewCols []WaybillApplyNewInfo `json:"waybill_apply_new_cols,omitempty" xml:"waybill_apply_new_cols>waybill_apply_new_info,omitempty"` }
TaobaowlbwaybilligetAPIResponseModel is 获取物流服务商电子面单号v1.0 成功返回结果
type TaobaowlbwaybilliprintAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybilliprintAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybilliprintAPIRequest 打印确认接口v1.0 API请求 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
func NewTaobaowlbwaybilliprintRequest ¶ added in v1.3.1
func NewTaobaowlbwaybilliprintRequest() *TaobaowlbwaybilliprintAPIRequest
NewTaobaowlbwaybilliprintRequest 初始化TaobaowlbwaybilliprintAPIRequest对象
func (TaobaowlbwaybilliprintAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybilliprintAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybilliprintAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybilliprintAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybilliprintAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybilliprintAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybilliprintAPIRequest) GetWaybillApplyPrintCheckRequest ¶ added in v1.3.1
func (r TaobaowlbwaybilliprintAPIRequest) GetWaybillApplyPrintCheckRequest() *WaybillApplyPrintCheckRequest
GetWaybillApplyPrintCheckRequest WaybillApplyPrintCheckRequest Getter
func (*TaobaowlbwaybilliprintAPIRequest) SetWaybillApplyPrintCheckRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybilliprintAPIRequest) SetWaybillApplyPrintCheckRequest(_waybillApplyPrintCheckRequest *WaybillApplyPrintCheckRequest) error
SetWaybillApplyPrintCheckRequest is WaybillApplyPrintCheckRequest Setter 打印请求
type TaobaowlbwaybilliprintAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybilliprintAPIResponse struct { model.CommonResponse TaobaowlbwaybilliprintAPIResponseModel }
TaobaowlbwaybilliprintAPIResponse 打印确认接口v1.0 API返回值 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
type TaobaowlbwaybilliprintAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybilliprintAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_print_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 面单打印信息 WaybillApplyPrintCheckInfos []WaybillApplyPrintCheckInfo `` /* 127-byte string literal not displayed */ }
TaobaowlbwaybilliprintAPIResponseModel is 打印确认接口v1.0 成功返回结果
type TaobaowlbwaybilliproductAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybilliproductAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybilliproductAPIRequest 商家查询物流商产品类型接口 API请求 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
func NewTaobaowlbwaybilliproductRequest ¶ added in v1.3.1
func NewTaobaowlbwaybilliproductRequest() *TaobaowlbwaybilliproductAPIRequest
NewTaobaowlbwaybilliproductRequest 初始化TaobaowlbwaybilliproductAPIRequest对象
func (TaobaowlbwaybilliproductAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybilliproductAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybilliproductAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybilliproductAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybilliproductAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybilliproductAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybilliproductAPIRequest) GetWaybillProductTypeRequest ¶ added in v1.3.1
func (r TaobaowlbwaybilliproductAPIRequest) GetWaybillProductTypeRequest() *WaybillProductTypeRequest
GetWaybillProductTypeRequest WaybillProductTypeRequest Getter
func (*TaobaowlbwaybilliproductAPIRequest) SetWaybillProductTypeRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybilliproductAPIRequest) SetWaybillProductTypeRequest(_waybillProductTypeRequest *WaybillProductTypeRequest) error
SetWaybillProductTypeRequest is WaybillProductTypeRequest Setter 查询物流商电子面单产品类型入参
type TaobaowlbwaybilliproductAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybilliproductAPIResponse struct { model.CommonResponse TaobaowlbwaybilliproductAPIResponseModel }
TaobaowlbwaybilliproductAPIResponse 商家查询物流商产品类型接口 API返回值 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
type TaobaowlbwaybilliproductAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybilliproductAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_product_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品类型返回 ProductTypes []WaybillProductType `json:"product_types,omitempty" xml:"product_types>waybill_product_type,omitempty"` }
TaobaowlbwaybilliproductAPIResponseModel is 商家查询物流商产品类型接口 成功返回结果
type TaobaowlbwaybilliquerydetailAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybilliquerydetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybilliquerydetailAPIRequest 查面单号状态v1.0 API请求 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
func NewTaobaowlbwaybilliquerydetailRequest ¶ added in v1.3.1
func NewTaobaowlbwaybilliquerydetailRequest() *TaobaowlbwaybilliquerydetailAPIRequest
NewTaobaowlbwaybilliquerydetailRequest 初始化TaobaowlbwaybilliquerydetailAPIRequest对象
func (TaobaowlbwaybilliquerydetailAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybilliquerydetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybilliquerydetailAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybilliquerydetailAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybilliquerydetailAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybilliquerydetailAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybilliquerydetailAPIRequest) GetWaybillDetailQueryRequest ¶ added in v1.3.1
func (r TaobaowlbwaybilliquerydetailAPIRequest) GetWaybillDetailQueryRequest() *WaybillDetailQueryRequest
GetWaybillDetailQueryRequest WaybillDetailQueryRequest Getter
func (*TaobaowlbwaybilliquerydetailAPIRequest) SetWaybillDetailQueryRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybilliquerydetailAPIRequest) SetWaybillDetailQueryRequest(_waybillDetailQueryRequest *WaybillDetailQueryRequest) error
SetWaybillDetailQueryRequest is WaybillDetailQueryRequest Setter 面单查询请求
type TaobaowlbwaybilliquerydetailAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybilliquerydetailAPIResponse struct { model.CommonResponse TaobaowlbwaybilliquerydetailAPIResponseModel }
TaobaowlbwaybilliquerydetailAPIResponse 查面单号状态v1.0 API返回值 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
type TaobaowlbwaybilliquerydetailAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybilliquerydetailAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_querydetail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 面单查询错误编码 ErrorCodes []string `json:"error_codes,omitempty" xml:"error_codes>string,omitempty"` // 不存在的面单号 InexistentWaybillCodes []string `json:"inexistent_waybill_codes,omitempty" xml:"inexistent_waybill_codes>string,omitempty"` // 面单详情 WaybillDetails []WaybillDetailQueryInfo `json:"waybill_details,omitempty" xml:"waybill_details>waybill_detail_query_info,omitempty"` // 查询是否成功 QuerySuccess bool `json:"query_success,omitempty" xml:"query_success,omitempty"` }
TaobaowlbwaybilliquerydetailAPIResponseModel is 查面单号状态v1.0 成功返回结果
type TaobaowlbwaybillisearchAPIRequest ¶ added in v1.3.1
type TaobaowlbwaybillisearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaowlbwaybillisearchAPIRequest 查询面单服务订购及面单使用情况v1.0 API请求 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
func NewTaobaowlbwaybillisearchRequest ¶ added in v1.3.1
func NewTaobaowlbwaybillisearchRequest() *TaobaowlbwaybillisearchAPIRequest
NewTaobaowlbwaybillisearchRequest 初始化TaobaowlbwaybillisearchAPIRequest对象
func (TaobaowlbwaybillisearchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaowlbwaybillisearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaowlbwaybillisearchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaowlbwaybillisearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaowlbwaybillisearchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaowlbwaybillisearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaowlbwaybillisearchAPIRequest) GetWaybillApplyRequest ¶ added in v1.3.1
func (r TaobaowlbwaybillisearchAPIRequest) GetWaybillApplyRequest() *WaybillApplyRequest
GetWaybillApplyRequest WaybillApplyRequest Getter
func (*TaobaowlbwaybillisearchAPIRequest) SetWaybillApplyRequest ¶ added in v1.3.1
func (r *TaobaowlbwaybillisearchAPIRequest) SetWaybillApplyRequest(_waybillApplyRequest *WaybillApplyRequest) error
SetWaybillApplyRequest is WaybillApplyRequest Setter 查询网点信息
type TaobaowlbwaybillisearchAPIResponse ¶ added in v1.3.1
type TaobaowlbwaybillisearchAPIResponse struct { model.CommonResponse TaobaowlbwaybillisearchAPIResponseModel }
TaobaowlbwaybillisearchAPIResponse 查询面单服务订购及面单使用情况v1.0 API返回值 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
type TaobaowlbwaybillisearchAPIResponseModel ¶ added in v1.3.1
type TaobaowlbwaybillisearchAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订购关系 Subscribtions []WaybillApplySubscriptionInfo `json:"subscribtions,omitempty" xml:"subscribtions>waybill_apply_subscription_info,omitempty"` }
TaobaowlbwaybillisearchAPIResponseModel is 查询面单服务订购及面单使用情况v1.0 成功返回结果
type TradeOrderInfo ¶
type TradeOrderInfo struct { // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 包裹中的商品类型 PackageItems []PackageItem `json:"package_items,omitempty" xml:"package_items>package_item,omitempty"` // 交易订单列表 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 收货人 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 收货人联系方式 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 订单渠道 OrderChannelsType string `json:"order_channels_type,omitempty" xml:"order_channels_type,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 发货人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 发货人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 包裹号(或者ERP订单号) PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"` // 收货人地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹体积(立方厘米) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 包裹重量(克) Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` }
TradeOrderInfo 结构体
type TradeOrderInfoDto ¶
type TradeOrderInfoDto struct { // 物流服务值(详见https://support-cnkuaidi.taobao.com/doc.htm#?docId=106156&docType=1,如无特殊服务请置空) LogisticsServices string `json:"logistics_services,omitempty" xml:"logistics_services,omitempty"` // <a href="http://open.taobao.com/docs/doc.htm?docType=1&articleId=105086&treeId=17&platformId=17#6">请求ID</a> ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 云打印标准模板URL(组装云打印结果使用,值格式http://cloudprint.cainiao.com/template/standard/${模板ID}) TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"` // 带面单号模式取号,目前仅顺丰支持 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 订单信息 OrderInfo *OrderInfoDto `json:"order_info,omitempty" xml:"order_info,omitempty"` // 包裹信息 PackageInfo *PackageInfoDto `json:"package_info,omitempty" xml:"package_info,omitempty"` // 收件人信息 Recipient *RecipientInfoDto `json:"recipient,omitempty" xml:"recipient,omitempty"` // 使用者ID(使用电子面单账号的实际商家ID,如存在一个电子面单账号多个店铺使用时,请传入店铺的商家ID) UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
TradeOrderInfoDto 结构体
type UserInfoDto ¶
type UserInfoDto struct { // 手机号码(手机号和固定电话不能同时为空),长度小于20 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 姓名,长度小于40 Name string `json:"name,omitempty" xml:"name,omitempty"` // 固定电话(手机号和固定电话不能同时为空),长度小于20 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 开放地址ID Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` // 菜鸟地址ID,针对电商平台加密订单场景使用,淘系订单使用oaid,非淘使用caid。 Caid string `json:"caid,omitempty" xml:"caid,omitempty"` // 发货地址需要通过<a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.3OFCPk&treeId=17&articleId=104860&docType=1">search接口</a> Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"` }
UserInfoDto 结构体
type UserTemplateDo ¶
type UserTemplateDo struct { // keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` // 用户使用模板的url UserStdTemplateUrl string `json:"user_std_template_url,omitempty" xml:"user_std_template_url,omitempty"` // 用户使用模板名称 UserStdTemplateName string `json:"user_std_template_name,omitempty" xml:"user_std_template_name,omitempty"` // 品牌 code BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"` // 用户使用模板的id UserStdTemplateId int64 `json:"user_std_template_id,omitempty" xml:"user_std_template_id,omitempty"` }
UserTemplateDo 结构体
type UserTemplateResult ¶
type UserTemplateResult struct { // 用户使用的模板数据 UserStdTemplates []UserTemplateDo `json:"user_std_templates,omitempty" xml:"user_std_templates>user_template_do,omitempty"` // cp编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` }
UserTemplateResult 结构体
type WarehouseDto ¶
type WarehouseDto struct { // 仓名称 WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"` // 仓id WarehouseId int64 `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"` }
WarehouseDto 结构体
type WaybillAddress ¶
type WaybillAddress struct { // 详细地址 AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"` // 区名称(三级地址) Area string `json:"area,omitempty" xml:"area,omitempty"` // 市名称(二级地址) City string `json:"city,omitempty" xml:"city,omitempty"` // 一级地址(省、直辖市 Province string `json:"province,omitempty" xml:"province,omitempty"` // 街道\镇名称(四级地址) Town string `json:"town,omitempty" xml:"town,omitempty"` // 地址信息系统标准格式 AddressNonCodeFormat string `json:"address_non_code_format,omitempty" xml:"address_non_code_format,omitempty"` // 末级地址 DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"` // waybill 地址记录ID(非地址库ID) WaybillAddressId int64 `json:"waybill_address_id,omitempty" xml:"waybill_address_id,omitempty"` }
WaybillAddress 结构体
type WaybillApplyCancelRequest ¶
type WaybillApplyCancelRequest struct { // 交易订单列表 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // CP快递公司编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 电子面单号码 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // ERP订单号或包裹号 PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"` // 面单使用者编号 RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` }
WaybillApplyCancelRequest 结构体
type WaybillApplyFullUpdateRequest ¶
type WaybillApplyFullUpdateRequest struct { // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 交易订单号(组合表示合并订单) TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 包裹里面的商品名称 PackageItems []PackageItem `json:"package_items,omitempty" xml:"package_items>package_item,omitempty"` // 收件人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 收件人电话 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 快递服务商CODE CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 发件人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 订单渠道类型 OrderChannelsType string `json:"order_channels_type,omitempty" xml:"order_channels_type,omitempty"` // 电子面单单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // ERP 订单号或包裹号 PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹重量 单位为G(克) Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 收\发货地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 包裹体积 单位为ML(毫升)或立方厘米 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` }
WaybillApplyFullUpdateRequest 结构体
type WaybillApplyNewInfo ¶
type WaybillApplyNewInfo struct { // 包裹对应的派件(收件)物流服务商网点(分支机构)代码 ConsigneeBranchCode string `json:"consignee_branch_code,omitempty" xml:"consignee_branch_code,omitempty"` // 包裹对应的派件(收件)物流服务商网点(分支机构)名称 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 集包地代码 PackageCenterCode string `json:"package_center_code,omitempty" xml:"package_center_code,omitempty"` // 集包地名称 PackageCenterName string `json:"package_center_name,omitempty" xml:"package_center_name,omitempty"` // 打印配置项,传给ali-print组件 PrintConfig string `json:"print_config,omitempty" xml:"print_config,omitempty"` // 面单号对应的物流服务商网点(分支机构)代码 ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"` // 面单号对于的物流服务商网点(分支机构)名称 ShippingBranchName string `json:"shipping_branch_name,omitempty" xml:"shipping_branch_name,omitempty"` // 根据收货地址返回大头笔信息 ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 返回的面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 面单对应的订单列 TradeOrderInfo *TradeOrderInfo `json:"trade_order_info,omitempty" xml:"trade_order_info,omitempty"` }
WaybillApplyNewInfo 结构体
type WaybillApplyNewRequest ¶
type WaybillApplyNewRequest struct { // 订单数据 TradeOrderInfoCols []TradeOrderInfo `json:"trade_order_info_cols,omitempty" xml:"trade_order_info_cols>trade_order_info,omitempty"` // 物流服务商编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 收\发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` }
WaybillApplyNewRequest 结构体
type WaybillApplyPrintCheckInfo ¶
type WaybillApplyPrintCheckInfo struct { // 打印提示信息编码 NoticeCode string `json:"notice_code,omitempty" xml:"notice_code,omitempty"` // 打印提示信息 NoticeMessage string `json:"notice_message,omitempty" xml:"notice_message,omitempty"` // 电子面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 打印次数 PrintQuantity int64 `json:"print_quantity,omitempty" xml:"print_quantity,omitempty"` }
WaybillApplyPrintCheckInfo 结构体
type WaybillApplyPrintCheckRequest ¶
type WaybillApplyPrintCheckRequest struct { // 面单详情信息 PrintCheckInfoCols []PrintCheckInfo `json:"print_check_info_cols,omitempty" xml:"print_check_info_cols>print_check_info,omitempty"` // 物流服务商Code CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` }
WaybillApplyPrintCheckRequest 结构体
type WaybillApplyRequest ¶
type WaybillApplyRequest struct { // 物流服务商ID CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` }
WaybillApplyRequest 结构体
type WaybillApplySubscriptionInfo ¶
type WaybillApplySubscriptionInfo struct { // CP网点信息及对应的商家的发货信息 BranchAccountCols []WaybillBranchAccount `json:"branch_account_cols,omitempty" xml:"branch_account_cols>waybill_branch_account,omitempty"` // 物流服务商ID CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 物流服务商业务类型 1:直营 2:加盟 3:落地配 4:直营带网点 CpType int64 `json:"cp_type,omitempty" xml:"cp_type,omitempty"` }
WaybillApplySubscriptionInfo 结构体
type WaybillApplyUpdateInfo ¶
type WaybillApplyUpdateInfo struct { // 挑拣规则(大头笔信息) ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 收货网点编码 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 收货网点信息 ConsigneeBranchCode string `json:"consignee_branch_code,omitempty" xml:"consignee_branch_code,omitempty"` // -- WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 集包地、目的地中心名称 PackageCenterName string `json:"package_center_name,omitempty" xml:"package_center_name,omitempty"` // 集包地、目的地中心代码。打印时根据该 code 生成目的地中心的条码,条码生成的算法与对应的电子面单条码一致 PackageCenterCode string `json:"package_center_code,omitempty" xml:"package_center_code,omitempty"` // -- TradeOrderInfo *TradeOrderInfo `json:"trade_order_info,omitempty" xml:"trade_order_info,omitempty"` }
WaybillApplyUpdateInfo 结构体
type WaybillBranchAccount ¶
type WaybillBranchAccount struct { // 当前网点下的发货地址 ShippAddressCols []AddressDto `json:"shipp_address_cols,omitempty" xml:"shipp_address_cols>address_dto,omitempty"` // 可用的服务信息列表 ServiceInfoCols []ServiceInfoDto `json:"service_info_cols,omitempty" xml:"service_info_cols>service_info_dto,omitempty"` // 月结卡号列表 CustomerCodeList []string `json:"customer_code_list,omitempty" xml:"customer_code_list>string,omitempty"` // 网点Code BranchCode string `json:"branch_code,omitempty" xml:"branch_code,omitempty"` // 网点名称 BranchName string `json:"branch_name,omitempty" xml:"branch_name,omitempty"` // 号段信息 SegmentCode string `json:"segment_code,omitempty" xml:"segment_code,omitempty"` // 品牌code BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"` // 月结卡号map,key为shipp_address_cols.waybill_address_id,value为月结卡号。jsonString CustomerCodeMap string `json:"customer_code_map,omitempty" xml:"customer_code_map,omitempty"` // 已用面单数量 AllocatedQuantity int64 `json:"allocated_quantity,omitempty" xml:"allocated_quantity,omitempty"` // 网点状态 BranchStatus int64 `json:"branch_status,omitempty" xml:"branch_status,omitempty"` // 取消的面单总数 CancelQuantity int64 `json:"cancel_quantity,omitempty" xml:"cancel_quantity,omitempty"` // 已经打印的面单总数 PrintQuantity int64 `json:"print_quantity,omitempty" xml:"print_quantity,omitempty"` // 电子面单余额数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 商家ID SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
WaybillBranchAccount 结构体
type WaybillCloudPrintApplyNewRequest ¶
type WaybillCloudPrintApplyNewRequest struct { // 请求面单信息,数量限制为10 TradeOrderInfoDtos []TradeOrderInfoDto `json:"trade_order_info_dtos,omitempty" xml:"trade_order_info_dtos>trade_order_info_dto,omitempty"` // <a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.8cf9Nj&treeId=17&articleId=105085&docType=1#1">物流公司Code</a>,长度小于20 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 目前仅顺丰支持此字段,传入快递产品编码 ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"` // 仓code, 仓库WMS系统对接落地配业务,其它场景请不要使用 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 配送资源code, 仓库WMS系统对接落地配业务,其它场景请不要使用 ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"` // 品牌编码 BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"` // 扩展参数 ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"` // 月结卡号 CustomerCode string `json:"customer_code,omitempty" xml:"customer_code,omitempty"` // 预约上门收件时间 DoorPickUpTime string `json:"door_pick_up_time,omitempty" xml:"door_pick_up_time,omitempty"` // 预约上门截止时间 DoorPickUpEndTime string `json:"door_pick_up_end_time,omitempty" xml:"door_pick_up_end_time,omitempty"` // 寄件网点编码 ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"` // 发货人信息 Sender *UserInfoDto `json:"sender,omitempty" xml:"sender,omitempty"` // 是否使用智分宝预分拣, 仓库WMS系统对接落地配业务,其它场景请不要使用 DmsSorting bool `json:"dms_sorting,omitempty" xml:"dms_sorting,omitempty"` // 订单上是否带3PLtiming属性, 该属性需要严格与订单上属性保持一致,如果不确定,请使用默认false。 ThreePlTiming bool `json:"three_pl_timing,omitempty" xml:"three_pl_timing,omitempty"` // 设定取号返回的云打印报文是否加密 NeedEncrypt bool `json:"need_encrypt,omitempty" xml:"need_encrypt,omitempty"` // 快递公司支持一票多件,快运公司子母件请勿使用该参数 MultiPackagesShipment bool `json:"multi_packages_shipment,omitempty" xml:"multi_packages_shipment,omitempty"` // 是否预约上门 CallDoorPickUp bool `json:"call_door_pick_up,omitempty" xml:"call_door_pick_up,omitempty"` }
WaybillCloudPrintApplyNewRequest 结构体
type WaybillCloudPrintResponse ¶
type WaybillCloudPrintResponse struct { // 请求id ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 云打印内容(encryptedData表示加密结果,data表示非加密结果);模板内容,具体解释见<a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.8cf9Nj&treeId=17&articleId=105085&docType=1#12">链接</a> PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"` // 面单号, 子母件模式下为子面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 子母件中的母单号,当为子母件模式时,需要此单号为实际挂载物流详情的单号,需要使用此单号进行发货,查询物流详情,非子母件,此字段为空 ParentWaybillCode string `json:"parent_waybill_code,omitempty" xml:"parent_waybill_code,omitempty"` // 拓展信息,特殊场景下使用 ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"` // cp_code,跟入参传入的cp_code保持一致 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 真实取号的cp_code,在淘特官方物流等虚拟cp的场景中real_cp_code和入参中的cp_code不一样,其他场景二者一样 RealCpCode string `json:"real_cp_code,omitempty" xml:"real_cp_code,omitempty"` }
WaybillCloudPrintResponse 结构体
type WaybillCloudPrintUpdateRequest ¶
type WaybillCloudPrintUpdateRequest struct { // 物流公司CODE CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 物流服务内容<a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.eK8aZm&treeId=17&articleId=26765&docType=2">链接</a> LogisticsServices string `json:"logistics_services,omitempty" xml:"logistics_services,omitempty"` // 模板URL TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"` // 面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 请求表示id ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 包裹信息 PackageInfo *PackageInfoDto `json:"package_info,omitempty" xml:"package_info,omitempty"` // 收件信息 Recipient *UserInfoDto `json:"recipient,omitempty" xml:"recipient,omitempty"` // 发件信息 Sender *UserInfoDto `json:"sender,omitempty" xml:"sender,omitempty"` }
WaybillCloudPrintUpdateRequest 结构体
type WaybillCloudPrintWithResultDescResponse ¶
type WaybillCloudPrintWithResultDescResponse struct { // 单查询错误code ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 单查询错误message ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 请求id ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 面单信息 WaybillCloudPrintResponse *WaybillCloudPrintResponse `json:"waybill_cloud_print_response,omitempty" xml:"waybill_cloud_print_response,omitempty"` // 是否查询 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
WaybillCloudPrintWithResultDescResponse 结构体
type WaybillDetailQueryByBizSubCodeRequest ¶
type WaybillDetailQueryByBizSubCodeRequest struct { // 订单号 BizSubCode string `json:"biz_sub_code,omitempty" xml:"biz_sub_code,omitempty"` // 请求id ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` }
WaybillDetailQueryByBizSubCodeRequest 结构体
type WaybillDetailQueryByWaybillCodeRequest ¶
type WaybillDetailQueryByWaybillCodeRequest struct { // 快递公司code CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 请求id ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 电子面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` }
WaybillDetailQueryByWaybillCodeRequest 结构体
type WaybillDetailQueryInfo ¶
type WaybillDetailQueryInfo struct { // 交易订单列表 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 包裹里面的商品类型 PackageItems []PackageItem `json:"package_items,omitempty" xml:"package_items>package_item,omitempty"` // 包裹对应的派件(收件)物流服务商网点(分支机构)代码 ConsigneeBranchCode string `json:"consignee_branch_code,omitempty" xml:"consignee_branch_code,omitempty"` // 包裹对应的派件(收件)物流服务商网点(分支机构)名称 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 收件人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 收件人联系方式 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 物流商编码CODE CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 最后一次打印时间 LastPrintTime string `json:"last_print_time,omitempty" xml:"last_print_time,omitempty"` // 集包地、目的地中心代码。打印时根据该 code 生成目的地中心的条码,条码生成的算法与对应的电子面单条码一致 PackageCenterCode string `json:"package_center_code,omitempty" xml:"package_center_code,omitempty"` // 集包地、目的地中心名称 PackageCenterName string `json:"package_center_name,omitempty" xml:"package_center_name,omitempty"` // ERP订单号或包裹号 PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"` // 揽收时间 PickupTime string `json:"pickup_time,omitempty" xml:"pickup_time,omitempty"` // 打印配置项 PrintConfig string `json:"print_config,omitempty" xml:"print_config,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 发件人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 发货网点编码 ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"` // 发货网点信息 ShippingBranchName string `json:"shipping_branch_name,omitempty" xml:"shipping_branch_name,omitempty"` // 大头笔信息 ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 签收时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 电子面单信息 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 收货人地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 打印次数 PrintCount int64 `json:"print_count,omitempty" xml:"print_count,omitempty"` // 发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` // 面单状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹重量 单位为G(克) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 包裹体积 单位为ML(毫升)或立方厘米 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` }
WaybillDetailQueryInfo 结构体
type WaybillDetailQueryRequest ¶
type WaybillDetailQueryRequest struct { // 需要查询的订单号 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 电子面单单号 WaybillCodes []string `json:"waybill_codes,omitempty" xml:"waybill_codes>string,omitempty"` // CP快递公司编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 0:根据cp_code和waybil_code查询;1:根据订单号查询(默认根据cp_code和waybill_code查询) QueryBy int64 `json:"query_by,omitempty" xml:"query_by,omitempty"` }
WaybillDetailQueryRequest 结构体
type WaybillOrderConfirmRequest ¶ added in v1.2.5
type WaybillOrderConfirmRequest struct { // 物流单号信息 WaybillInfo []WaybillOrderConfirmWaybillInfo `json:"waybill_info,omitempty" xml:"waybill_info>waybill_order_confirm_waybill_info,omitempty"` // cpCode CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 预约上门截止时间 DoorPickUpEndTime string `json:"door_pick_up_end_time,omitempty" xml:"door_pick_up_end_time,omitempty"` // 预约上门时间 DoorPickUpTime string `json:"door_pick_up_time,omitempty" xml:"door_pick_up_time,omitempty"` // 扩展信息,json String ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"` // 物流服务, json String LogisticsServices string `json:"logistics_services,omitempty" xml:"logistics_services,omitempty"` // 快递产品编码 ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"` // 客户订单货物总高,单位厘米 TotalHeight int64 `json:"total_height,omitempty" xml:"total_height,omitempty"` // 订单货物总长,单位厘米 TotalLength int64 `json:"total_length,omitempty" xml:"total_length,omitempty"` // 订单货物总宽,单位厘米 TotalWidth int64 `json:"total_width,omitempty" xml:"total_width,omitempty"` // 货物总体积,单位立方厘米 TotalVolume int64 `json:"total_volume,omitempty" xml:"total_volume,omitempty"` // 货物总重量,单位g TotalWeight int64 `json:"total_weight,omitempty" xml:"total_weight,omitempty"` // 预约上门收件 CallDoorPickUp bool `json:"call_door_pick_up,omitempty" xml:"call_door_pick_up,omitempty"` }
WaybillOrderConfirmRequest 结构体
type WaybillOrderConfirmResponse ¶ added in v1.2.5
type WaybillOrderConfirmResponse struct { // 面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` }
WaybillOrderConfirmResponse 结构体
type WaybillOrderConfirmWaybillInfo ¶ added in v1.2.5
type WaybillOrderConfirmWaybillInfo struct { // 面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 包裹高,单位厘米 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 包裹长,单位厘米 Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 体积, 单位 ml Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 重量,单位 g Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 包裹宽,单位厘米 Width int64 `json:"width,omitempty" xml:"width,omitempty"` }
WaybillOrderConfirmWaybillInfo 结构体
type WaybillProductType ¶
type WaybillProductType struct { // 物流服务 ServiceTypes []WaybillServiceType `json:"service_types,omitempty" xml:"service_types>waybill_service_type,omitempty"` // 产品code Code string `json:"code,omitempty" xml:"code,omitempty"` // 产品名称 Name string `json:"name,omitempty" xml:"name,omitempty"` }
WaybillProductType 结构体
type WaybillProductTypeRequest ¶
type WaybillProductTypeRequest struct { // 物流商编码CODE CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` }
WaybillProductTypeRequest 结构体
type WaybillServiceType ¶
type WaybillServiceType struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // name Name string `json:"name,omitempty" xml:"name,omitempty"` }
WaybillServiceType 结构体
Source Files
¶
- Address.go
- AddressArea.go
- AddressDto.go
- BaseResultDto.go
- CainiaoCloudprintClientinfoPutAPIRequest.go
- CainiaoCloudprintClientinfoPutAPIResponse.go
- CainiaoCloudprintCustomareaUpdateAPIRequest.go
- CainiaoCloudprintCustomareaUpdateAPIResponse.go
- CainiaoCloudprintCustomaresGetAPIRequest.go
- CainiaoCloudprintCustomaresGetAPIResponse.go
- CainiaoCloudprintIsvResourcesGetAPIRequest.go
- CainiaoCloudprintIsvResourcesGetAPIResponse.go
- CainiaoCloudprintIsvtemplatesGetAPIRequest.go
- CainiaoCloudprintIsvtemplatesGetAPIResponse.go
- CainiaoCloudprintMystdtemplatesGetAPIRequest.go
- CainiaoCloudprintMystdtemplatesGetAPIResponse.go
- CainiaoCloudprintSingleCustomareaGetAPIRequest.go
- CainiaoCloudprintSingleCustomareaGetAPIResponse.go
- CainiaoCloudprintStdtemplatesGetAPIRequest.go
- CainiaoCloudprintStdtemplatesGetAPIResponse.go
- CainiaoCloudprintTemplatesMigrateAPIRequest.go
- CainiaoCloudprintTemplatesMigrateAPIResponse.go
- CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest.go
- CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse.go
- CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest.go
- CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse.go
- CainiaoWaybillAddressReachableQueryAPIRequest.go
- CainiaoWaybillAddressReachableQueryAPIResponse.go
- CainiaoWaybillIiCancelAPIRequest.go
- CainiaoWaybillIiCancelAPIResponse.go
- CainiaoWaybillIiConfirmAPIRequest.go
- CainiaoWaybillIiConfirmAPIResponse.go
- CainiaoWaybillIiDeliveryAPIRequest.go
- CainiaoWaybillIiDeliveryAPIResponse.go
- CainiaoWaybillIiGetAPIRequest.go
- CainiaoWaybillIiGetAPIResponse.go
- CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest.go
- CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse.go
- CainiaoWaybillIiProductAPIRequest.go
- CainiaoWaybillIiProductAPIResponse.go
- CainiaoWaybillIiQueryByTradecodeAPIRequest.go
- CainiaoWaybillIiQueryByTradecodeAPIResponse.go
- CainiaoWaybillIiQueryByWaybillcodeAPIRequest.go
- CainiaoWaybillIiQueryByWaybillcodeAPIResponse.go
- CainiaoWaybillIiSearchAPIRequest.go
- CainiaoWaybillIiSearchAPIResponse.go
- CainiaoWaybillIiUpdateAPIRequest.go
- CainiaoWaybillIiUpdateAPIResponse.go
- CainiaoWaybillPrivacySellerOrderGetAPIRequest.go
- CainiaoWaybillPrivacySellerOrderGetAPIResponse.go
- CainiaoWaybillPrivacySellerOrderGetModule.go
- CainiaoWaybillPrivacySubscriptionGetAPIRequest.go
- CainiaoWaybillPrivacySubscriptionGetAPIResponse.go
- CainiaoWaybillPrivacySubscriptionGetResult.go
- ClientInfoDto.go
- CloudPrintBaseResult.go
- CpInfo.go
- CpInfoDto.go
- CustomAreaResult.go
- CustomAreaSingleResult.go
- CustomTemplateResult.go
- DeliveryStrategyInfo.go
- DeliveryStrategySetRequest.go
- ErrorInfo.go
- IsvResourceDo.go
- Item.go
- KeyResult.go
- LogisticsService.go
- OrderInfoDto.go
- PackageInfoDto.go
- PackageItem.go
- PrintCheckInfo.go
- ReachableRecommendRequestDto.go
- ReachableRecommendResponseDto.go
- RecipientInfoDto.go
- ServiceAttributeDto.go
- ServiceInfoDto.go
- SpecialRouteInfo.go
- StandardTemplateDo.go
- StandardTemplateResult.go
- TaobaoWlbWaybillICancelAPIRequest.go
- TaobaoWlbWaybillICancelAPIResponse.go
- TaobaoWlbWaybillIFullupdateAPIRequest.go
- TaobaoWlbWaybillIFullupdateAPIResponse.go
- TaobaoWlbWaybillIGetAPIRequest.go
- TaobaoWlbWaybillIGetAPIResponse.go
- TaobaoWlbWaybillIPrintAPIRequest.go
- TaobaoWlbWaybillIPrintAPIResponse.go
- TaobaoWlbWaybillIProductAPIRequest.go
- TaobaoWlbWaybillIProductAPIResponse.go
- TaobaoWlbWaybillIQuerydetailAPIRequest.go
- TaobaoWlbWaybillIQuerydetailAPIResponse.go
- TaobaoWlbWaybillISearchAPIRequest.go
- TaobaoWlbWaybillISearchAPIResponse.go
- TradeOrderInfo.go
- TradeOrderInfoDto.go
- UserInfoDto.go
- UserTemplateDo.go
- UserTemplateResult.go
- WarehouseDto.go
- WaybillAddress.go
- WaybillApplyCancelRequest.go
- WaybillApplyFullUpdateRequest.go
- WaybillApplyNewInfo.go
- WaybillApplyNewRequest.go
- WaybillApplyPrintCheckInfo.go
- WaybillApplyPrintCheckRequest.go
- WaybillApplyRequest.go
- WaybillApplySubscriptionInfo.go
- WaybillApplyUpdateInfo.go
- WaybillBranchAccount.go
- WaybillCloudPrintApplyNewRequest.go
- WaybillCloudPrintResponse.go
- WaybillCloudPrintUpdateRequest.go
- WaybillCloudPrintWithResultDescResponse.go
- WaybillDetailQueryByBizSubCodeRequest.go
- WaybillDetailQueryByWaybillCodeRequest.go
- WaybillDetailQueryInfo.go
- WaybillDetailQueryRequest.go
- WaybillOrderConfirmRequest.go
- WaybillOrderConfirmResponse.go
- WaybillOrderConfirmWaybillInfo.go
- WaybillProductType.go
- WaybillProductTypeRequest.go
- WaybillServiceType.go
- doc.go