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() url.Values
- func (r CainiaoCloudprintClientinfoPutAPIRequest) GetJsonData() string
- func (r *CainiaoCloudprintClientinfoPutAPIRequest) SetJsonData(_jsonData string) error
- type CainiaoCloudprintClientinfoPutAPIResponse
- type CainiaoCloudprintClientinfoPutAPIResponseModel
- type CainiaoCloudprintCmdprintRenderAPIRequest
- func (r CainiaoCloudprintCmdprintRenderAPIRequest) GetApiMethodName() string
- func (r CainiaoCloudprintCmdprintRenderAPIRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintCmdprintRenderAPIRequest) GetParams() *CmdRenderParams
- func (r *CainiaoCloudprintCmdprintRenderAPIRequest) SetParams(_params *CmdRenderParams) error
- type CainiaoCloudprintCmdprintRenderAPIResponse
- type CainiaoCloudprintCmdprintRenderAPIResponseModel
- type CainiaoCloudprintCustomareaUpdateAPIRequest
- func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetApiMethodName() string
- func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaContent() string
- func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaId() int64
- func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaName() string
- 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() url.Values
- 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() url.Values
- func (r CainiaoCloudprintIsvResourcesGetAPIRequest) GetIsvResourceType() string
- 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() url.Values
- 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() url.Values
- func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetCustomAreaContent() string
- func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetCustomAreaName() string
- 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() url.Values
- 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() url.Values
- func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetDeliveryStrategySetRequest() *DeliveryStrategySetRequest
- func (r *CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) SetDeliveryStrategySetRequest(_deliveryStrategySetRequest *DeliveryStrategySetRequest) error
- type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse
- type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponseModel
- type CainiaoWaybillAddressReachableQueryAPIRequest
- func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetApiParams() url.Values
- func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetClientInfoDto() *ClientInfoDto
- 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() url.Values
- func (r CainiaoWaybillIiCancelAPIRequest) GetCpCode() string
- 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() url.Values
- func (r CainiaoWaybillIiConfirmAPIRequest) GetParamWaybillOrderConfirmRequest() *WaybillOrderConfirmRequest
- func (r *CainiaoWaybillIiConfirmAPIRequest) SetParamWaybillOrderConfirmRequest(_paramWaybillOrderConfirmRequest *WaybillOrderConfirmRequest) error
- type CainiaoWaybillIiConfirmAPIResponse
- type CainiaoWaybillIiConfirmAPIResponseModel
- type CainiaoWaybillIiDeliveryAPIRequest
- func (r CainiaoWaybillIiDeliveryAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiDeliveryAPIRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiDeliveryAPIRequest) GetCpCode() string
- func (r CainiaoWaybillIiDeliveryAPIRequest) GetDeliveryAction() int64
- 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() url.Values
- func (r CainiaoWaybillIiGetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest
- func (r *CainiaoWaybillIiGetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest(_paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error
- type CainiaoWaybillIiGetAPIResponse
- type CainiaoWaybillIiGetAPIResponseModel
- type CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest
- func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetCpCode() string
- 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
- type CainiaoWaybillIiProductAPIResponse
- type CainiaoWaybillIiProductAPIResponseModel
- type CainiaoWaybillIiQueryByTradecodeAPIRequest
- func (r CainiaoWaybillIiQueryByTradecodeAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiQueryByTradecodeAPIRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiQueryByTradecodeAPIRequest) GetParamList() []WaybillDetailQueryByBizSubCodeRequest
- func (r *CainiaoWaybillIiQueryByTradecodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByBizSubCodeRequest) error
- type CainiaoWaybillIiQueryByTradecodeAPIResponse
- type CainiaoWaybillIiQueryByTradecodeAPIResponseModel
- type CainiaoWaybillIiQueryByWaybillcodeAPIRequest
- func (r CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetParamList() []WaybillDetailQueryByWaybillCodeRequest
- func (r *CainiaoWaybillIiQueryByWaybillcodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByWaybillCodeRequest) error
- type CainiaoWaybillIiQueryByWaybillcodeAPIResponse
- type CainiaoWaybillIiQueryByWaybillcodeAPIResponseModel
- type CainiaoWaybillIiSearchAPIRequest
- type CainiaoWaybillIiSearchAPIResponse
- type CainiaoWaybillIiSearchAPIResponseModel
- type CainiaoWaybillIiUpdateAPIRequest
- func (r CainiaoWaybillIiUpdateAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiUpdateAPIRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiUpdateAPIRequest) GetParamWaybillCloudPrintUpdateRequest() *WaybillCloudPrintUpdateRequest
- 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 CmdRenderParams
- 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 RenderConfig
- type RenderContent
- type RenderDocument
- type ServiceAttributeDto
- type ServiceInfoDto
- type SpecialRouteInfo
- type StandardTemplateDo
- type StandardTemplateResult
- type TaobaoWlbWaybillICancelAPIRequest
- func (r TaobaoWlbWaybillICancelAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillICancelAPIRequest) GetApiParams() url.Values
- 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() url.Values
- 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() url.Values
- 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() url.Values
- 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() url.Values
- 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() url.Values
- 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() url.Values
- 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.2.0
type CainiaoCloudprintClientinfoPutAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintClientinfoPutAPIRequest 云打印客户端监控信息收集 API请求 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
func NewCainiaoCloudprintClientinfoPutRequest ¶
func NewCainiaoCloudprintClientinfoPutRequest() *CainiaoCloudprintClientinfoPutAPIRequest
NewCainiaoCloudprintClientinfoPutRequest 初始化CainiaoCloudprintClientinfoPutAPIRequest对象
func (CainiaoCloudprintClientinfoPutAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintClientinfoPutAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintClientinfoPutAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintClientinfoPutAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintClientinfoPutAPIRequest) GetJsonData ¶ added in v1.2.0
func (r CainiaoCloudprintClientinfoPutAPIRequest) GetJsonData() string
GetJsonData JsonData Getter
func (*CainiaoCloudprintClientinfoPutAPIRequest) SetJsonData ¶ added in v1.2.0
func (r *CainiaoCloudprintClientinfoPutAPIRequest) SetJsonData(_jsonData string) error
SetJsonData is JsonData Setter 客户端上传json数据
type CainiaoCloudprintClientinfoPutAPIResponse ¶
type CainiaoCloudprintClientinfoPutAPIResponse struct { model.CommonResponse CainiaoCloudprintClientinfoPutAPIResponseModel }
CainiaoCloudprintClientinfoPutAPIResponse 云打印客户端监控信息收集 API返回值 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
type CainiaoCloudprintClientinfoPutAPIResponseModel ¶ added in v1.2.0
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 CainiaoCloudprintCmdprintRenderAPIRequest ¶ added in v1.2.0
type CainiaoCloudprintCmdprintRenderAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintCmdprintRenderAPIRequest 生成打印机渲染命令(通过打印机命令打印) API请求 cainiao.cloudprint.cmdprint.render
isv 进行无线打印,需要将渲染数据传给打印机,通过生成打印机命令的方式能够最大限度的减少移动设备和打印机之间通信数据量。
func NewCainiaoCloudprintCmdprintRenderRequest ¶
func NewCainiaoCloudprintCmdprintRenderRequest() *CainiaoCloudprintCmdprintRenderAPIRequest
NewCainiaoCloudprintCmdprintRenderRequest 初始化CainiaoCloudprintCmdprintRenderAPIRequest对象
func (CainiaoCloudprintCmdprintRenderAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintCmdprintRenderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintCmdprintRenderAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintCmdprintRenderAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintCmdprintRenderAPIRequest) GetParams ¶ added in v1.2.0
func (r CainiaoCloudprintCmdprintRenderAPIRequest) GetParams() *CmdRenderParams
GetParams Params Getter
func (*CainiaoCloudprintCmdprintRenderAPIRequest) SetParams ¶ added in v1.2.0
func (r *CainiaoCloudprintCmdprintRenderAPIRequest) SetParams(_params *CmdRenderParams) error
SetParams is Params Setter 参数对象
type CainiaoCloudprintCmdprintRenderAPIResponse ¶
type CainiaoCloudprintCmdprintRenderAPIResponse struct { model.CommonResponse CainiaoCloudprintCmdprintRenderAPIResponseModel }
CainiaoCloudprintCmdprintRenderAPIResponse 生成打印机渲染命令(通过打印机命令打印) API返回值 cainiao.cloudprint.cmdprint.render
isv 进行无线打印,需要将渲染数据传给打印机,通过生成打印机命令的方式能够最大限度的减少移动设备和打印机之间通信数据量。
type CainiaoCloudprintCmdprintRenderAPIResponseModel ¶ added in v1.2.0
type CainiaoCloudprintCmdprintRenderAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_cloudprint_cmdprint_render_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 0成功,非0失败 RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 错误信息 RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"` // 指令集内容串 CmdContent string `json:"cmd_content,omitempty" xml:"cmd_content,omitempty"` // 指令集编码方式:origin-原串 gzip-采用gzip压缩并base64编码 CmdEncoding string `json:"cmd_encoding,omitempty" xml:"cmd_encoding,omitempty"` }
CainiaoCloudprintCmdprintRenderAPIResponseModel is 生成打印机渲染命令(通过打印机命令打印) 成功返回结果
type CainiaoCloudprintCustomareaUpdateAPIRequest ¶ added in v1.2.0
type CainiaoCloudprintCustomareaUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintCustomareaUpdateAPIRequest 自定义区内容更新 API请求 cainiao.cloudprint.customarea.update
自定义区内容更新
func NewCainiaoCloudprintCustomareaUpdateRequest ¶
func NewCainiaoCloudprintCustomareaUpdateRequest() *CainiaoCloudprintCustomareaUpdateAPIRequest
NewCainiaoCloudprintCustomareaUpdateRequest 初始化CainiaoCloudprintCustomareaUpdateAPIRequest对象
func (CainiaoCloudprintCustomareaUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintCustomareaUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaContent ¶ added in v1.2.0
func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaContent() string
GetCustomAreaContent CustomAreaContent Getter
func (CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaId ¶ added in v1.2.0
func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaId() int64
GetCustomAreaId CustomAreaId Getter
func (CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaName ¶ added in v1.2.0
func (r CainiaoCloudprintCustomareaUpdateAPIRequest) GetCustomAreaName() string
GetCustomAreaName CustomAreaName Getter
func (*CainiaoCloudprintCustomareaUpdateAPIRequest) SetCustomAreaContent ¶ added in v1.2.0
func (r *CainiaoCloudprintCustomareaUpdateAPIRequest) SetCustomAreaContent(_customAreaContent string) error
SetCustomAreaContent is CustomAreaContent Setter 自定义区内容(可修改)
func (*CainiaoCloudprintCustomareaUpdateAPIRequest) SetCustomAreaId ¶ added in v1.2.0
func (r *CainiaoCloudprintCustomareaUpdateAPIRequest) SetCustomAreaId(_customAreaId int64) error
SetCustomAreaId is CustomAreaId Setter 自定义区id(不可修改)
func (*CainiaoCloudprintCustomareaUpdateAPIRequest) SetCustomAreaName ¶ added in v1.2.0
func (r *CainiaoCloudprintCustomareaUpdateAPIRequest) SetCustomAreaName(_customAreaName string) error
SetCustomAreaName is CustomAreaName Setter 自定义区名称(可修改)
type CainiaoCloudprintCustomareaUpdateAPIResponse ¶
type CainiaoCloudprintCustomareaUpdateAPIResponse struct { model.CommonResponse CainiaoCloudprintCustomareaUpdateAPIResponseModel }
CainiaoCloudprintCustomareaUpdateAPIResponse 自定义区内容更新 API返回值 cainiao.cloudprint.customarea.update
自定义区内容更新
type CainiaoCloudprintCustomareaUpdateAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoCloudprintCustomaresGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintCustomaresGetAPIRequest 获取商家的自定义区模板信息 API请求 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
func NewCainiaoCloudprintCustomaresGetRequest ¶
func NewCainiaoCloudprintCustomaresGetRequest() *CainiaoCloudprintCustomaresGetAPIRequest
NewCainiaoCloudprintCustomaresGetRequest 初始化CainiaoCloudprintCustomaresGetAPIRequest对象
func (CainiaoCloudprintCustomaresGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintCustomaresGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintCustomaresGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintCustomaresGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintCustomaresGetAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r CainiaoCloudprintCustomaresGetAPIRequest) GetTemplateId() int64
GetTemplateId TemplateId Getter
func (*CainiaoCloudprintCustomaresGetAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *CainiaoCloudprintCustomaresGetAPIRequest) SetTemplateId(_templateId int64) error
SetTemplateId is TemplateId Setter 用户使用的标准模板id
type CainiaoCloudprintCustomaresGetAPIResponse ¶
type CainiaoCloudprintCustomaresGetAPIResponse struct { model.CommonResponse CainiaoCloudprintCustomaresGetAPIResponseModel }
CainiaoCloudprintCustomaresGetAPIResponse 获取商家的自定义区模板信息 API返回值 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
type CainiaoCloudprintCustomaresGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoCloudprintIsvResourcesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintIsvResourcesGetAPIRequest isv资源查询 API请求 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
func NewCainiaoCloudprintIsvResourcesGetRequest ¶
func NewCainiaoCloudprintIsvResourcesGetRequest() *CainiaoCloudprintIsvResourcesGetAPIRequest
NewCainiaoCloudprintIsvResourcesGetRequest 初始化CainiaoCloudprintIsvResourcesGetAPIRequest对象
func (CainiaoCloudprintIsvResourcesGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintIsvResourcesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintIsvResourcesGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintIsvResourcesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintIsvResourcesGetAPIRequest) GetIsvResourceType ¶ added in v1.2.0
func (r CainiaoCloudprintIsvResourcesGetAPIRequest) GetIsvResourceType() string
GetIsvResourceType IsvResourceType Getter
func (*CainiaoCloudprintIsvResourcesGetAPIRequest) SetIsvResourceType ¶ added in v1.2.0
func (r *CainiaoCloudprintIsvResourcesGetAPIRequest) SetIsvResourceType(_isvResourceType string) error
SetIsvResourceType is IsvResourceType Setter isv资源类型,分为:TEMPLATE(表示模板),PRINT_ITEM(打印项),CUSTOM_AREA(预设自定义区)
type CainiaoCloudprintIsvResourcesGetAPIResponse ¶
type CainiaoCloudprintIsvResourcesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintIsvResourcesGetAPIResponseModel }
CainiaoCloudprintIsvResourcesGetAPIResponse isv资源查询 API返回值 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
type CainiaoCloudprintIsvResourcesGetAPIResponseModel ¶ added in v1.2.0
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.2.0
CainiaoCloudprintIsvtemplatesGetAPIRequest 获取商家使用的标准模板 API请求 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
func NewCainiaoCloudprintIsvtemplatesGetRequest ¶
func NewCainiaoCloudprintIsvtemplatesGetRequest() *CainiaoCloudprintIsvtemplatesGetAPIRequest
NewCainiaoCloudprintIsvtemplatesGetRequest 初始化CainiaoCloudprintIsvtemplatesGetAPIRequest对象
func (CainiaoCloudprintIsvtemplatesGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintIsvtemplatesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintIsvtemplatesGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintIsvtemplatesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type CainiaoCloudprintIsvtemplatesGetAPIResponse ¶
type CainiaoCloudprintIsvtemplatesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintIsvtemplatesGetAPIResponseModel }
CainiaoCloudprintIsvtemplatesGetAPIResponse 获取商家使用的标准模板 API返回值 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
type CainiaoCloudprintIsvtemplatesGetAPIResponseModel ¶ added in v1.2.0
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.2.0
CainiaoCloudprintMystdtemplatesGetAPIRequest 获取用户使用的菜鸟电子面单模板信息 API请求 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
func NewCainiaoCloudprintMystdtemplatesGetRequest ¶
func NewCainiaoCloudprintMystdtemplatesGetRequest() *CainiaoCloudprintMystdtemplatesGetAPIRequest
NewCainiaoCloudprintMystdtemplatesGetRequest 初始化CainiaoCloudprintMystdtemplatesGetAPIRequest对象
func (CainiaoCloudprintMystdtemplatesGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintMystdtemplatesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintMystdtemplatesGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintMystdtemplatesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type CainiaoCloudprintMystdtemplatesGetAPIResponse ¶
type CainiaoCloudprintMystdtemplatesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintMystdtemplatesGetAPIResponseModel }
CainiaoCloudprintMystdtemplatesGetAPIResponse 获取用户使用的菜鸟电子面单模板信息 API返回值 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
type CainiaoCloudprintMystdtemplatesGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoCloudprintSingleCustomareaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintSingleCustomareaGetAPIRequest 获取商家单一自定义区 API请求 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
func NewCainiaoCloudprintSingleCustomareaGetRequest ¶
func NewCainiaoCloudprintSingleCustomareaGetRequest() *CainiaoCloudprintSingleCustomareaGetAPIRequest
NewCainiaoCloudprintSingleCustomareaGetRequest 初始化CainiaoCloudprintSingleCustomareaGetAPIRequest对象
func (CainiaoCloudprintSingleCustomareaGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintSingleCustomareaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintSingleCustomareaGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintSingleCustomareaGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintSingleCustomareaGetAPIRequest) GetSellerId ¶ added in v1.2.0
func (r CainiaoCloudprintSingleCustomareaGetAPIRequest) GetSellerId() int64
GetSellerId SellerId Getter
func (*CainiaoCloudprintSingleCustomareaGetAPIRequest) SetSellerId ¶ added in v1.2.0
func (r *CainiaoCloudprintSingleCustomareaGetAPIRequest) SetSellerId(_sellerId int64) error
SetSellerId is SellerId Setter 这是商家用户id
type CainiaoCloudprintSingleCustomareaGetAPIResponse ¶
type CainiaoCloudprintSingleCustomareaGetAPIResponse struct { model.CommonResponse CainiaoCloudprintSingleCustomareaGetAPIResponseModel }
CainiaoCloudprintSingleCustomareaGetAPIResponse 获取商家单一自定义区 API返回值 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
type CainiaoCloudprintSingleCustomareaGetAPIResponseModel ¶ added in v1.2.0
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.2.0
CainiaoCloudprintStdtemplatesGetAPIRequest 获取所有的菜鸟标准电子面单模板 API请求 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
func NewCainiaoCloudprintStdtemplatesGetRequest ¶
func NewCainiaoCloudprintStdtemplatesGetRequest() *CainiaoCloudprintStdtemplatesGetAPIRequest
NewCainiaoCloudprintStdtemplatesGetRequest 初始化CainiaoCloudprintStdtemplatesGetAPIRequest对象
func (CainiaoCloudprintStdtemplatesGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintStdtemplatesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintStdtemplatesGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintStdtemplatesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type CainiaoCloudprintStdtemplatesGetAPIResponse ¶
type CainiaoCloudprintStdtemplatesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintStdtemplatesGetAPIResponseModel }
CainiaoCloudprintStdtemplatesGetAPIResponse 获取所有的菜鸟标准电子面单模板 API返回值 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
type CainiaoCloudprintStdtemplatesGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoCloudprintTemplatesMigrateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoCloudprintTemplatesMigrateAPIRequest 云打印模板迁移接口 API请求 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
func NewCainiaoCloudprintTemplatesMigrateRequest ¶
func NewCainiaoCloudprintTemplatesMigrateRequest() *CainiaoCloudprintTemplatesMigrateAPIRequest
NewCainiaoCloudprintTemplatesMigrateRequest 初始化CainiaoCloudprintTemplatesMigrateAPIRequest对象
func (CainiaoCloudprintTemplatesMigrateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoCloudprintTemplatesMigrateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoCloudprintTemplatesMigrateAPIRequest) GetCustomAreaContent ¶ added in v1.2.0
func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetCustomAreaContent() string
GetCustomAreaContent CustomAreaContent Getter
func (CainiaoCloudprintTemplatesMigrateAPIRequest) GetCustomAreaName ¶ added in v1.2.0
func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetCustomAreaName() string
GetCustomAreaName CustomAreaName Getter
func (CainiaoCloudprintTemplatesMigrateAPIRequest) GetTempalteId ¶ added in v1.2.0
func (r CainiaoCloudprintTemplatesMigrateAPIRequest) GetTempalteId() int64
GetTempalteId TempalteId Getter
func (*CainiaoCloudprintTemplatesMigrateAPIRequest) SetCustomAreaContent ¶ added in v1.2.0
func (r *CainiaoCloudprintTemplatesMigrateAPIRequest) SetCustomAreaContent(_customAreaContent string) error
SetCustomAreaContent is CustomAreaContent Setter 自定义区内容
func (*CainiaoCloudprintTemplatesMigrateAPIRequest) SetCustomAreaName ¶ added in v1.2.0
func (r *CainiaoCloudprintTemplatesMigrateAPIRequest) SetCustomAreaName(_customAreaName string) error
SetCustomAreaName is CustomAreaName Setter 自定义区名称
func (*CainiaoCloudprintTemplatesMigrateAPIRequest) SetTempalteId ¶ added in v1.2.0
func (r *CainiaoCloudprintTemplatesMigrateAPIRequest) SetTempalteId(_tempalteId int64) error
SetTempalteId is TempalteId Setter 标准电子面单模板的id
type CainiaoCloudprintTemplatesMigrateAPIResponse ¶
type CainiaoCloudprintTemplatesMigrateAPIResponse struct { model.CommonResponse CainiaoCloudprintTemplatesMigrateAPIResponseModel }
CainiaoCloudprintTemplatesMigrateAPIResponse 云打印模板迁移接口 API返回值 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
type CainiaoCloudprintTemplatesMigrateAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest 删除智能发货引擎仓策略 API请求 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
func NewCainiaoSmartdeliveryStrategyWarehouseIDeleteRequest ¶
func NewCainiaoSmartdeliveryStrategyWarehouseIDeleteRequest() *CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest
NewCainiaoSmartdeliveryStrategyWarehouseIDeleteRequest 初始化CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest对象
func (CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) GetWarehouseId ¶ added in v1.2.0
func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) GetWarehouseId() int64
GetWarehouseId WarehouseId Getter
func (*CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) SetWarehouseId ¶ added in v1.2.0
func (r *CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIRequest) SetWarehouseId(_warehouseId int64) error
SetWarehouseId is WarehouseId Setter 仓id
type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse ¶
type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse struct { model.CommonResponse CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponseModel }
CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse 删除智能发货引擎仓策略 API返回值 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest 智能发货引擎策略仓设置 API请求 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
func NewCainiaoSmartdeliveryStrategyWarehouseIUpdateRequest ¶
func NewCainiaoSmartdeliveryStrategyWarehouseIUpdateRequest() *CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest
NewCainiaoSmartdeliveryStrategyWarehouseIUpdateRequest 初始化CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest对象
func (CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetDeliveryStrategySetRequest ¶ added in v1.2.0
func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) GetDeliveryStrategySetRequest() *DeliveryStrategySetRequest
GetDeliveryStrategySetRequest DeliveryStrategySetRequest Getter
func (*CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) SetDeliveryStrategySetRequest ¶ added in v1.2.0
func (r *CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIRequest) SetDeliveryStrategySetRequest(_deliveryStrategySetRequest *DeliveryStrategySetRequest) error
SetDeliveryStrategySetRequest is DeliveryStrategySetRequest Setter 智能发货设置请求参数
type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse ¶
type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse struct { model.CommonResponse CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponseModel }
CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse 智能发货引擎策略仓设置 API返回值 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponseModel ¶ added in v1.2.0
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.2.5
type CainiaoWaybillAddressReachableQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillAddressReachableQueryAPIRequest 地址可达查询 API请求 cainiao.waybill.address.reachable.query
地址可达查询
func NewCainiaoWaybillAddressReachableQueryRequest ¶ added in v1.2.5
func NewCainiaoWaybillAddressReachableQueryRequest() *CainiaoWaybillAddressReachableQueryAPIRequest
NewCainiaoWaybillAddressReachableQueryRequest 初始化CainiaoWaybillAddressReachableQueryAPIRequest对象
func (CainiaoWaybillAddressReachableQueryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillAddressReachableQueryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillAddressReachableQueryAPIRequest) GetClientInfoDto ¶ added in v1.2.5
func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetClientInfoDto() *ClientInfoDto
GetClientInfoDto ClientInfoDto Getter
func (CainiaoWaybillAddressReachableQueryAPIRequest) GetReachableRecommendRequestDto ¶ added in v1.2.5
func (r CainiaoWaybillAddressReachableQueryAPIRequest) GetReachableRecommendRequestDto() *ReachableRecommendRequestDto
GetReachableRecommendRequestDto ReachableRecommendRequestDto Getter
func (*CainiaoWaybillAddressReachableQueryAPIRequest) SetClientInfoDto ¶ added in v1.2.5
func (r *CainiaoWaybillAddressReachableQueryAPIRequest) SetClientInfoDto(_clientInfoDto *ClientInfoDto) error
SetClientInfoDto is ClientInfoDto Setter 调用方对象
func (*CainiaoWaybillAddressReachableQueryAPIRequest) SetReachableRecommendRequestDto ¶ added in v1.2.5
func (r *CainiaoWaybillAddressReachableQueryAPIRequest) SetReachableRecommendRequestDto(_reachableRecommendRequestDto *ReachableRecommendRequestDto) error
SetReachableRecommendRequestDto is ReachableRecommendRequestDto Setter 入参
type CainiaoWaybillAddressReachableQueryAPIResponse ¶ added in v1.2.5
type CainiaoWaybillAddressReachableQueryAPIResponse struct { model.CommonResponse CainiaoWaybillAddressReachableQueryAPIResponseModel }
CainiaoWaybillAddressReachableQueryAPIResponse 地址可达查询 API返回值 cainiao.waybill.address.reachable.query
地址可达查询
type CainiaoWaybillAddressReachableQueryAPIResponseModel ¶ added in v1.2.5
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.2.0
type CainiaoWaybillIiCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiCancelAPIRequest 商家取消获取的电子面单号 API请求 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func NewCainiaoWaybillIiCancelRequest ¶
func NewCainiaoWaybillIiCancelRequest() *CainiaoWaybillIiCancelAPIRequest
NewCainiaoWaybillIiCancelRequest 初始化CainiaoWaybillIiCancelAPIRequest对象
func (CainiaoWaybillIiCancelAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiCancelAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiCancelAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiCancelAPIRequest) GetCpCode ¶ added in v1.2.0
func (r CainiaoWaybillIiCancelAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaoWaybillIiCancelAPIRequest) GetWaybillCode ¶ added in v1.2.0
func (r CainiaoWaybillIiCancelAPIRequest) GetWaybillCode() string
GetWaybillCode WaybillCode Getter
func (*CainiaoWaybillIiCancelAPIRequest) SetCpCode ¶ added in v1.2.0
func (r *CainiaoWaybillIiCancelAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 快递公司code
func (*CainiaoWaybillIiCancelAPIRequest) SetWaybillCode ¶ added in v1.2.0
func (r *CainiaoWaybillIiCancelAPIRequest) SetWaybillCode(_waybillCode string) error
SetWaybillCode is WaybillCode Setter 电子面单号
type CainiaoWaybillIiCancelAPIResponse ¶
type CainiaoWaybillIiCancelAPIResponse struct { model.CommonResponse CainiaoWaybillIiCancelAPIResponseModel }
CainiaoWaybillIiCancelAPIResponse 商家取消获取的电子面单号 API返回值 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
type CainiaoWaybillIiCancelAPIResponseModel ¶ added in v1.2.0
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.2.5
type CainiaoWaybillIiConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiConfirmAPIRequest 物流订单确认接口 API请求 cainiao.waybill.ii.confirm
物流订单确认
func NewCainiaoWaybillIiConfirmRequest ¶ added in v1.2.5
func NewCainiaoWaybillIiConfirmRequest() *CainiaoWaybillIiConfirmAPIRequest
NewCainiaoWaybillIiConfirmRequest 初始化CainiaoWaybillIiConfirmAPIRequest对象
func (CainiaoWaybillIiConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r CainiaoWaybillIiConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiConfirmAPIRequest) GetApiParams ¶ added in v1.2.5
func (r CainiaoWaybillIiConfirmAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiConfirmAPIRequest) GetParamWaybillOrderConfirmRequest ¶ added in v1.2.5
func (r CainiaoWaybillIiConfirmAPIRequest) GetParamWaybillOrderConfirmRequest() *WaybillOrderConfirmRequest
GetParamWaybillOrderConfirmRequest ParamWaybillOrderConfirmRequest Getter
func (*CainiaoWaybillIiConfirmAPIRequest) SetParamWaybillOrderConfirmRequest ¶ added in v1.2.5
func (r *CainiaoWaybillIiConfirmAPIRequest) SetParamWaybillOrderConfirmRequest(_paramWaybillOrderConfirmRequest *WaybillOrderConfirmRequest) error
SetParamWaybillOrderConfirmRequest is ParamWaybillOrderConfirmRequest Setter 订单确认信息
type CainiaoWaybillIiConfirmAPIResponse ¶ added in v1.2.5
type CainiaoWaybillIiConfirmAPIResponse struct { model.CommonResponse CainiaoWaybillIiConfirmAPIResponseModel }
CainiaoWaybillIiConfirmAPIResponse 物流订单确认接口 API返回值 cainiao.waybill.ii.confirm
物流订单确认
type CainiaoWaybillIiConfirmAPIResponseModel ¶ added in v1.2.5
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.2.5
type CainiaoWaybillIiDeliveryAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiDeliveryAPIRequest 派件通知接口 API请求 cainiao.waybill.ii.delivery
极效前置场景下的使用此接口,通知进行派件
func NewCainiaoWaybillIiDeliveryRequest ¶ added in v1.2.5
func NewCainiaoWaybillIiDeliveryRequest() *CainiaoWaybillIiDeliveryAPIRequest
NewCainiaoWaybillIiDeliveryRequest 初始化CainiaoWaybillIiDeliveryAPIRequest对象
func (CainiaoWaybillIiDeliveryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r CainiaoWaybillIiDeliveryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiDeliveryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r CainiaoWaybillIiDeliveryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiDeliveryAPIRequest) GetCpCode ¶ added in v1.2.5
func (r CainiaoWaybillIiDeliveryAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaoWaybillIiDeliveryAPIRequest) GetDeliveryAction ¶ added in v1.2.5
func (r CainiaoWaybillIiDeliveryAPIRequest) GetDeliveryAction() int64
GetDeliveryAction DeliveryAction Getter
func (CainiaoWaybillIiDeliveryAPIRequest) GetWaybillCode ¶ added in v1.2.5
func (r CainiaoWaybillIiDeliveryAPIRequest) GetWaybillCode() string
GetWaybillCode WaybillCode Getter
func (*CainiaoWaybillIiDeliveryAPIRequest) SetCpCode ¶ added in v1.2.5
func (r *CainiaoWaybillIiDeliveryAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 物流供应商编码
func (*CainiaoWaybillIiDeliveryAPIRequest) SetDeliveryAction ¶ added in v1.2.5
func (r *CainiaoWaybillIiDeliveryAPIRequest) SetDeliveryAction(_deliveryAction int64) error
SetDeliveryAction is DeliveryAction Setter 派送类型,1:通知派送; -1: 通知退回
func (*CainiaoWaybillIiDeliveryAPIRequest) SetWaybillCode ¶ added in v1.2.5
func (r *CainiaoWaybillIiDeliveryAPIRequest) SetWaybillCode(_waybillCode string) error
SetWaybillCode is WaybillCode Setter 面单号
type CainiaoWaybillIiDeliveryAPIResponse ¶ added in v1.2.5
type CainiaoWaybillIiDeliveryAPIResponse struct { model.CommonResponse CainiaoWaybillIiDeliveryAPIResponseModel }
CainiaoWaybillIiDeliveryAPIResponse 派件通知接口 API返回值 cainiao.waybill.ii.delivery
极效前置场景下的使用此接口,通知进行派件
type CainiaoWaybillIiDeliveryAPIResponseModel ¶ added in v1.2.5
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.2.0
type CainiaoWaybillIiGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiGetAPIRequest 电子面单云打印接口 API请求 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
func NewCainiaoWaybillIiGetRequest ¶
func NewCainiaoWaybillIiGetRequest() *CainiaoWaybillIiGetAPIRequest
NewCainiaoWaybillIiGetRequest 初始化CainiaoWaybillIiGetAPIRequest对象
func (CainiaoWaybillIiGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiGetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest ¶ added in v1.2.0
func (r CainiaoWaybillIiGetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest
GetParamWaybillCloudPrintApplyNewRequest ParamWaybillCloudPrintApplyNewRequest Getter
func (*CainiaoWaybillIiGetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest ¶ added in v1.2.0
func (r *CainiaoWaybillIiGetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest(_paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error
SetParamWaybillCloudPrintApplyNewRequest is ParamWaybillCloudPrintApplyNewRequest Setter 入参信息
type CainiaoWaybillIiGetAPIResponse ¶
type CainiaoWaybillIiGetAPIResponse struct { model.CommonResponse CainiaoWaybillIiGetAPIResponseModel }
CainiaoWaybillIiGetAPIResponse 电子面单云打印接口 API返回值 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
type CainiaoWaybillIiGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest 电子面单物流详情授权url获取 API请求 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
func NewCainiaoWaybillIiLogisticsdetailUrlGetRequest ¶
func NewCainiaoWaybillIiLogisticsdetailUrlGetRequest() *CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest
NewCainiaoWaybillIiLogisticsdetailUrlGetRequest 初始化CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest对象
func (CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetCpCode ¶ added in v1.2.0
func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetWaybillCode ¶ added in v1.2.0
func (r CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) GetWaybillCode() string
GetWaybillCode WaybillCode Getter
func (*CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) SetCpCode ¶ added in v1.2.0
func (r *CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 快递公司编码
func (*CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) SetWaybillCode ¶ added in v1.2.0
func (r *CainiaoWaybillIiLogisticsdetailUrlGetAPIRequest) SetWaybillCode(_waybillCode string) error
SetWaybillCode is WaybillCode Setter 电子面单单号
type CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse ¶
type CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse struct { model.CommonResponse CainiaoWaybillIiLogisticsdetailUrlGetAPIResponseModel }
CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse 电子面单物流详情授权url获取 API返回值 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
type CainiaoWaybillIiLogisticsdetailUrlGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoWaybillIiProductAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiProductAPIRequest 商家查询物流商产品类型接口 API请求 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
func NewCainiaoWaybillIiProductRequest ¶
func NewCainiaoWaybillIiProductRequest() *CainiaoWaybillIiProductAPIRequest
NewCainiaoWaybillIiProductRequest 初始化CainiaoWaybillIiProductAPIRequest对象
func (CainiaoWaybillIiProductAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiProductAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiProductAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiProductAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiProductAPIRequest) GetCpCode ¶ added in v1.2.0
func (r CainiaoWaybillIiProductAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (*CainiaoWaybillIiProductAPIRequest) SetCpCode ¶ added in v1.2.0
func (r *CainiaoWaybillIiProductAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 快递公司code
type CainiaoWaybillIiProductAPIResponse ¶
type CainiaoWaybillIiProductAPIResponse struct { model.CommonResponse CainiaoWaybillIiProductAPIResponseModel }
CainiaoWaybillIiProductAPIResponse 商家查询物流商产品类型接口 API返回值 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
type CainiaoWaybillIiProductAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoWaybillIiQueryByTradecodeAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiQueryByTradecodeAPIRequest 通过订单号查询电子面单通接口 API请求 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
func NewCainiaoWaybillIiQueryByTradecodeRequest ¶
func NewCainiaoWaybillIiQueryByTradecodeRequest() *CainiaoWaybillIiQueryByTradecodeAPIRequest
NewCainiaoWaybillIiQueryByTradecodeRequest 初始化CainiaoWaybillIiQueryByTradecodeAPIRequest对象
func (CainiaoWaybillIiQueryByTradecodeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiQueryByTradecodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiQueryByTradecodeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiQueryByTradecodeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiQueryByTradecodeAPIRequest) GetParamList ¶ added in v1.2.0
func (r CainiaoWaybillIiQueryByTradecodeAPIRequest) GetParamList() []WaybillDetailQueryByBizSubCodeRequest
GetParamList ParamList Getter
func (*CainiaoWaybillIiQueryByTradecodeAPIRequest) SetParamList ¶ added in v1.2.0
func (r *CainiaoWaybillIiQueryByTradecodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByBizSubCodeRequest) error
SetParamList is ParamList Setter 订单号列表
type CainiaoWaybillIiQueryByTradecodeAPIResponse ¶
type CainiaoWaybillIiQueryByTradecodeAPIResponse struct { model.CommonResponse CainiaoWaybillIiQueryByTradecodeAPIResponseModel }
CainiaoWaybillIiQueryByTradecodeAPIResponse 通过订单号查询电子面单通接口 API返回值 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
type CainiaoWaybillIiQueryByTradecodeAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoWaybillIiQueryByWaybillcodeAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiQueryByWaybillcodeAPIRequest 通过面单号查询面单打印报文 API请求 cainiao.waybill.ii.query.by.waybillcode
通过面单号查询面单的打印报文
func NewCainiaoWaybillIiQueryByWaybillcodeRequest ¶
func NewCainiaoWaybillIiQueryByWaybillcodeRequest() *CainiaoWaybillIiQueryByWaybillcodeAPIRequest
NewCainiaoWaybillIiQueryByWaybillcodeRequest 初始化CainiaoWaybillIiQueryByWaybillcodeAPIRequest对象
func (CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetParamList ¶ added in v1.2.0
func (r CainiaoWaybillIiQueryByWaybillcodeAPIRequest) GetParamList() []WaybillDetailQueryByWaybillCodeRequest
GetParamList ParamList Getter
func (*CainiaoWaybillIiQueryByWaybillcodeAPIRequest) SetParamList ¶ added in v1.2.0
func (r *CainiaoWaybillIiQueryByWaybillcodeAPIRequest) SetParamList(_paramList []WaybillDetailQueryByWaybillCodeRequest) error
SetParamList is ParamList Setter 系统自动生成
type CainiaoWaybillIiQueryByWaybillcodeAPIResponse ¶
type CainiaoWaybillIiQueryByWaybillcodeAPIResponse struct { model.CommonResponse CainiaoWaybillIiQueryByWaybillcodeAPIResponseModel }
CainiaoWaybillIiQueryByWaybillcodeAPIResponse 通过面单号查询面单打印报文 API返回值 cainiao.waybill.ii.query.by.waybillcode
通过面单号查询面单的打印报文
type CainiaoWaybillIiQueryByWaybillcodeAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoWaybillIiSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiSearchAPIRequest 查询面单服务订购及面单使用情况 API请求 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
func NewCainiaoWaybillIiSearchRequest ¶
func NewCainiaoWaybillIiSearchRequest() *CainiaoWaybillIiSearchAPIRequest
NewCainiaoWaybillIiSearchRequest 初始化CainiaoWaybillIiSearchAPIRequest对象
func (CainiaoWaybillIiSearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiSearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiSearchAPIRequest) GetCpCode ¶ added in v1.2.0
func (r CainiaoWaybillIiSearchAPIRequest) GetCpCode() string
GetCpCode CpCode Getter
func (*CainiaoWaybillIiSearchAPIRequest) SetCpCode ¶ added in v1.2.0
func (r *CainiaoWaybillIiSearchAPIRequest) SetCpCode(_cpCode string) error
SetCpCode is CpCode Setter 物流公司code
type CainiaoWaybillIiSearchAPIResponse ¶
type CainiaoWaybillIiSearchAPIResponse struct { model.CommonResponse CainiaoWaybillIiSearchAPIResponseModel }
CainiaoWaybillIiSearchAPIResponse 查询面单服务订购及面单使用情况 API返回值 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
type CainiaoWaybillIiSearchAPIResponseModel ¶ added in v1.2.0
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.2.0
type CainiaoWaybillIiUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillIiUpdateAPIRequest 电子面单云打印更新接口 API请求 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
func NewCainiaoWaybillIiUpdateRequest ¶
func NewCainiaoWaybillIiUpdateRequest() *CainiaoWaybillIiUpdateAPIRequest
NewCainiaoWaybillIiUpdateRequest 初始化CainiaoWaybillIiUpdateAPIRequest对象
func (CainiaoWaybillIiUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillIiUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillIiUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiUpdateAPIRequest) GetParamWaybillCloudPrintUpdateRequest ¶ added in v1.2.0
func (r CainiaoWaybillIiUpdateAPIRequest) GetParamWaybillCloudPrintUpdateRequest() *WaybillCloudPrintUpdateRequest
GetParamWaybillCloudPrintUpdateRequest ParamWaybillCloudPrintUpdateRequest Getter
func (*CainiaoWaybillIiUpdateAPIRequest) SetParamWaybillCloudPrintUpdateRequest ¶ added in v1.2.0
func (r *CainiaoWaybillIiUpdateAPIRequest) SetParamWaybillCloudPrintUpdateRequest(_paramWaybillCloudPrintUpdateRequest *WaybillCloudPrintUpdateRequest) error
SetParamWaybillCloudPrintUpdateRequest is ParamWaybillCloudPrintUpdateRequest Setter 更新请求信息
type CainiaoWaybillIiUpdateAPIResponse ¶
type CainiaoWaybillIiUpdateAPIResponse struct { model.CommonResponse CainiaoWaybillIiUpdateAPIResponseModel }
CainiaoWaybillIiUpdateAPIResponse 电子面单云打印更新接口 API返回值 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
type CainiaoWaybillIiUpdateAPIResponseModel ¶ added in v1.2.0
type CainiaoWaybillIiUpdateAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_ii_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 模板内容 PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"` }
CainiaoWaybillIiUpdateAPIResponseModel is 电子面单云打印更新接口 成功返回结果
type CainiaoWaybillPrivacySellerOrderGetAPIRequest ¶ added in v1.2.0
CainiaoWaybillPrivacySellerOrderGetAPIRequest 隐私面单商家订单查询 API请求 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
func NewCainiaoWaybillPrivacySellerOrderGetRequest ¶
func NewCainiaoWaybillPrivacySellerOrderGetRequest() *CainiaoWaybillPrivacySellerOrderGetAPIRequest
NewCainiaoWaybillPrivacySellerOrderGetRequest 初始化CainiaoWaybillPrivacySellerOrderGetAPIRequest对象
func (CainiaoWaybillPrivacySellerOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillPrivacySellerOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillPrivacySellerOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillPrivacySellerOrderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type CainiaoWaybillPrivacySellerOrderGetAPIResponse ¶
type CainiaoWaybillPrivacySellerOrderGetAPIResponse struct { model.CommonResponse CainiaoWaybillPrivacySellerOrderGetAPIResponseModel }
CainiaoWaybillPrivacySellerOrderGetAPIResponse 隐私面单商家订单查询 API返回值 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
type CainiaoWaybillPrivacySellerOrderGetAPIResponseModel ¶ added in v1.2.0
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>cainiao_waybill_privacy_seller_order_get_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 ¶
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.2.0
CainiaoWaybillPrivacySubscriptionGetAPIRequest 隐私面单商家订购查询 API请求 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
func NewCainiaoWaybillPrivacySubscriptionGetRequest ¶
func NewCainiaoWaybillPrivacySubscriptionGetRequest() *CainiaoWaybillPrivacySubscriptionGetAPIRequest
NewCainiaoWaybillPrivacySubscriptionGetRequest 初始化CainiaoWaybillPrivacySubscriptionGetAPIRequest对象
func (CainiaoWaybillPrivacySubscriptionGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoWaybillPrivacySubscriptionGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillPrivacySubscriptionGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoWaybillPrivacySubscriptionGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type CainiaoWaybillPrivacySubscriptionGetAPIResponse ¶
type CainiaoWaybillPrivacySubscriptionGetAPIResponse struct { model.CommonResponse CainiaoWaybillPrivacySubscriptionGetAPIResponseModel }
CainiaoWaybillPrivacySubscriptionGetAPIResponse 隐私面单商家订购查询 API返回值 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
type CainiaoWaybillPrivacySubscriptionGetAPIResponseModel ¶ added in v1.2.0
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 ¶
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"` // data Data string `json:"data,omitempty" xml:"data,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMessage ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CloudPrintBaseResult 结构体
type CmdRenderParams ¶
type CmdRenderParams struct { // 打印机名称 PrinterName string `json:"printer_name,omitempty" xml:"printer_name,omitempty"` // 客户端ID ClientId string `json:"client_id,omitempty" xml:"client_id,omitempty"` // 客户端类型:weixin/alipay/native ClientType string `json:"client_type,omitempty" xml:"client_type,omitempty"` // 需要打印的文档,包括模板地址、打印数据 Document *RenderDocument `json:"document,omitempty" xml:"document,omitempty"` // 打印配置 Config *RenderConfig `json:"config,omitempty" xml:"config,omitempty"` }
CmdRenderParams 结构体
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"` // 物品价值,单位元 GoodValue string `json:"good_value,omitempty" xml:"good_value,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"` }
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 RenderConfig ¶
type RenderConfig struct { // 打印方向:normal-正常 reverse-翻转(旋转180°) Orientation string `json:"orientation,omitempty" xml:"orientation,omitempty"` // 下联logo NeedBottomLogo bool `json:"need_bottom_logo,omitempty" xml:"need_bottom_logo,omitempty"` // 中间logo NeedMiddleLogo bool `json:"need_middle_logo,omitempty" xml:"need_middle_logo,omitempty"` // 上联logo NeedTopLogo bool `json:"need_top_logo,omitempty" xml:"need_top_logo,omitempty"` }
RenderConfig 结构体
type RenderContent ¶
type RenderContent struct { // 打印数据 PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"` // 模板url TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"` // 加密数据使用秘钥版本 Ver string `json:"ver,omitempty" xml:"ver,omitempty"` // 数据签名 Signature string `json:"signature,omitempty" xml:"signature,omitempty"` // 附加数据(用于修改数据) AddData string `json:"add_data,omitempty" xml:"add_data,omitempty"` // 是否获取加密数据 Encrypted bool `json:"encrypted,omitempty" xml:"encrypted,omitempty"` }
RenderContent 结构体
type RenderDocument ¶
type RenderDocument struct { // 包含的区域列表。对于有自定义区的文档,content会包含两条,即第一条是标准模板区域内容、第二条是自定义区域内容 Contents []RenderContent `json:"contents,omitempty" xml:"contents>render_content,omitempty"` }
RenderDocument 结构体
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.2.0
type TaobaoWlbWaybillICancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillICancelAPIRequest 商家取消获取的电子面单号v1.0 API请求 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func NewTaobaoWlbWaybillICancelRequest ¶
func NewTaobaoWlbWaybillICancelRequest() *TaobaoWlbWaybillICancelAPIRequest
NewTaobaoWlbWaybillICancelRequest 初始化TaobaoWlbWaybillICancelAPIRequest对象
func (TaobaoWlbWaybillICancelAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillICancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillICancelAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillICancelAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillICancelAPIRequest) GetWaybillApplyCancelRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillICancelAPIRequest) GetWaybillApplyCancelRequest() *WaybillApplyCancelRequest
GetWaybillApplyCancelRequest WaybillApplyCancelRequest Getter
func (*TaobaoWlbWaybillICancelAPIRequest) SetWaybillApplyCancelRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillICancelAPIRequest) SetWaybillApplyCancelRequest(_waybillApplyCancelRequest *WaybillApplyCancelRequest) error
SetWaybillApplyCancelRequest is WaybillApplyCancelRequest Setter 取消接口入参
type TaobaoWlbWaybillICancelAPIResponse ¶
type TaobaoWlbWaybillICancelAPIResponse struct { model.CommonResponse TaobaoWlbWaybillICancelAPIResponseModel }
TaobaoWlbWaybillICancelAPIResponse 商家取消获取的电子面单号v1.0 API返回值 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
type TaobaoWlbWaybillICancelAPIResponseModel ¶ added in v1.2.0
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.2.0
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 ¶
func NewTaobaoWlbWaybillIFullupdateRequest() *TaobaoWlbWaybillIFullupdateAPIRequest
NewTaobaoWlbWaybillIFullupdateRequest 初始化TaobaoWlbWaybillIFullupdateAPIRequest对象
func (TaobaoWlbWaybillIFullupdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillIFullupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIFullupdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillIFullupdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIFullupdateAPIRequest) GetWaybillApplyFullUpdateRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillIFullupdateAPIRequest) GetWaybillApplyFullUpdateRequest() *WaybillApplyFullUpdateRequest
GetWaybillApplyFullUpdateRequest WaybillApplyFullUpdateRequest Getter
func (*TaobaoWlbWaybillIFullupdateAPIRequest) SetWaybillApplyFullUpdateRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillIFullupdateAPIRequest) SetWaybillApplyFullUpdateRequest(_waybillApplyFullUpdateRequest *WaybillApplyFullUpdateRequest) error
SetWaybillApplyFullUpdateRequest is WaybillApplyFullUpdateRequest Setter 更新面单信息请求
type TaobaoWlbWaybillIFullupdateAPIResponse ¶
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.2.0
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.2.0
type TaobaoWlbWaybillIGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillIGetAPIRequest 获取物流服务商电子面单号v1.0 API请求 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
func NewTaobaoWlbWaybillIGetRequest ¶
func NewTaobaoWlbWaybillIGetRequest() *TaobaoWlbWaybillIGetAPIRequest
NewTaobaoWlbWaybillIGetRequest 初始化TaobaoWlbWaybillIGetAPIRequest对象
func (TaobaoWlbWaybillIGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillIGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillIGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIGetAPIRequest) GetWaybillApplyNewRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillIGetAPIRequest) GetWaybillApplyNewRequest() *WaybillApplyNewRequest
GetWaybillApplyNewRequest WaybillApplyNewRequest Getter
func (*TaobaoWlbWaybillIGetAPIRequest) SetWaybillApplyNewRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillIGetAPIRequest) SetWaybillApplyNewRequest(_waybillApplyNewRequest *WaybillApplyNewRequest) error
SetWaybillApplyNewRequest is WaybillApplyNewRequest Setter 面单申请
type TaobaoWlbWaybillIGetAPIResponse ¶
type TaobaoWlbWaybillIGetAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIGetAPIResponseModel }
TaobaoWlbWaybillIGetAPIResponse 获取物流服务商电子面单号v1.0 API返回值 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
type TaobaoWlbWaybillIGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoWlbWaybillIPrintAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillIPrintAPIRequest 打印确认接口v1.0 API请求 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
func NewTaobaoWlbWaybillIPrintRequest ¶
func NewTaobaoWlbWaybillIPrintRequest() *TaobaoWlbWaybillIPrintAPIRequest
NewTaobaoWlbWaybillIPrintRequest 初始化TaobaoWlbWaybillIPrintAPIRequest对象
func (TaobaoWlbWaybillIPrintAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillIPrintAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIPrintAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillIPrintAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIPrintAPIRequest) GetWaybillApplyPrintCheckRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillIPrintAPIRequest) GetWaybillApplyPrintCheckRequest() *WaybillApplyPrintCheckRequest
GetWaybillApplyPrintCheckRequest WaybillApplyPrintCheckRequest Getter
func (*TaobaoWlbWaybillIPrintAPIRequest) SetWaybillApplyPrintCheckRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillIPrintAPIRequest) SetWaybillApplyPrintCheckRequest(_waybillApplyPrintCheckRequest *WaybillApplyPrintCheckRequest) error
SetWaybillApplyPrintCheckRequest is WaybillApplyPrintCheckRequest Setter 打印请求
type TaobaoWlbWaybillIPrintAPIResponse ¶
type TaobaoWlbWaybillIPrintAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIPrintAPIResponseModel }
TaobaoWlbWaybillIPrintAPIResponse 打印确认接口v1.0 API返回值 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
type TaobaoWlbWaybillIPrintAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoWlbWaybillIProductAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillIProductAPIRequest 商家查询物流商产品类型接口 API请求 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
func NewTaobaoWlbWaybillIProductRequest ¶
func NewTaobaoWlbWaybillIProductRequest() *TaobaoWlbWaybillIProductAPIRequest
NewTaobaoWlbWaybillIProductRequest 初始化TaobaoWlbWaybillIProductAPIRequest对象
func (TaobaoWlbWaybillIProductAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillIProductAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIProductAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillIProductAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIProductAPIRequest) GetWaybillProductTypeRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillIProductAPIRequest) GetWaybillProductTypeRequest() *WaybillProductTypeRequest
GetWaybillProductTypeRequest WaybillProductTypeRequest Getter
func (*TaobaoWlbWaybillIProductAPIRequest) SetWaybillProductTypeRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillIProductAPIRequest) SetWaybillProductTypeRequest(_waybillProductTypeRequest *WaybillProductTypeRequest) error
SetWaybillProductTypeRequest is WaybillProductTypeRequest Setter 查询物流商电子面单产品类型入参
type TaobaoWlbWaybillIProductAPIResponse ¶
type TaobaoWlbWaybillIProductAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIProductAPIResponseModel }
TaobaoWlbWaybillIProductAPIResponse 商家查询物流商产品类型接口 API返回值 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
type TaobaoWlbWaybillIProductAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoWlbWaybillIQuerydetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillIQuerydetailAPIRequest 查面单号状态v1.0 API请求 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
func NewTaobaoWlbWaybillIQuerydetailRequest ¶
func NewTaobaoWlbWaybillIQuerydetailRequest() *TaobaoWlbWaybillIQuerydetailAPIRequest
NewTaobaoWlbWaybillIQuerydetailRequest 初始化TaobaoWlbWaybillIQuerydetailAPIRequest对象
func (TaobaoWlbWaybillIQuerydetailAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillIQuerydetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIQuerydetailAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillIQuerydetailAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIQuerydetailAPIRequest) GetWaybillDetailQueryRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillIQuerydetailAPIRequest) GetWaybillDetailQueryRequest() *WaybillDetailQueryRequest
GetWaybillDetailQueryRequest WaybillDetailQueryRequest Getter
func (*TaobaoWlbWaybillIQuerydetailAPIRequest) SetWaybillDetailQueryRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillIQuerydetailAPIRequest) SetWaybillDetailQueryRequest(_waybillDetailQueryRequest *WaybillDetailQueryRequest) error
SetWaybillDetailQueryRequest is WaybillDetailQueryRequest Setter 面单查询请求
type TaobaoWlbWaybillIQuerydetailAPIResponse ¶
type TaobaoWlbWaybillIQuerydetailAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIQuerydetailAPIResponseModel }
TaobaoWlbWaybillIQuerydetailAPIResponse 查面单号状态v1.0 API返回值 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
type TaobaoWlbWaybillIQuerydetailAPIResponseModel ¶ added in v1.2.0
type TaobaoWlbWaybillIQuerydetailAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_i_querydetail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,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"` // 面单查询错误编码 ErrorCodes []string `json:"error_codes,omitempty" xml:"error_codes>string,omitempty"` // 查询是否成功 QuerySuccess bool `json:"query_success,omitempty" xml:"query_success,omitempty"` }
TaobaoWlbWaybillIQuerydetailAPIResponseModel is 查面单号状态v1.0 成功返回结果
type TaobaoWlbWaybillISearchAPIRequest ¶ added in v1.2.0
type TaobaoWlbWaybillISearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillISearchAPIRequest 查询面单服务订购及面单使用情况v1.0 API请求 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
func NewTaobaoWlbWaybillISearchRequest ¶
func NewTaobaoWlbWaybillISearchRequest() *TaobaoWlbWaybillISearchAPIRequest
NewTaobaoWlbWaybillISearchRequest 初始化TaobaoWlbWaybillISearchAPIRequest对象
func (TaobaoWlbWaybillISearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoWlbWaybillISearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillISearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoWlbWaybillISearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillISearchAPIRequest) GetWaybillApplyRequest ¶ added in v1.2.0
func (r TaobaoWlbWaybillISearchAPIRequest) GetWaybillApplyRequest() *WaybillApplyRequest
GetWaybillApplyRequest WaybillApplyRequest Getter
func (*TaobaoWlbWaybillISearchAPIRequest) SetWaybillApplyRequest ¶ added in v1.2.0
func (r *TaobaoWlbWaybillISearchAPIRequest) SetWaybillApplyRequest(_waybillApplyRequest *WaybillApplyRequest) error
SetWaybillApplyRequest is WaybillApplyRequest Setter 查询网点信息
type TaobaoWlbWaybillISearchAPIResponse ¶
type TaobaoWlbWaybillISearchAPIResponse struct { model.CommonResponse TaobaoWlbWaybillISearchAPIResponseModel }
TaobaoWlbWaybillISearchAPIResponse 查询面单服务订购及面单使用情况v1.0 API返回值 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
type TaobaoWlbWaybillISearchAPIResponseModel ¶ added in v1.2.0
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"` // 面单号, 子母件模式下为子面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,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"` // 子母件中的母单号,当为子母件模式时,需要此单号为实际挂载物流详情的单号,需要使用此单号进行发货,查询物流详情,非子母件,此字段为空 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 { // 包裹里面的商品类型 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"` // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 发货网点编码 ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 发件人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 收件人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 揽收时间 PickupTime string `json:"pickup_time,omitempty" xml:"pickup_time,omitempty"` // 物流商编码CODE CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 最后一次打印时间 LastPrintTime string `json:"last_print_time,omitempty" xml:"last_print_time,omitempty"` // 电子面单信息 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 大头笔信息 ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 签收时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 发货网点信息 ShippingBranchName string `json:"shipping_branch_name,omitempty" xml:"shipping_branch_name,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"` // 收件人联系方式 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // ERP订单号或包裹号 PackageId string `json:"package_id,omitempty" xml:"package_id,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"` // 打印配置项 PrintConfig string `json:"print_config,omitempty" xml:"print_config,omitempty"` // 包裹体积 单位为ML(毫升)或立方厘米 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 面单状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 打印次数 PrintCount int64 `json:"print_count,omitempty" xml:"print_count,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹重量 单位为G(克) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 收货人地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` }
WaybillDetailQueryInfo 结构体
type WaybillDetailQueryRequest ¶
type WaybillDetailQueryRequest struct { // 电子面单单号 WaybillCodes []string `json:"waybill_codes,omitempty" xml:"waybill_codes>string,omitempty"` // 交易订单号 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // CP快递公司编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 0:根据cp_code和waybil_code查询;1:根据订单号查询 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
- CainiaoCloudprintCmdprintRenderAPIRequest.go
- CainiaoCloudprintCmdprintRenderAPIResponse.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
- CmdRenderParams.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
- RenderConfig.go
- RenderContent.go
- RenderDocument.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