Documentation ¶
Overview ¶
电子面单API model
Index ¶
- type Address
- type AddressArea
- type AddressDto
- type CainiaoCloudprintClientinfoPutAPIResponse
- type CainiaoCloudprintClientinfoPutRequest
- type CainiaoCloudprintClientinfoPutResponse
- type CainiaoCloudprintCmdprintRenderAPIResponse
- type CainiaoCloudprintCmdprintRenderRequest
- func (r CainiaoCloudprintCmdprintRenderRequest) GetApiMethodName() string
- func (r CainiaoCloudprintCmdprintRenderRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintCmdprintRenderRequest) GetParams() *CmdRenderParams
- func (r *CainiaoCloudprintCmdprintRenderRequest) SetParams(params *CmdRenderParams) error
- type CainiaoCloudprintCmdprintRenderResponse
- type CainiaoCloudprintCustomareaUpdateAPIResponse
- type CainiaoCloudprintCustomareaUpdateRequest
- func (r CainiaoCloudprintCustomareaUpdateRequest) GetApiMethodName() string
- func (r CainiaoCloudprintCustomareaUpdateRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaContent() string
- func (r CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaId() int64
- func (r CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaName() string
- func (r *CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaContent(customAreaContent string) error
- func (r *CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaId(customAreaId int64) error
- func (r *CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaName(customAreaName string) error
- type CainiaoCloudprintCustomareaUpdateResponse
- type CainiaoCloudprintCustomaresGetAPIResponse
- type CainiaoCloudprintCustomaresGetRequest
- func (r CainiaoCloudprintCustomaresGetRequest) GetApiMethodName() string
- func (r CainiaoCloudprintCustomaresGetRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintCustomaresGetRequest) GetTemplateId() int64
- func (r *CainiaoCloudprintCustomaresGetRequest) SetTemplateId(templateId int64) error
- type CainiaoCloudprintCustomaresGetResponse
- type CainiaoCloudprintIsvResourcesGetAPIResponse
- type CainiaoCloudprintIsvResourcesGetRequest
- func (r CainiaoCloudprintIsvResourcesGetRequest) GetApiMethodName() string
- func (r CainiaoCloudprintIsvResourcesGetRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintIsvResourcesGetRequest) GetIsvResourceType() string
- func (r *CainiaoCloudprintIsvResourcesGetRequest) SetIsvResourceType(isvResourceType string) error
- type CainiaoCloudprintIsvResourcesGetResponse
- type CainiaoCloudprintIsvtemplatesGetAPIResponse
- type CainiaoCloudprintIsvtemplatesGetRequest
- type CainiaoCloudprintIsvtemplatesGetResponse
- type CainiaoCloudprintMystdtemplatesGetAPIResponse
- type CainiaoCloudprintMystdtemplatesGetRequest
- type CainiaoCloudprintMystdtemplatesGetResponse
- type CainiaoCloudprintSingleCustomareaGetAPIResponse
- type CainiaoCloudprintSingleCustomareaGetRequest
- func (r CainiaoCloudprintSingleCustomareaGetRequest) GetApiMethodName() string
- func (r CainiaoCloudprintSingleCustomareaGetRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintSingleCustomareaGetRequest) GetSellerId() int64
- func (r *CainiaoCloudprintSingleCustomareaGetRequest) SetSellerId(sellerId int64) error
- type CainiaoCloudprintSingleCustomareaGetResponse
- type CainiaoCloudprintStdtemplatesGetAPIResponse
- type CainiaoCloudprintStdtemplatesGetRequest
- type CainiaoCloudprintStdtemplatesGetResponse
- type CainiaoCloudprintTemplatesMigrateAPIResponse
- type CainiaoCloudprintTemplatesMigrateRequest
- func (r CainiaoCloudprintTemplatesMigrateRequest) GetApiMethodName() string
- func (r CainiaoCloudprintTemplatesMigrateRequest) GetApiParams() url.Values
- func (r CainiaoCloudprintTemplatesMigrateRequest) GetCustomAreaContent() string
- func (r CainiaoCloudprintTemplatesMigrateRequest) GetCustomAreaName() string
- func (r CainiaoCloudprintTemplatesMigrateRequest) GetTempalteId() int64
- func (r *CainiaoCloudprintTemplatesMigrateRequest) SetCustomAreaContent(customAreaContent string) error
- func (r *CainiaoCloudprintTemplatesMigrateRequest) SetCustomAreaName(customAreaName string) error
- func (r *CainiaoCloudprintTemplatesMigrateRequest) SetTempalteId(tempalteId int64) error
- type CainiaoCloudprintTemplatesMigrateResponse
- type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse
- type CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest
- func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetApiMethodName() string
- func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetApiParams() url.Values
- func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetWarehouseId() int64
- func (r *CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) SetWarehouseId(warehouseId int64) error
- type CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse
- type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse
- type CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest
- func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetApiMethodName() string
- func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetApiParams() url.Values
- func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetDeliveryStrategySetRequest() *DeliveryStrategySetRequest
- func (r *CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) SetDeliveryStrategySetRequest(deliveryStrategySetRequest *DeliveryStrategySetRequest) error
- type CainiaoSmartdeliveryStrategyWarehouseIUpdateResponse
- type CainiaoWaybillIiCancelAPIResponse
- type CainiaoWaybillIiCancelRequest
- func (r CainiaoWaybillIiCancelRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiCancelRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiCancelRequest) GetCpCode() string
- func (r CainiaoWaybillIiCancelRequest) GetWaybillCode() string
- func (r *CainiaoWaybillIiCancelRequest) SetCpCode(cpCode string) error
- func (r *CainiaoWaybillIiCancelRequest) SetWaybillCode(waybillCode string) error
- type CainiaoWaybillIiCancelResponse
- type CainiaoWaybillIiGetAPIResponse
- type CainiaoWaybillIiGetRequest
- func (r CainiaoWaybillIiGetRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiGetRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiGetRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest
- func (r *CainiaoWaybillIiGetRequest) SetParamWaybillCloudPrintApplyNewRequest(paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error
- type CainiaoWaybillIiGetResponse
- type CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse
- type CainiaoWaybillIiLogisticsdetailUrlGetRequest
- func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetCpCode() string
- func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetWaybillCode() string
- func (r *CainiaoWaybillIiLogisticsdetailUrlGetRequest) SetCpCode(cpCode string) error
- func (r *CainiaoWaybillIiLogisticsdetailUrlGetRequest) SetWaybillCode(waybillCode string) error
- type CainiaoWaybillIiLogisticsdetailUrlGetResponse
- type CainiaoWaybillIiProductAPIResponse
- type CainiaoWaybillIiProductRequest
- type CainiaoWaybillIiProductResponse
- type CainiaoWaybillIiQueryByTradecodeAPIResponse
- type CainiaoWaybillIiQueryByTradecodeRequest
- func (r CainiaoWaybillIiQueryByTradecodeRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiQueryByTradecodeRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiQueryByTradecodeRequest) GetParamList() []WaybillDetailQueryByBizSubCodeRequest
- func (r *CainiaoWaybillIiQueryByTradecodeRequest) SetParamList(paramList []WaybillDetailQueryByBizSubCodeRequest) error
- type CainiaoWaybillIiQueryByTradecodeResponse
- type CainiaoWaybillIiQueryByWaybillcodeAPIResponse
- type CainiaoWaybillIiQueryByWaybillcodeRequest
- func (r CainiaoWaybillIiQueryByWaybillcodeRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiQueryByWaybillcodeRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiQueryByWaybillcodeRequest) GetParamList() []WaybillDetailQueryByWaybillCodeRequest
- func (r *CainiaoWaybillIiQueryByWaybillcodeRequest) SetParamList(paramList []WaybillDetailQueryByWaybillCodeRequest) error
- type CainiaoWaybillIiQueryByWaybillcodeResponse
- type CainiaoWaybillIiSearchAPIResponse
- type CainiaoWaybillIiSearchRequest
- type CainiaoWaybillIiSearchResponse
- type CainiaoWaybillIiUpdateAPIResponse
- type CainiaoWaybillIiUpdateRequest
- func (r CainiaoWaybillIiUpdateRequest) GetApiMethodName() string
- func (r CainiaoWaybillIiUpdateRequest) GetApiParams() url.Values
- func (r CainiaoWaybillIiUpdateRequest) GetParamWaybillCloudPrintUpdateRequest() *WaybillCloudPrintUpdateRequest
- func (r *CainiaoWaybillIiUpdateRequest) SetParamWaybillCloudPrintUpdateRequest(paramWaybillCloudPrintUpdateRequest *WaybillCloudPrintUpdateRequest) error
- type CainiaoWaybillIiUpdateResponse
- type CainiaoWaybillPrivacySellerOrderGetAPIResponse
- type CainiaoWaybillPrivacySellerOrderGetModule
- type CainiaoWaybillPrivacySellerOrderGetRequest
- type CainiaoWaybillPrivacySellerOrderGetResponse
- type CainiaoWaybillPrivacySubscriptionGetAPIResponse
- type CainiaoWaybillPrivacySubscriptionGetRequest
- type CainiaoWaybillPrivacySubscriptionGetResponse
- type CainiaoWaybillPrivacySubscriptionGetResult
- type CloudPrintBaseResult
- type CmdRenderParams
- type CpInfo
- type CustomAreaResult
- type CustomAreaSingleResult
- type CustomTemplateResult
- type DeliveryStrategyInfo
- type DeliveryStrategySetRequest
- type IsvResourceDo
- type Item
- type KeyResult
- type LogisticsService
- type OrderInfoDto
- type PackageInfoDto
- type PackageItem
- type PrintCheckInfo
- type RecipientInfoDto
- type RenderConfig
- type RenderContent
- type RenderDocument
- type ServiceAttributeDto
- type ServiceInfoDto
- type SpecialRouteInfo
- type StandardTemplateDo
- type StandardTemplateResult
- type TaobaoWlbWaybillICancelAPIResponse
- type TaobaoWlbWaybillICancelRequest
- func (r TaobaoWlbWaybillICancelRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillICancelRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillICancelRequest) GetWaybillApplyCancelRequest() *WaybillApplyCancelRequest
- func (r *TaobaoWlbWaybillICancelRequest) SetWaybillApplyCancelRequest(waybillApplyCancelRequest *WaybillApplyCancelRequest) error
- type TaobaoWlbWaybillICancelResponse
- type TaobaoWlbWaybillIFullupdateAPIResponse
- type TaobaoWlbWaybillIFullupdateRequest
- func (r TaobaoWlbWaybillIFullupdateRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillIFullupdateRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillIFullupdateRequest) GetWaybillApplyFullUpdateRequest() *WaybillApplyFullUpdateRequest
- func (r *TaobaoWlbWaybillIFullupdateRequest) SetWaybillApplyFullUpdateRequest(waybillApplyFullUpdateRequest *WaybillApplyFullUpdateRequest) error
- type TaobaoWlbWaybillIFullupdateResponse
- type TaobaoWlbWaybillIGetAPIResponse
- type TaobaoWlbWaybillIGetRequest
- func (r TaobaoWlbWaybillIGetRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillIGetRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillIGetRequest) GetWaybillApplyNewRequest() *WaybillApplyNewRequest
- func (r *TaobaoWlbWaybillIGetRequest) SetWaybillApplyNewRequest(waybillApplyNewRequest *WaybillApplyNewRequest) error
- type TaobaoWlbWaybillIGetResponse
- type TaobaoWlbWaybillIPrintAPIResponse
- type TaobaoWlbWaybillIPrintRequest
- func (r TaobaoWlbWaybillIPrintRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillIPrintRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillIPrintRequest) GetWaybillApplyPrintCheckRequest() *WaybillApplyPrintCheckRequest
- func (r *TaobaoWlbWaybillIPrintRequest) SetWaybillApplyPrintCheckRequest(waybillApplyPrintCheckRequest *WaybillApplyPrintCheckRequest) error
- type TaobaoWlbWaybillIPrintResponse
- type TaobaoWlbWaybillIProductAPIResponse
- type TaobaoWlbWaybillIProductRequest
- func (r TaobaoWlbWaybillIProductRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillIProductRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillIProductRequest) GetWaybillProductTypeRequest() *WaybillProductTypeRequest
- func (r *TaobaoWlbWaybillIProductRequest) SetWaybillProductTypeRequest(waybillProductTypeRequest *WaybillProductTypeRequest) error
- type TaobaoWlbWaybillIProductResponse
- type TaobaoWlbWaybillIQuerydetailAPIResponse
- type TaobaoWlbWaybillIQuerydetailRequest
- func (r TaobaoWlbWaybillIQuerydetailRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillIQuerydetailRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillIQuerydetailRequest) GetWaybillDetailQueryRequest() *WaybillDetailQueryRequest
- func (r *TaobaoWlbWaybillIQuerydetailRequest) SetWaybillDetailQueryRequest(waybillDetailQueryRequest *WaybillDetailQueryRequest) error
- type TaobaoWlbWaybillIQuerydetailResponse
- type TaobaoWlbWaybillISearchAPIResponse
- type TaobaoWlbWaybillISearchRequest
- func (r TaobaoWlbWaybillISearchRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillISearchRequest) GetApiParams() url.Values
- func (r TaobaoWlbWaybillISearchRequest) GetWaybillApplyRequest() *WaybillApplyRequest
- func (r *TaobaoWlbWaybillISearchRequest) SetWaybillApplyRequest(waybillApplyRequest *WaybillApplyRequest) error
- type TaobaoWlbWaybillISearchResponse
- 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 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 { // 城市,长度小于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"` }
AddressDto
type CainiaoCloudprintClientinfoPutAPIResponse ¶
type CainiaoCloudprintClientinfoPutAPIResponse struct { model.CommonResponse CainiaoCloudprintClientinfoPutResponse }
云打印客户端监控信息收集 API返回值 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
type CainiaoCloudprintClientinfoPutRequest ¶
type CainiaoCloudprintClientinfoPutRequest struct { model.Params // contains filtered or unexported fields }
云打印客户端监控信息收集 API请求 cainiao.cloudprint.clientinfo.put
云打印客户端监控信息收集
func NewCainiaoCloudprintClientinfoPutRequest ¶
func NewCainiaoCloudprintClientinfoPutRequest() *CainiaoCloudprintClientinfoPutRequest
初始化CainiaoCloudprintClientinfoPutRequest对象
func (CainiaoCloudprintClientinfoPutRequest) GetApiMethodName ¶
func (r CainiaoCloudprintClientinfoPutRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintClientinfoPutRequest) GetApiParams ¶
func (r CainiaoCloudprintClientinfoPutRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintClientinfoPutRequest) GetJsonData ¶
func (r CainiaoCloudprintClientinfoPutRequest) GetJsonData() string
JsonData Getter
func (*CainiaoCloudprintClientinfoPutRequest) SetJsonData ¶
func (r *CainiaoCloudprintClientinfoPutRequest) SetJsonData(jsonData string) error
JsonData Setter 客户端上传json数据
type CainiaoCloudprintClientinfoPutResponse ¶
type CainiaoCloudprintClientinfoPutResponse 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"` }
云打印客户端监控信息收集 成功返回结果
type CainiaoCloudprintCmdprintRenderAPIResponse ¶
type CainiaoCloudprintCmdprintRenderAPIResponse struct { model.CommonResponse CainiaoCloudprintCmdprintRenderResponse }
生成打印机渲染命令(通过打印机命令打印) API返回值 cainiao.cloudprint.cmdprint.render
isv 进行无线打印,需要将渲染数据传给打印机,通过生成打印机命令的方式能够最大限度的减少移动设备和打印机之间通信数据量。
type CainiaoCloudprintCmdprintRenderRequest ¶
type CainiaoCloudprintCmdprintRenderRequest struct { model.Params // contains filtered or unexported fields }
生成打印机渲染命令(通过打印机命令打印) API请求 cainiao.cloudprint.cmdprint.render
isv 进行无线打印,需要将渲染数据传给打印机,通过生成打印机命令的方式能够最大限度的减少移动设备和打印机之间通信数据量。
func NewCainiaoCloudprintCmdprintRenderRequest ¶
func NewCainiaoCloudprintCmdprintRenderRequest() *CainiaoCloudprintCmdprintRenderRequest
初始化CainiaoCloudprintCmdprintRenderRequest对象
func (CainiaoCloudprintCmdprintRenderRequest) GetApiMethodName ¶
func (r CainiaoCloudprintCmdprintRenderRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintCmdprintRenderRequest) GetApiParams ¶
func (r CainiaoCloudprintCmdprintRenderRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintCmdprintRenderRequest) GetParams ¶
func (r CainiaoCloudprintCmdprintRenderRequest) GetParams() *CmdRenderParams
Params Getter
func (*CainiaoCloudprintCmdprintRenderRequest) SetParams ¶
func (r *CainiaoCloudprintCmdprintRenderRequest) SetParams(params *CmdRenderParams) error
Params Setter 参数对象
type CainiaoCloudprintCmdprintRenderResponse ¶
type CainiaoCloudprintCmdprintRenderResponse 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"` }
生成打印机渲染命令(通过打印机命令打印) 成功返回结果
type CainiaoCloudprintCustomareaUpdateAPIResponse ¶
type CainiaoCloudprintCustomareaUpdateAPIResponse struct { model.CommonResponse CainiaoCloudprintCustomareaUpdateResponse }
自定义区内容更新 API返回值 cainiao.cloudprint.customarea.update
自定义区内容更新
type CainiaoCloudprintCustomareaUpdateRequest ¶
type CainiaoCloudprintCustomareaUpdateRequest struct { model.Params // contains filtered or unexported fields }
自定义区内容更新 API请求 cainiao.cloudprint.customarea.update
自定义区内容更新
func NewCainiaoCloudprintCustomareaUpdateRequest ¶
func NewCainiaoCloudprintCustomareaUpdateRequest() *CainiaoCloudprintCustomareaUpdateRequest
初始化CainiaoCloudprintCustomareaUpdateRequest对象
func (CainiaoCloudprintCustomareaUpdateRequest) GetApiMethodName ¶
func (r CainiaoCloudprintCustomareaUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintCustomareaUpdateRequest) GetApiParams ¶
func (r CainiaoCloudprintCustomareaUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaContent ¶
func (r CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaContent() string
CustomAreaContent Getter
func (CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaId ¶
func (r CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaId() int64
CustomAreaId Getter
func (CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaName ¶
func (r CainiaoCloudprintCustomareaUpdateRequest) GetCustomAreaName() string
CustomAreaName Getter
func (*CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaContent ¶
func (r *CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaContent(customAreaContent string) error
CustomAreaContent Setter 自定义区内容(可修改)
func (*CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaId ¶
func (r *CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaId(customAreaId int64) error
CustomAreaId Setter 自定义区id(不可修改)
func (*CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaName ¶
func (r *CainiaoCloudprintCustomareaUpdateRequest) SetCustomAreaName(customAreaName string) error
CustomAreaName Setter 自定义区名称(可修改)
type CainiaoCloudprintCustomareaUpdateResponse ¶
type CainiaoCloudprintCustomareaUpdateResponse 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"` }
自定义区内容更新 成功返回结果
type CainiaoCloudprintCustomaresGetAPIResponse ¶
type CainiaoCloudprintCustomaresGetAPIResponse struct { model.CommonResponse CainiaoCloudprintCustomaresGetResponse }
获取商家的自定义区模板信息 API返回值 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
type CainiaoCloudprintCustomaresGetRequest ¶
type CainiaoCloudprintCustomaresGetRequest struct { model.Params // contains filtered or unexported fields }
获取商家的自定义区模板信息 API请求 cainiao.cloudprint.customares.get
供isv使用,获取商家的自定义区的模板信息
func NewCainiaoCloudprintCustomaresGetRequest ¶
func NewCainiaoCloudprintCustomaresGetRequest() *CainiaoCloudprintCustomaresGetRequest
初始化CainiaoCloudprintCustomaresGetRequest对象
func (CainiaoCloudprintCustomaresGetRequest) GetApiMethodName ¶
func (r CainiaoCloudprintCustomaresGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintCustomaresGetRequest) GetApiParams ¶
func (r CainiaoCloudprintCustomaresGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintCustomaresGetRequest) GetTemplateId ¶
func (r CainiaoCloudprintCustomaresGetRequest) GetTemplateId() int64
TemplateId Getter
func (*CainiaoCloudprintCustomaresGetRequest) SetTemplateId ¶
func (r *CainiaoCloudprintCustomaresGetRequest) SetTemplateId(templateId int64) error
TemplateId Setter 用户使用的标准模板id
type CainiaoCloudprintCustomaresGetResponse ¶
type CainiaoCloudprintCustomaresGetResponse 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"` }
获取商家的自定义区模板信息 成功返回结果
type CainiaoCloudprintIsvResourcesGetAPIResponse ¶
type CainiaoCloudprintIsvResourcesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintIsvResourcesGetResponse }
isv资源查询 API返回值 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
type CainiaoCloudprintIsvResourcesGetRequest ¶
type CainiaoCloudprintIsvResourcesGetRequest struct { model.Params // contains filtered or unexported fields }
isv资源查询 API请求 cainiao.cloudprint.isv.resources.get
isv资源查询,包括isv模板、打印项、预设的自定义区等
func NewCainiaoCloudprintIsvResourcesGetRequest ¶
func NewCainiaoCloudprintIsvResourcesGetRequest() *CainiaoCloudprintIsvResourcesGetRequest
初始化CainiaoCloudprintIsvResourcesGetRequest对象
func (CainiaoCloudprintIsvResourcesGetRequest) GetApiMethodName ¶
func (r CainiaoCloudprintIsvResourcesGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintIsvResourcesGetRequest) GetApiParams ¶
func (r CainiaoCloudprintIsvResourcesGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintIsvResourcesGetRequest) GetIsvResourceType ¶
func (r CainiaoCloudprintIsvResourcesGetRequest) GetIsvResourceType() string
IsvResourceType Getter
func (*CainiaoCloudprintIsvResourcesGetRequest) SetIsvResourceType ¶
func (r *CainiaoCloudprintIsvResourcesGetRequest) SetIsvResourceType(isvResourceType string) error
IsvResourceType Setter isv资源类型,分为:TEMPLATE(表示模板),PRINT_ITEM(打印项),CUSTOM_AREA(预设自定义区)
type CainiaoCloudprintIsvResourcesGetResponse ¶
type CainiaoCloudprintIsvResourcesGetResponse 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"` }
isv资源查询 成功返回结果
type CainiaoCloudprintIsvtemplatesGetAPIResponse ¶
type CainiaoCloudprintIsvtemplatesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintIsvtemplatesGetResponse }
获取商家使用的标准模板 API返回值 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
type CainiaoCloudprintIsvtemplatesGetRequest ¶
获取商家使用的标准模板 API请求 cainiao.cloudprint.isvtemplates.get
获取商家使用的标准模板
func NewCainiaoCloudprintIsvtemplatesGetRequest ¶
func NewCainiaoCloudprintIsvtemplatesGetRequest() *CainiaoCloudprintIsvtemplatesGetRequest
初始化CainiaoCloudprintIsvtemplatesGetRequest对象
func (CainiaoCloudprintIsvtemplatesGetRequest) GetApiMethodName ¶
func (r CainiaoCloudprintIsvtemplatesGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintIsvtemplatesGetRequest) GetApiParams ¶
func (r CainiaoCloudprintIsvtemplatesGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
type CainiaoCloudprintIsvtemplatesGetResponse ¶
type CainiaoCloudprintIsvtemplatesGetResponse 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"` // result Result *CloudPrintBaseResult `json:"result,omitempty" xml:"result,omitempty"` }
获取商家使用的标准模板 成功返回结果
type CainiaoCloudprintMystdtemplatesGetAPIResponse ¶
type CainiaoCloudprintMystdtemplatesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintMystdtemplatesGetResponse }
获取用户使用的菜鸟电子面单模板信息 API返回值 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
type CainiaoCloudprintMystdtemplatesGetRequest ¶
获取用户使用的菜鸟电子面单模板信息 API请求 cainiao.cloudprint.mystdtemplates.get
获取用户使用的菜鸟电子面单
func NewCainiaoCloudprintMystdtemplatesGetRequest ¶
func NewCainiaoCloudprintMystdtemplatesGetRequest() *CainiaoCloudprintMystdtemplatesGetRequest
初始化CainiaoCloudprintMystdtemplatesGetRequest对象
func (CainiaoCloudprintMystdtemplatesGetRequest) GetApiMethodName ¶
func (r CainiaoCloudprintMystdtemplatesGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintMystdtemplatesGetRequest) GetApiParams ¶
func (r CainiaoCloudprintMystdtemplatesGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
type CainiaoCloudprintMystdtemplatesGetResponse ¶
type CainiaoCloudprintMystdtemplatesGetResponse 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"` }
获取用户使用的菜鸟电子面单模板信息 成功返回结果
type CainiaoCloudprintSingleCustomareaGetAPIResponse ¶
type CainiaoCloudprintSingleCustomareaGetAPIResponse struct { model.CommonResponse CainiaoCloudprintSingleCustomareaGetResponse }
获取商家单一自定义区 API返回值 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
type CainiaoCloudprintSingleCustomareaGetRequest ¶
type CainiaoCloudprintSingleCustomareaGetRequest struct { model.Params // contains filtered or unexported fields }
获取商家单一自定义区 API请求 cainiao.cloudprint.single.customarea.get
商家所有快递公司模板只有一个自定义区
func NewCainiaoCloudprintSingleCustomareaGetRequest ¶
func NewCainiaoCloudprintSingleCustomareaGetRequest() *CainiaoCloudprintSingleCustomareaGetRequest
初始化CainiaoCloudprintSingleCustomareaGetRequest对象
func (CainiaoCloudprintSingleCustomareaGetRequest) GetApiMethodName ¶
func (r CainiaoCloudprintSingleCustomareaGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintSingleCustomareaGetRequest) GetApiParams ¶
func (r CainiaoCloudprintSingleCustomareaGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintSingleCustomareaGetRequest) GetSellerId ¶
func (r CainiaoCloudprintSingleCustomareaGetRequest) GetSellerId() int64
SellerId Getter
func (*CainiaoCloudprintSingleCustomareaGetRequest) SetSellerId ¶
func (r *CainiaoCloudprintSingleCustomareaGetRequest) SetSellerId(sellerId int64) error
SellerId Setter 这是商家用户id
type CainiaoCloudprintSingleCustomareaGetResponse ¶
type CainiaoCloudprintSingleCustomareaGetResponse 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"` }
获取商家单一自定义区 成功返回结果
type CainiaoCloudprintStdtemplatesGetAPIResponse ¶
type CainiaoCloudprintStdtemplatesGetAPIResponse struct { model.CommonResponse CainiaoCloudprintStdtemplatesGetResponse }
获取所有的菜鸟标准电子面单模板 API返回值 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
type CainiaoCloudprintStdtemplatesGetRequest ¶
获取所有的菜鸟标准电子面单模板 API请求 cainiao.cloudprint.stdtemplates.get
获取菜鸟标准电子面单模板
func NewCainiaoCloudprintStdtemplatesGetRequest ¶
func NewCainiaoCloudprintStdtemplatesGetRequest() *CainiaoCloudprintStdtemplatesGetRequest
初始化CainiaoCloudprintStdtemplatesGetRequest对象
func (CainiaoCloudprintStdtemplatesGetRequest) GetApiMethodName ¶
func (r CainiaoCloudprintStdtemplatesGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintStdtemplatesGetRequest) GetApiParams ¶
func (r CainiaoCloudprintStdtemplatesGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
type CainiaoCloudprintStdtemplatesGetResponse ¶
type CainiaoCloudprintStdtemplatesGetResponse 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"` }
获取所有的菜鸟标准电子面单模板 成功返回结果
type CainiaoCloudprintTemplatesMigrateAPIResponse ¶
type CainiaoCloudprintTemplatesMigrateAPIResponse struct { model.CommonResponse CainiaoCloudprintTemplatesMigrateResponse }
云打印模板迁移接口 API返回值 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
type CainiaoCloudprintTemplatesMigrateRequest ¶
type CainiaoCloudprintTemplatesMigrateRequest struct { model.Params // contains filtered or unexported fields }
云打印模板迁移接口 API请求 cainiao.cloudprint.templates.migrate
云打印模板迁移接口
func NewCainiaoCloudprintTemplatesMigrateRequest ¶
func NewCainiaoCloudprintTemplatesMigrateRequest() *CainiaoCloudprintTemplatesMigrateRequest
初始化CainiaoCloudprintTemplatesMigrateRequest对象
func (CainiaoCloudprintTemplatesMigrateRequest) GetApiMethodName ¶
func (r CainiaoCloudprintTemplatesMigrateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoCloudprintTemplatesMigrateRequest) GetApiParams ¶
func (r CainiaoCloudprintTemplatesMigrateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoCloudprintTemplatesMigrateRequest) GetCustomAreaContent ¶
func (r CainiaoCloudprintTemplatesMigrateRequest) GetCustomAreaContent() string
CustomAreaContent Getter
func (CainiaoCloudprintTemplatesMigrateRequest) GetCustomAreaName ¶
func (r CainiaoCloudprintTemplatesMigrateRequest) GetCustomAreaName() string
CustomAreaName Getter
func (CainiaoCloudprintTemplatesMigrateRequest) GetTempalteId ¶
func (r CainiaoCloudprintTemplatesMigrateRequest) GetTempalteId() int64
TempalteId Getter
func (*CainiaoCloudprintTemplatesMigrateRequest) SetCustomAreaContent ¶
func (r *CainiaoCloudprintTemplatesMigrateRequest) SetCustomAreaContent(customAreaContent string) error
CustomAreaContent Setter 自定义区内容
func (*CainiaoCloudprintTemplatesMigrateRequest) SetCustomAreaName ¶
func (r *CainiaoCloudprintTemplatesMigrateRequest) SetCustomAreaName(customAreaName string) error
CustomAreaName Setter 自定义区名称
func (*CainiaoCloudprintTemplatesMigrateRequest) SetTempalteId ¶
func (r *CainiaoCloudprintTemplatesMigrateRequest) SetTempalteId(tempalteId int64) error
TempalteId Setter 标准电子面单模板的id
type CainiaoCloudprintTemplatesMigrateResponse ¶
type CainiaoCloudprintTemplatesMigrateResponse 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"` }
云打印模板迁移接口 成功返回结果
type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse ¶
type CainiaoSmartdeliveryStrategyWarehouseIDeleteAPIResponse struct { model.CommonResponse CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse }
删除智能发货引擎仓策略 API返回值 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
type CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest ¶
type CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest struct { model.Params // contains filtered or unexported fields }
删除智能发货引擎仓策略 API请求 cainiao.smartdelivery.strategy.warehouse.i.delete
删除智能发货引擎仓策略
func NewCainiaoSmartdeliveryStrategyWarehouseIDeleteRequest ¶
func NewCainiaoSmartdeliveryStrategyWarehouseIDeleteRequest() *CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest
初始化CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest对象
func (CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetApiMethodName ¶
func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetApiParams ¶
func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetWarehouseId ¶
func (r CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) GetWarehouseId() int64
WarehouseId Getter
func (*CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) SetWarehouseId ¶
func (r *CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest) SetWarehouseId(warehouseId int64) error
WarehouseId Setter 仓id
type CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse ¶
type CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse 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"` }
删除智能发货引擎仓策略 成功返回结果
type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse ¶
type CainiaoSmartdeliveryStrategyWarehouseIUpdateAPIResponse struct { model.CommonResponse CainiaoSmartdeliveryStrategyWarehouseIUpdateResponse }
智能发货引擎策略仓设置 API返回值 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
type CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest ¶
type CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest struct { model.Params // contains filtered or unexported fields }
智能发货引擎策略仓设置 API请求 cainiao.smartdelivery.strategy.warehouse.i.update
智能发货引擎发货策略设置仓维度
func NewCainiaoSmartdeliveryStrategyWarehouseIUpdateRequest ¶
func NewCainiaoSmartdeliveryStrategyWarehouseIUpdateRequest() *CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest
初始化CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest对象
func (CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetApiMethodName ¶
func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetApiParams ¶
func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetDeliveryStrategySetRequest ¶
func (r CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) GetDeliveryStrategySetRequest() *DeliveryStrategySetRequest
DeliveryStrategySetRequest Getter
func (*CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) SetDeliveryStrategySetRequest ¶
func (r *CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest) SetDeliveryStrategySetRequest(deliveryStrategySetRequest *DeliveryStrategySetRequest) error
DeliveryStrategySetRequest Setter 智能发货设置请求参数
type CainiaoSmartdeliveryStrategyWarehouseIUpdateResponse ¶
type CainiaoSmartdeliveryStrategyWarehouseIUpdateResponse 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"` }
智能发货引擎策略仓设置 成功返回结果
type CainiaoWaybillIiCancelAPIResponse ¶
type CainiaoWaybillIiCancelAPIResponse struct { model.CommonResponse CainiaoWaybillIiCancelResponse }
商家取消获取的电子面单号 API返回值 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
type CainiaoWaybillIiCancelRequest ¶
type CainiaoWaybillIiCancelRequest struct { model.Params // contains filtered or unexported fields }
商家取消获取的电子面单号 API请求 cainiao.waybill.ii.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func NewCainiaoWaybillIiCancelRequest ¶
func NewCainiaoWaybillIiCancelRequest() *CainiaoWaybillIiCancelRequest
初始化CainiaoWaybillIiCancelRequest对象
func (CainiaoWaybillIiCancelRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiCancelRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiCancelRequest) GetApiParams ¶
func (r CainiaoWaybillIiCancelRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiCancelRequest) GetCpCode ¶
func (r CainiaoWaybillIiCancelRequest) GetCpCode() string
CpCode Getter
func (CainiaoWaybillIiCancelRequest) GetWaybillCode ¶
func (r CainiaoWaybillIiCancelRequest) GetWaybillCode() string
WaybillCode Getter
func (*CainiaoWaybillIiCancelRequest) SetCpCode ¶
func (r *CainiaoWaybillIiCancelRequest) SetCpCode(cpCode string) error
CpCode Setter 快递公司code
func (*CainiaoWaybillIiCancelRequest) SetWaybillCode ¶
func (r *CainiaoWaybillIiCancelRequest) SetWaybillCode(waybillCode string) error
WaybillCode Setter 电子面单号
type CainiaoWaybillIiCancelResponse ¶
type CainiaoWaybillIiCancelResponse 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"` }
商家取消获取的电子面单号 成功返回结果
type CainiaoWaybillIiGetAPIResponse ¶
type CainiaoWaybillIiGetAPIResponse struct { model.CommonResponse CainiaoWaybillIiGetResponse }
电子面单云打印接口 API返回值 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
type CainiaoWaybillIiGetRequest ¶
电子面单云打印接口 API请求 cainiao.waybill.ii.get
菜鸟电子面单的云打印申请电子面单号的方法
func NewCainiaoWaybillIiGetRequest ¶
func NewCainiaoWaybillIiGetRequest() *CainiaoWaybillIiGetRequest
初始化CainiaoWaybillIiGetRequest对象
func (CainiaoWaybillIiGetRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiGetRequest) GetApiParams ¶
func (r CainiaoWaybillIiGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiGetRequest) GetParamWaybillCloudPrintApplyNewRequest ¶
func (r CainiaoWaybillIiGetRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest
ParamWaybillCloudPrintApplyNewRequest Getter
func (*CainiaoWaybillIiGetRequest) SetParamWaybillCloudPrintApplyNewRequest ¶
func (r *CainiaoWaybillIiGetRequest) SetParamWaybillCloudPrintApplyNewRequest(paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error
ParamWaybillCloudPrintApplyNewRequest Setter 入参信息
type CainiaoWaybillIiGetResponse ¶
type CainiaoWaybillIiGetResponse 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"` }
电子面单云打印接口 成功返回结果
type CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse ¶
type CainiaoWaybillIiLogisticsdetailUrlGetAPIResponse struct { model.CommonResponse CainiaoWaybillIiLogisticsdetailUrlGetResponse }
电子面单物流详情授权url获取 API返回值 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
type CainiaoWaybillIiLogisticsdetailUrlGetRequest ¶
type CainiaoWaybillIiLogisticsdetailUrlGetRequest struct { model.Params // contains filtered or unexported fields }
电子面单物流详情授权url获取 API请求 cainiao.waybill.ii.logisticsdetail.url.get
获取电子面单物流详情授权访问的H5 url
func NewCainiaoWaybillIiLogisticsdetailUrlGetRequest ¶
func NewCainiaoWaybillIiLogisticsdetailUrlGetRequest() *CainiaoWaybillIiLogisticsdetailUrlGetRequest
初始化CainiaoWaybillIiLogisticsdetailUrlGetRequest对象
func (CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetApiParams ¶
func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetCpCode ¶
func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetCpCode() string
CpCode Getter
func (CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetWaybillCode ¶
func (r CainiaoWaybillIiLogisticsdetailUrlGetRequest) GetWaybillCode() string
WaybillCode Getter
func (*CainiaoWaybillIiLogisticsdetailUrlGetRequest) SetCpCode ¶
func (r *CainiaoWaybillIiLogisticsdetailUrlGetRequest) SetCpCode(cpCode string) error
CpCode Setter 快递公司编码
func (*CainiaoWaybillIiLogisticsdetailUrlGetRequest) SetWaybillCode ¶
func (r *CainiaoWaybillIiLogisticsdetailUrlGetRequest) SetWaybillCode(waybillCode string) error
WaybillCode Setter 电子面单单号
type CainiaoWaybillIiLogisticsdetailUrlGetResponse ¶
type CainiaoWaybillIiLogisticsdetailUrlGetResponse 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"` }
电子面单物流详情授权url获取 成功返回结果
type CainiaoWaybillIiProductAPIResponse ¶
type CainiaoWaybillIiProductAPIResponse struct { model.CommonResponse CainiaoWaybillIiProductResponse }
商家查询物流商产品类型接口 API返回值 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
type CainiaoWaybillIiProductRequest ¶
type CainiaoWaybillIiProductRequest struct { model.Params // contains filtered or unexported fields }
商家查询物流商产品类型接口 API请求 cainiao.waybill.ii.product
商家可以查询物流商的产品类型和服务能力。
func NewCainiaoWaybillIiProductRequest ¶
func NewCainiaoWaybillIiProductRequest() *CainiaoWaybillIiProductRequest
初始化CainiaoWaybillIiProductRequest对象
func (CainiaoWaybillIiProductRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiProductRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiProductRequest) GetApiParams ¶
func (r CainiaoWaybillIiProductRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiProductRequest) GetCpCode ¶
func (r CainiaoWaybillIiProductRequest) GetCpCode() string
CpCode Getter
func (*CainiaoWaybillIiProductRequest) SetCpCode ¶
func (r *CainiaoWaybillIiProductRequest) SetCpCode(cpCode string) error
CpCode Setter 快递公司code
type CainiaoWaybillIiProductResponse ¶
type CainiaoWaybillIiProductResponse 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"` }
商家查询物流商产品类型接口 成功返回结果
type CainiaoWaybillIiQueryByTradecodeAPIResponse ¶
type CainiaoWaybillIiQueryByTradecodeAPIResponse struct { model.CommonResponse CainiaoWaybillIiQueryByTradecodeResponse }
通过订单号查询电子面单通接口 API返回值 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
type CainiaoWaybillIiQueryByTradecodeRequest ¶
type CainiaoWaybillIiQueryByTradecodeRequest struct { model.Params // contains filtered or unexported fields }
通过订单号查询电子面单通接口 API请求 cainiao.waybill.ii.query.by.tradecode
通过订单号查看面单的信息
func NewCainiaoWaybillIiQueryByTradecodeRequest ¶
func NewCainiaoWaybillIiQueryByTradecodeRequest() *CainiaoWaybillIiQueryByTradecodeRequest
初始化CainiaoWaybillIiQueryByTradecodeRequest对象
func (CainiaoWaybillIiQueryByTradecodeRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiQueryByTradecodeRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiQueryByTradecodeRequest) GetApiParams ¶
func (r CainiaoWaybillIiQueryByTradecodeRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiQueryByTradecodeRequest) GetParamList ¶
func (r CainiaoWaybillIiQueryByTradecodeRequest) GetParamList() []WaybillDetailQueryByBizSubCodeRequest
ParamList Getter
func (*CainiaoWaybillIiQueryByTradecodeRequest) SetParamList ¶
func (r *CainiaoWaybillIiQueryByTradecodeRequest) SetParamList(paramList []WaybillDetailQueryByBizSubCodeRequest) error
ParamList Setter 订单号列表
type CainiaoWaybillIiQueryByTradecodeResponse ¶
type CainiaoWaybillIiQueryByTradecodeResponse 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"` }
通过订单号查询电子面单通接口 成功返回结果
type CainiaoWaybillIiQueryByWaybillcodeAPIResponse ¶
type CainiaoWaybillIiQueryByWaybillcodeAPIResponse struct { model.CommonResponse CainiaoWaybillIiQueryByWaybillcodeResponse }
通过面单号查询面单信息 API返回值 cainiao.waybill.ii.query.by.waybillcode
通过面单号查看面单号的当前状态,如签收、发货、失效等。
type CainiaoWaybillIiQueryByWaybillcodeRequest ¶
type CainiaoWaybillIiQueryByWaybillcodeRequest struct { model.Params // contains filtered or unexported fields }
通过面单号查询面单信息 API请求 cainiao.waybill.ii.query.by.waybillcode
通过面单号查看面单号的当前状态,如签收、发货、失效等。
func NewCainiaoWaybillIiQueryByWaybillcodeRequest ¶
func NewCainiaoWaybillIiQueryByWaybillcodeRequest() *CainiaoWaybillIiQueryByWaybillcodeRequest
初始化CainiaoWaybillIiQueryByWaybillcodeRequest对象
func (CainiaoWaybillIiQueryByWaybillcodeRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiQueryByWaybillcodeRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiQueryByWaybillcodeRequest) GetApiParams ¶
func (r CainiaoWaybillIiQueryByWaybillcodeRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiQueryByWaybillcodeRequest) GetParamList ¶
func (r CainiaoWaybillIiQueryByWaybillcodeRequest) GetParamList() []WaybillDetailQueryByWaybillCodeRequest
ParamList Getter
func (*CainiaoWaybillIiQueryByWaybillcodeRequest) SetParamList ¶
func (r *CainiaoWaybillIiQueryByWaybillcodeRequest) SetParamList(paramList []WaybillDetailQueryByWaybillCodeRequest) error
ParamList Setter 系统自动生成
type CainiaoWaybillIiQueryByWaybillcodeResponse ¶
type CainiaoWaybillIiQueryByWaybillcodeResponse 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"` }
通过面单号查询面单信息 成功返回结果
type CainiaoWaybillIiSearchAPIResponse ¶
type CainiaoWaybillIiSearchAPIResponse struct { model.CommonResponse CainiaoWaybillIiSearchResponse }
查询面单服务订购及面单使用情况 API返回值 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
type CainiaoWaybillIiSearchRequest ¶
type CainiaoWaybillIiSearchRequest struct { model.Params // contains filtered or unexported fields }
查询面单服务订购及面单使用情况 API请求 cainiao.waybill.ii.search
获取发货地&CP开通状态&账户的使用情况
func NewCainiaoWaybillIiSearchRequest ¶
func NewCainiaoWaybillIiSearchRequest() *CainiaoWaybillIiSearchRequest
初始化CainiaoWaybillIiSearchRequest对象
func (CainiaoWaybillIiSearchRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiSearchRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiSearchRequest) GetApiParams ¶
func (r CainiaoWaybillIiSearchRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiSearchRequest) GetCpCode ¶
func (r CainiaoWaybillIiSearchRequest) GetCpCode() string
CpCode Getter
func (*CainiaoWaybillIiSearchRequest) SetCpCode ¶
func (r *CainiaoWaybillIiSearchRequest) SetCpCode(cpCode string) error
CpCode Setter 物流公司code
type CainiaoWaybillIiSearchResponse ¶
type CainiaoWaybillIiSearchResponse 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 */ }
查询面单服务订购及面单使用情况 成功返回结果
type CainiaoWaybillIiUpdateAPIResponse ¶
type CainiaoWaybillIiUpdateAPIResponse struct { model.CommonResponse CainiaoWaybillIiUpdateResponse }
电子面单云打印更新接口 API返回值 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
type CainiaoWaybillIiUpdateRequest ¶
type CainiaoWaybillIiUpdateRequest struct { model.Params // contains filtered or unexported fields }
电子面单云打印更新接口 API请求 cainiao.waybill.ii.update
商家更新电子面单号对应的面单信息。
func NewCainiaoWaybillIiUpdateRequest ¶
func NewCainiaoWaybillIiUpdateRequest() *CainiaoWaybillIiUpdateRequest
初始化CainiaoWaybillIiUpdateRequest对象
func (CainiaoWaybillIiUpdateRequest) GetApiMethodName ¶
func (r CainiaoWaybillIiUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillIiUpdateRequest) GetApiParams ¶
func (r CainiaoWaybillIiUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoWaybillIiUpdateRequest) GetParamWaybillCloudPrintUpdateRequest ¶
func (r CainiaoWaybillIiUpdateRequest) GetParamWaybillCloudPrintUpdateRequest() *WaybillCloudPrintUpdateRequest
ParamWaybillCloudPrintUpdateRequest Getter
func (*CainiaoWaybillIiUpdateRequest) SetParamWaybillCloudPrintUpdateRequest ¶
func (r *CainiaoWaybillIiUpdateRequest) SetParamWaybillCloudPrintUpdateRequest(paramWaybillCloudPrintUpdateRequest *WaybillCloudPrintUpdateRequest) error
ParamWaybillCloudPrintUpdateRequest Setter 更新请求信息
type CainiaoWaybillIiUpdateResponse ¶
type CainiaoWaybillIiUpdateResponse 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"` }
电子面单云打印更新接口 成功返回结果
type CainiaoWaybillPrivacySellerOrderGetAPIResponse ¶
type CainiaoWaybillPrivacySellerOrderGetAPIResponse struct { model.CommonResponse CainiaoWaybillPrivacySellerOrderGetResponse }
隐私面单商家订单查询 API返回值 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
type CainiaoWaybillPrivacySellerOrderGetModule ¶
type CainiaoWaybillPrivacySellerOrderGetModule struct { // 商家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 隐私次数 PrivacyCount int64 `json:"privacy_count,omitempty" xml:"privacy_count,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"` }
CainiaoWaybillPrivacySellerOrderGetModule
type CainiaoWaybillPrivacySellerOrderGetRequest ¶
隐私面单商家订单查询 API请求 cainiao.waybill.privacy.seller.order.get
商家查询最近100天隐私面单记录
func NewCainiaoWaybillPrivacySellerOrderGetRequest ¶
func NewCainiaoWaybillPrivacySellerOrderGetRequest() *CainiaoWaybillPrivacySellerOrderGetRequest
初始化CainiaoWaybillPrivacySellerOrderGetRequest对象
func (CainiaoWaybillPrivacySellerOrderGetRequest) GetApiMethodName ¶
func (r CainiaoWaybillPrivacySellerOrderGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillPrivacySellerOrderGetRequest) GetApiParams ¶
func (r CainiaoWaybillPrivacySellerOrderGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
type CainiaoWaybillPrivacySellerOrderGetResponse ¶
type CainiaoWaybillPrivacySellerOrderGetResponse 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"` // 是否失败 Failure bool `json:"failure,omitempty" xml:"failure,omitempty"` // 第一个错误 OneErrorInfo string `json:"one_error_info,omitempty" xml:"one_error_info,omitempty"` // 错误信息 ErrorInfoList []string `json:"error_info_list,omitempty" xml:"error_info_list>string,omitempty"` // objectId ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` // 返回值 ResponseList []CainiaoWaybillPrivacySellerOrderGetModule `json:"response_list,omitempty" xml:"response_list>cainiao_waybill_privacy_seller_order_get_module,omitempty"` }
隐私面单商家订单查询 成功返回结果
type CainiaoWaybillPrivacySubscriptionGetAPIResponse ¶
type CainiaoWaybillPrivacySubscriptionGetAPIResponse struct { model.CommonResponse CainiaoWaybillPrivacySubscriptionGetResponse }
隐私面单商家订购查询 API返回值 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
type CainiaoWaybillPrivacySubscriptionGetRequest ¶
隐私面单商家订购查询 API请求 cainiao.waybill.privacy.subscription.get
ISV查询商家是否订购隐私面单
func NewCainiaoWaybillPrivacySubscriptionGetRequest ¶
func NewCainiaoWaybillPrivacySubscriptionGetRequest() *CainiaoWaybillPrivacySubscriptionGetRequest
初始化CainiaoWaybillPrivacySubscriptionGetRequest对象
func (CainiaoWaybillPrivacySubscriptionGetRequest) GetApiMethodName ¶
func (r CainiaoWaybillPrivacySubscriptionGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoWaybillPrivacySubscriptionGetRequest) GetApiParams ¶
func (r CainiaoWaybillPrivacySubscriptionGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
type CainiaoWaybillPrivacySubscriptionGetResponse ¶
type CainiaoWaybillPrivacySubscriptionGetResponse 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"` }
隐私面单商家订购查询 成功返回结果
type CainiaoWaybillPrivacySubscriptionGetResult ¶
type CainiaoWaybillPrivacySubscriptionGetResult struct { // 错误code列表 ErrorCodeList []string `json:"error_code_list,omitempty" xml:"error_code_list>string,omitempty"` // 是否失败 Failure bool `json:"failure,omitempty" xml:"failure,omitempty"` // 第一个错误 OneErrorInfo string `json:"one_error_info,omitempty" xml:"one_error_info,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 商家是否订购 Subscription bool `json:"subscription,omitempty" xml:"subscription,omitempty"` // 系统自动生成 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误列表 ErrorInfoList []string `json:"error_info_list,omitempty" xml:"error_info_list>string,omitempty"` // 系统信息 ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"` }
CainiaoWaybillPrivacySubscriptionGetResult
type CloudPrintBaseResult ¶
type CloudPrintBaseResult struct { // 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"` // 数据 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"` }
CloudPrintBaseResult
type CmdRenderParams ¶
type CmdRenderParams struct { // 需要打印的文档,包括模板地址、打印数据 Document *RenderDocument `json:"document,omitempty" xml:"document,omitempty"` // 打印机名称 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"` // 打印配置 Config *RenderConfig `json:"config,omitempty" xml:"config,omitempty"` }
CmdRenderParams
type CpInfo ¶
type CpInfo struct { // 地址信息 Address *Address `json:"address,omitempty" xml:"address,omitempty"` // 云打印模板 CloudTemplateId string `json:"cloud_template_id,omitempty" xml:"cloud_template_id,omitempty"` // 快递公司 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 状态: 0-禁用, 1-启用 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
CpInfo
type CustomAreaResult ¶
type CustomAreaResult struct { // customAreaId CustomAreaId int64 `json:"custom_area_id,omitempty" xml:"custom_area_id,omitempty"` // customAreaUrl CustomAreaUrl string `json:"custom_area_url,omitempty" xml:"custom_area_url,omitempty"` // keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` // 标准模板名称 StandardTemplateId int64 `json:"standard_template_id,omitempty" xml:"standard_template_id,omitempty"` // 标准模板url StandardTemplateUrl string `json:"standard_template_url,omitempty" xml:"standard_template_url,omitempty"` // 自定义区名称 CustomAreaName string `json:"custom_area_name,omitempty" xml:"custom_area_name,omitempty"` // 用户模板id,等同于mystdtemplates.get中返回的用户模板id UserTemplateId int64 `json:"user_template_id,omitempty" xml:"user_template_id,omitempty"` }
CustomAreaResult
type CustomAreaSingleResult ¶
type CustomAreaSingleResult struct { // 自定义区id CustomAreaId int64 `json:"custom_area_id,omitempty" xml:"custom_area_id,omitempty"` // 自定义区内容的URL CustomAreaUrl string `json:"custom_area_url,omitempty" xml:"custom_area_url,omitempty"` // keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` }
CustomAreaSingleResult
type CustomTemplateResult ¶
type CustomTemplateResult struct { // isv模板的id IsvTemplateId int64 `json:"isv_template_id,omitempty" xml:"isv_template_id,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"` // 模板的keys Keys []KeyResult `json:"keys,omitempty" xml:"keys>key_result,omitempty"` // 版本号 Version string `json:"version,omitempty" xml:"version,omitempty"` }
CustomTemplateResult
type DeliveryStrategyInfo ¶
type DeliveryStrategyInfo struct { // 识别买家备注: 0-忽略, 1-识别, 2-仅识别合作cp BuyerMessageRule int64 `json:"buyer_message_rule,omitempty" xml:"buyer_message_rule,omitempty"` // 合作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"` // 仓id WarehouseId int64 `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"` // 仓名称 WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"` }
DeliveryStrategyInfo
type DeliveryStrategySetRequest ¶
type DeliveryStrategySetRequest struct { // 策略信息对象 DeliveryStrategyInfo *DeliveryStrategyInfo `json:"delivery_strategy_info,omitempty" xml:"delivery_strategy_info,omitempty"` }
DeliveryStrategySetRequest
type IsvResourceDo ¶
type IsvResourceDo struct { // 资源内容(当资源类型为TEMPLATE时,为空) ResourceContent string `json:"resource_content,omitempty" xml:"resource_content,omitempty"` // 资源id ResourceId int64 `json:"resource_id,omitempty" xml:"resource_id,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"` }
IsvResourceDo
type Item ¶
type Item struct { // 数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` // 名称 Name string `json:"name,omitempty" xml:"name,omitempty"` }
Item
type KeyResult ¶
type KeyResult struct { // keyName KeyName string `json:"key_name,omitempty" xml:"key_name,omitempty"` }
KeyResult
type LogisticsService ¶
type LogisticsService struct { // 服务类型值,json格式表示 ServiceValue4Json string `json:"service_value4_json,omitempty" xml:"service_value4_json,omitempty"` // 服务编码 ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"` }
LogisticsService
type OrderInfoDto ¶
type OrderInfoDto struct { // <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"` // 订单号,数量限制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"` }
OrderInfoDto
type PackageInfoDto ¶
type PackageInfoDto struct { // 包裹id,用于拆合单场景(只能传入数字、字母和下划线;批量请求时值不得重复,大小写敏感,即123A,123a 不可当做不同ID,否则存在一定可能取号失败) Id string `json:"id,omitempty" xml:"id,omitempty"` // 商品信息,数量限制为100 Items []Item `json:"items,omitempty" xml:"items>item,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"` // 大件快运中的包装方式描述 PackagingDescription string `json:"packaging_description,omitempty" xml:"packaging_description,omitempty"` // 大件快运中的货品描述,比如服装,家具 GoodsDescription string `json:"goods_description,omitempty" xml:"goods_description,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 { // 发货网点编码 ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"` // 收件人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 发件人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 包裹重量 单位为G(克) Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 电子面单单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 收\发货地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 收货网点编码 ConsigneeBranchCode string `json:"consignee_branch_code,omitempty" xml:"consignee_branch_code,omitempty"` // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 收货网点信息 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 发货网点信息 ShippingBranchName string `json:"shipping_branch_name,omitempty" xml:"shipping_branch_name,omitempty"` // 拣货规则(大头笔信息) ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 包裹体积 单位为ML(毫升)或立方厘米 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // consigneePhone ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 收\发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_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"` // 打标设置字段,直接传给ali-lodop。不用管具体含义。 PrintConfig string `json:"print_config,omitempty" xml:"print_config,omitempty"` }
PrintCheckInfo
type RecipientInfoDto ¶
type RecipientInfoDto struct { // 地址 Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"` // 手机号码 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"` }
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"` // 是否获取加密数据 Encrypted bool `json:"encrypted,omitempty" xml:"encrypted,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"` }
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 { // 服务名称 ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"` // 服务编码 ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"` // 服务属性定义 ServiceAttributes []ServiceAttributeDto `json:"service_attributes,omitempty" xml:"service_attributes>service_attribute_dto,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 { // 模板id StandardTemplateId int64 `json:"standard_template_id,omitempty" xml:"standard_template_id,omitempty"` // 模板名称 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"` // 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编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 该cp的所有标准模板 StandardTemplates []StandardTemplateDo `json:"standard_templates,omitempty" xml:"standard_templates>standard_template_do,omitempty"` }
StandardTemplateResult
type TaobaoWlbWaybillICancelAPIResponse ¶
type TaobaoWlbWaybillICancelAPIResponse struct { model.CommonResponse TaobaoWlbWaybillICancelResponse }
商家取消获取的电子面单号v1.0 API返回值 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
type TaobaoWlbWaybillICancelRequest ¶
type TaobaoWlbWaybillICancelRequest struct { model.Params // contains filtered or unexported fields }
商家取消获取的电子面单号v1.0 API请求 taobao.wlb.waybill.i.cancel
面单号有误需要取消的时候,调用该接口取消获取的电子面单。
func NewTaobaoWlbWaybillICancelRequest ¶
func NewTaobaoWlbWaybillICancelRequest() *TaobaoWlbWaybillICancelRequest
初始化TaobaoWlbWaybillICancelRequest对象
func (TaobaoWlbWaybillICancelRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillICancelRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillICancelRequest) GetApiParams ¶
func (r TaobaoWlbWaybillICancelRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillICancelRequest) GetWaybillApplyCancelRequest ¶
func (r TaobaoWlbWaybillICancelRequest) GetWaybillApplyCancelRequest() *WaybillApplyCancelRequest
WaybillApplyCancelRequest Getter
func (*TaobaoWlbWaybillICancelRequest) SetWaybillApplyCancelRequest ¶
func (r *TaobaoWlbWaybillICancelRequest) SetWaybillApplyCancelRequest(waybillApplyCancelRequest *WaybillApplyCancelRequest) error
WaybillApplyCancelRequest Setter 取消接口入参
type TaobaoWlbWaybillICancelResponse ¶
type TaobaoWlbWaybillICancelResponse 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"` }
商家取消获取的电子面单号v1.0 成功返回结果
type TaobaoWlbWaybillIFullupdateAPIResponse ¶
type TaobaoWlbWaybillIFullupdateAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIFullupdateResponse }
面单信息更新接口v1.0 API返回值 taobao.wlb.waybill.i.fullupdate
商家更新电子面单号对应的订单信息。<br/><br/>a.涉及到订单信息(如拆/合单、取消订单等)、修改发货地的逻辑时候,需要使用CANCEL+GET组合操作。一般的面单信息更新使用该接口;<br/><br/>b.该接口是全量修改接口,对于不做更新的字段也要把原有的字段值传进去,否则做为修改为空处理。
type TaobaoWlbWaybillIFullupdateRequest ¶
type TaobaoWlbWaybillIFullupdateRequest struct { model.Params // contains filtered or unexported fields }
面单信息更新接口v1.0 API请求 taobao.wlb.waybill.i.fullupdate
商家更新电子面单号对应的订单信息。<br/><br/>a.涉及到订单信息(如拆/合单、取消订单等)、修改发货地的逻辑时候,需要使用CANCEL+GET组合操作。一般的面单信息更新使用该接口;<br/><br/>b.该接口是全量修改接口,对于不做更新的字段也要把原有的字段值传进去,否则做为修改为空处理。
func NewTaobaoWlbWaybillIFullupdateRequest ¶
func NewTaobaoWlbWaybillIFullupdateRequest() *TaobaoWlbWaybillIFullupdateRequest
初始化TaobaoWlbWaybillIFullupdateRequest对象
func (TaobaoWlbWaybillIFullupdateRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillIFullupdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIFullupdateRequest) GetApiParams ¶
func (r TaobaoWlbWaybillIFullupdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIFullupdateRequest) GetWaybillApplyFullUpdateRequest ¶
func (r TaobaoWlbWaybillIFullupdateRequest) GetWaybillApplyFullUpdateRequest() *WaybillApplyFullUpdateRequest
WaybillApplyFullUpdateRequest Getter
func (*TaobaoWlbWaybillIFullupdateRequest) SetWaybillApplyFullUpdateRequest ¶
func (r *TaobaoWlbWaybillIFullupdateRequest) SetWaybillApplyFullUpdateRequest(waybillApplyFullUpdateRequest *WaybillApplyFullUpdateRequest) error
WaybillApplyFullUpdateRequest Setter 更新面单信息请求
type TaobaoWlbWaybillIFullupdateResponse ¶
type TaobaoWlbWaybillIFullupdateResponse 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"` }
面单信息更新接口v1.0 成功返回结果
type TaobaoWlbWaybillIGetAPIResponse ¶
type TaobaoWlbWaybillIGetAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIGetResponse }
获取物流服务商电子面单号v1.0 API返回值 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
type TaobaoWlbWaybillIGetRequest ¶
获取物流服务商电子面单号v1.0 API请求 taobao.wlb.waybill.i.get
商家根据订单信息,实时、批量获取指定物流服务商的电子面单号。
func NewTaobaoWlbWaybillIGetRequest ¶
func NewTaobaoWlbWaybillIGetRequest() *TaobaoWlbWaybillIGetRequest
初始化TaobaoWlbWaybillIGetRequest对象
func (TaobaoWlbWaybillIGetRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillIGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIGetRequest) GetApiParams ¶
func (r TaobaoWlbWaybillIGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIGetRequest) GetWaybillApplyNewRequest ¶
func (r TaobaoWlbWaybillIGetRequest) GetWaybillApplyNewRequest() *WaybillApplyNewRequest
WaybillApplyNewRequest Getter
func (*TaobaoWlbWaybillIGetRequest) SetWaybillApplyNewRequest ¶
func (r *TaobaoWlbWaybillIGetRequest) SetWaybillApplyNewRequest(waybillApplyNewRequest *WaybillApplyNewRequest) error
WaybillApplyNewRequest Setter 面单申请
type TaobaoWlbWaybillIGetResponse ¶
type TaobaoWlbWaybillIGetResponse 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"` }
获取物流服务商电子面单号v1.0 成功返回结果
type TaobaoWlbWaybillIPrintAPIResponse ¶
type TaobaoWlbWaybillIPrintAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIPrintResponse }
打印确认接口v1.0 API返回值 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
type TaobaoWlbWaybillIPrintRequest ¶
type TaobaoWlbWaybillIPrintRequest struct { model.Params // contains filtered or unexported fields }
打印确认接口v1.0 API请求 taobao.wlb.waybill.i.print
打印面单前的校验接口,判断面单号信息与订单信息是否匹配。
func NewTaobaoWlbWaybillIPrintRequest ¶
func NewTaobaoWlbWaybillIPrintRequest() *TaobaoWlbWaybillIPrintRequest
初始化TaobaoWlbWaybillIPrintRequest对象
func (TaobaoWlbWaybillIPrintRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillIPrintRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIPrintRequest) GetApiParams ¶
func (r TaobaoWlbWaybillIPrintRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIPrintRequest) GetWaybillApplyPrintCheckRequest ¶
func (r TaobaoWlbWaybillIPrintRequest) GetWaybillApplyPrintCheckRequest() *WaybillApplyPrintCheckRequest
WaybillApplyPrintCheckRequest Getter
func (*TaobaoWlbWaybillIPrintRequest) SetWaybillApplyPrintCheckRequest ¶
func (r *TaobaoWlbWaybillIPrintRequest) SetWaybillApplyPrintCheckRequest(waybillApplyPrintCheckRequest *WaybillApplyPrintCheckRequest) error
WaybillApplyPrintCheckRequest Setter 打印请求
type TaobaoWlbWaybillIPrintResponse ¶
type TaobaoWlbWaybillIPrintResponse 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 */ }
打印确认接口v1.0 成功返回结果
type TaobaoWlbWaybillIProductAPIResponse ¶
type TaobaoWlbWaybillIProductAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIProductResponse }
商家查询物流商产品类型接口 API返回值 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
type TaobaoWlbWaybillIProductRequest ¶
type TaobaoWlbWaybillIProductRequest struct { model.Params // contains filtered or unexported fields }
商家查询物流商产品类型接口 API请求 taobao.wlb.waybill.i.product
商家可以查询物流商的产品类型和服务能力。
func NewTaobaoWlbWaybillIProductRequest ¶
func NewTaobaoWlbWaybillIProductRequest() *TaobaoWlbWaybillIProductRequest
初始化TaobaoWlbWaybillIProductRequest对象
func (TaobaoWlbWaybillIProductRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillIProductRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIProductRequest) GetApiParams ¶
func (r TaobaoWlbWaybillIProductRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIProductRequest) GetWaybillProductTypeRequest ¶
func (r TaobaoWlbWaybillIProductRequest) GetWaybillProductTypeRequest() *WaybillProductTypeRequest
WaybillProductTypeRequest Getter
func (*TaobaoWlbWaybillIProductRequest) SetWaybillProductTypeRequest ¶
func (r *TaobaoWlbWaybillIProductRequest) SetWaybillProductTypeRequest(waybillProductTypeRequest *WaybillProductTypeRequest) error
WaybillProductTypeRequest Setter 查询物流商电子面单产品类型入参
type TaobaoWlbWaybillIProductResponse ¶
type TaobaoWlbWaybillIProductResponse 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"` }
商家查询物流商产品类型接口 成功返回结果
type TaobaoWlbWaybillIQuerydetailAPIResponse ¶
type TaobaoWlbWaybillIQuerydetailAPIResponse struct { model.CommonResponse TaobaoWlbWaybillIQuerydetailResponse }
查面单号状态v1.0 API返回值 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
type TaobaoWlbWaybillIQuerydetailRequest ¶
type TaobaoWlbWaybillIQuerydetailRequest struct { model.Params // contains filtered or unexported fields }
查面单号状态v1.0 API请求 taobao.wlb.waybill.i.querydetail
查看面单号的当前状态,如签收、发货、失效等。
func NewTaobaoWlbWaybillIQuerydetailRequest ¶
func NewTaobaoWlbWaybillIQuerydetailRequest() *TaobaoWlbWaybillIQuerydetailRequest
初始化TaobaoWlbWaybillIQuerydetailRequest对象
func (TaobaoWlbWaybillIQuerydetailRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillIQuerydetailRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillIQuerydetailRequest) GetApiParams ¶
func (r TaobaoWlbWaybillIQuerydetailRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillIQuerydetailRequest) GetWaybillDetailQueryRequest ¶
func (r TaobaoWlbWaybillIQuerydetailRequest) GetWaybillDetailQueryRequest() *WaybillDetailQueryRequest
WaybillDetailQueryRequest Getter
func (*TaobaoWlbWaybillIQuerydetailRequest) SetWaybillDetailQueryRequest ¶
func (r *TaobaoWlbWaybillIQuerydetailRequest) SetWaybillDetailQueryRequest(waybillDetailQueryRequest *WaybillDetailQueryRequest) error
WaybillDetailQueryRequest Setter 面单查询请求
type TaobaoWlbWaybillIQuerydetailResponse ¶
type TaobaoWlbWaybillIQuerydetailResponse 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"` // 查询是否成功 QuerySuccess bool `json:"query_success,omitempty" xml:"query_success,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"` }
查面单号状态v1.0 成功返回结果
type TaobaoWlbWaybillISearchAPIResponse ¶
type TaobaoWlbWaybillISearchAPIResponse struct { model.CommonResponse TaobaoWlbWaybillISearchResponse }
查询面单服务订购及面单使用情况v1.0 API返回值 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
type TaobaoWlbWaybillISearchRequest ¶
type TaobaoWlbWaybillISearchRequest struct { model.Params // contains filtered or unexported fields }
查询面单服务订购及面单使用情况v1.0 API请求 taobao.wlb.waybill.i.search
获取发货地&CP开通状态&账户的使用情况
func NewTaobaoWlbWaybillISearchRequest ¶
func NewTaobaoWlbWaybillISearchRequest() *TaobaoWlbWaybillISearchRequest
初始化TaobaoWlbWaybillISearchRequest对象
func (TaobaoWlbWaybillISearchRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillISearchRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillISearchRequest) GetApiParams ¶
func (r TaobaoWlbWaybillISearchRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillISearchRequest) GetWaybillApplyRequest ¶
func (r TaobaoWlbWaybillISearchRequest) GetWaybillApplyRequest() *WaybillApplyRequest
WaybillApplyRequest Getter
func (*TaobaoWlbWaybillISearchRequest) SetWaybillApplyRequest ¶
func (r *TaobaoWlbWaybillISearchRequest) SetWaybillApplyRequest(waybillApplyRequest *WaybillApplyRequest) error
WaybillApplyRequest Setter 查询网点信息
type TaobaoWlbWaybillISearchResponse ¶
type TaobaoWlbWaybillISearchResponse 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"` }
查询面单服务订购及面单使用情况v1.0 成功返回结果
type TradeOrderInfo ¶
type TradeOrderInfo struct { // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 收货人 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 是否阿里系订单 AliOrder bool `json:"ali_order,omitempty" xml:"ali_order,omitempty"` // 大头笔 ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 订单渠道 OrderChannelsType string `json:"order_channels_type,omitempty" xml:"order_channels_type,omitempty"` // 交易订单列表 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 收货人联系方式 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 收货人地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 发货人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 包裹重量(克) Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 发货人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 订单渠道来源 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 包裹中的商品类型 PackageItems []PackageItem `json:"package_items,omitempty" xml:"package_items>package_item,omitempty"` // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹体积(立方厘米) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 包裹号(或者ERP订单号) PackageId string `json:"package_id,omitempty" xml:"package_id,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"` // 订单信息 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"` // 云打印标准模板URL(组装云打印结果使用,值格式http://cloudprint.cainiao.com/template/standard/${模板ID}) TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"` // 使用者ID(使用电子面单账号的实际商家ID,如存在一个电子面单账号多个店铺使用时,请传入店铺的商家ID) UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
TradeOrderInfoDto
type UserInfoDto ¶
type UserInfoDto struct { // 发货地址需要通过<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"` // 手机号码(手机号和固定电话不能同时为空),长度小于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"` }
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"` // 用户使用模板的id UserStdTemplateId int64 `json:"user_std_template_id,omitempty" xml:"user_std_template_id,omitempty"` // 用户使用模板名称 UserStdTemplateName string `json:"user_std_template_name,omitempty" xml:"user_std_template_name,omitempty"` }
UserTemplateDo
type UserTemplateResult ¶
type UserTemplateResult struct { // cp编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 用户使用的模板数据 UserStdTemplates []UserTemplateDo `json:"user_std_templates,omitempty" xml:"user_std_templates>user_template_do,omitempty"` }
UserTemplateResult
type WarehouseDto ¶
type WarehouseDto struct { // 仓id WarehouseId int64 `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"` // 仓名称 WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"` }
WarehouseDto
type WaybillAddress ¶
type WaybillAddress struct { // 区名称(三级地址) Area string `json:"area,omitempty" xml:"area,omitempty"` // 一级地址(省、直辖市 Province string `json:"province,omitempty" xml:"province,omitempty"` // 街道\镇名称(四级地址) Town string `json:"town,omitempty" xml:"town,omitempty"` // 详细地址 AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"` // 市名称(二级地址) City string `json:"city,omitempty" xml:"city,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 { // 面单使用者编号 RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,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"` // 电子面单号码 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // ERP订单号或包裹号 PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"` }
WaybillApplyCancelRequest
type WaybillApplyFullUpdateRequest ¶
type WaybillApplyFullUpdateRequest struct { // 发件人联系方式 SendPhone string `json:"send_phone,omitempty" xml:"send_phone,omitempty"` // 收件人姓名 ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"` // 包裹重量 单位为G(克) Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 交易订单号(组合表示合并订单) TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 快递服务商CODE CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 电子面单单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 快递服务产品类型编码 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 订单渠道类型 OrderChannelsType string `json:"order_channels_type,omitempty" xml:"order_channels_type,omitempty"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹体积 单位为ML(毫升)或立方厘米 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 包裹里面的商品名称 PackageItems []PackageItem `json:"package_items,omitempty" xml:"package_items>package_item,omitempty"` // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,omitempty"` // 收\发货地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 收件人电话 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // ERP 订单号或包裹号 PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"` }
WaybillApplyFullUpdateRequest
type WaybillApplyNewInfo ¶
type WaybillApplyNewInfo struct { // 根据收货地址返回大头笔信息 ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 面单对应的订单列 TradeOrderInfo *TradeOrderInfo `json:"trade_order_info,omitempty" xml:"trade_order_info,omitempty"` // 返回的面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,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"` // 包裹对应的派件(收件)物流服务商网点(分支机构)名称 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,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"` }
WaybillApplyNewInfo
type WaybillApplyNewRequest ¶
type WaybillApplyNewRequest struct { // 物流服务商编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 收\发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` // 订单数据 TradeOrderInfoCols []TradeOrderInfo `json:"trade_order_info_cols,omitempty" xml:"trade_order_info_cols>trade_order_info,omitempty"` }
WaybillApplyNewRequest
type WaybillApplyPrintCheckInfo ¶
type WaybillApplyPrintCheckInfo struct { // 打印提示信息编码 NoticeCode string `json:"notice_code,omitempty" xml:"notice_code,omitempty"` // 打印次数 PrintQuantity int64 `json:"print_quantity,omitempty" xml:"print_quantity,omitempty"` // 打印提示信息 NoticeMessage string `json:"notice_message,omitempty" xml:"notice_message,omitempty"` // 电子面单号 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,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 { // -- TradeOrderInfo *TradeOrderInfo `json:"trade_order_info,omitempty" xml:"trade_order_info,omitempty"` // -- WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` // 收货网点编码 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 挑拣规则(大头笔信息) ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 收货网点信息 ConsigneeBranchCode string `json:"consignee_branch_code,omitempty" xml:"consignee_branch_code,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"` }
WaybillApplyUpdateInfo
type WaybillBranchAccount ¶
type WaybillBranchAccount struct { // 已用面单数量 AllocatedQuantity int64 `json:"allocated_quantity,omitempty" xml:"allocated_quantity,omitempty"` // 网点Code BranchCode string `json:"branch_code,omitempty" xml:"branch_code,omitempty"` // 网点名称 BranchName string `json:"branch_name,omitempty" xml:"branch_name,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"` // 当前网点下的发货地址 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"` // 号段信息 SegmentCode string `json:"segment_code,omitempty" xml:"segment_code,omitempty"` // 商家ID SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
WaybillBranchAccount
type WaybillCloudPrintApplyNewRequest ¶
type WaybillCloudPrintApplyNewRequest struct { // <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"` // 发货人信息 Sender *UserInfoDto `json:"sender,omitempty" xml:"sender,omitempty"` // 请求面单信息,数量限制为10 TradeOrderInfoDtos []TradeOrderInfoDto `json:"trade_order_info_dtos,omitempty" xml:"trade_order_info_dtos>trade_order_info_dto,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"` // 是否使用智分宝预分拣, 仓库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"` }
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"` }
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"` // 包裹信息 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"` // 模板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"` }
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"` // 是否查询 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 面单信息 WaybillCloudPrintResponse *WaybillCloudPrintResponse `json:"waybill_cloud_print_response,omitempty" xml:"waybill_cloud_print_response,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 { // 发货网点编码 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"` // 包裹体积 单位为ML(毫升)或立方厘米 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 发件人姓名 SendName string `json:"send_name,omitempty" xml:"send_name,omitempty"` // 面单状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 打印次数 PrintCount int64 `json:"print_count,omitempty" xml:"print_count,omitempty"` // 包裹里面的商品类型 PackageItems []PackageItem `json:"package_items,omitempty" xml:"package_items>package_item,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"` // 使用者ID RealUserId int64 `json:"real_user_id,omitempty" xml:"real_user_id,omitempty"` // 包裹重量 单位为G(克) Volume int64 `json:"volume,omitempty" xml:"volume,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"` // 交易订单列表 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` // 包裹对应的派件(收件)物流服务商网点(分支机构)名称 ConsigneeBranchName string `json:"consignee_branch_name,omitempty" xml:"consignee_branch_name,omitempty"` // 收件人联系方式 ConsigneePhone string `json:"consignee_phone,omitempty" xml:"consignee_phone,omitempty"` // 收货人地址 ConsigneeAddress *WaybillAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 发货地址 ShippingAddress *WaybillAddress `json:"shipping_address,omitempty" xml:"shipping_address,omitempty"` // 物流服务能力集合 LogisticsServiceList []LogisticsService `json:"logistics_service_list,omitempty" xml:"logistics_service_list>logistics_service,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"` }
WaybillDetailQueryInfo
type WaybillDetailQueryRequest ¶
type WaybillDetailQueryRequest struct { // 电子面单单号 WaybillCodes []string `json:"waybill_codes,omitempty" xml:"waybill_codes>string,omitempty"` // CP快递公司编码 CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"` // 0:根据cp_code和waybil_code查询;1:根据订单号查询 QueryBy int64 `json:"query_by,omitempty" xml:"query_by,omitempty"` // 交易订单号 TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"` }
WaybillDetailQueryRequest
type WaybillProductType ¶
type WaybillProductType struct { // 产品code Code string `json:"code,omitempty" xml:"code,omitempty"` // 产品名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 物流服务 ServiceTypes []WaybillServiceType `json:"service_types,omitempty" xml:"service_types>waybill_service_type,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
- CainiaoCloudprintClientinfoPutRequest.go
- CainiaoCloudprintClientinfoPutResponse.go
- CainiaoCloudprintCmdprintRenderRequest.go
- CainiaoCloudprintCmdprintRenderResponse.go
- CainiaoCloudprintCustomareaUpdateRequest.go
- CainiaoCloudprintCustomareaUpdateResponse.go
- CainiaoCloudprintCustomaresGetRequest.go
- CainiaoCloudprintCustomaresGetResponse.go
- CainiaoCloudprintIsvResourcesGetRequest.go
- CainiaoCloudprintIsvResourcesGetResponse.go
- CainiaoCloudprintIsvtemplatesGetRequest.go
- CainiaoCloudprintIsvtemplatesGetResponse.go
- CainiaoCloudprintMystdtemplatesGetRequest.go
- CainiaoCloudprintMystdtemplatesGetResponse.go
- CainiaoCloudprintSingleCustomareaGetRequest.go
- CainiaoCloudprintSingleCustomareaGetResponse.go
- CainiaoCloudprintStdtemplatesGetRequest.go
- CainiaoCloudprintStdtemplatesGetResponse.go
- CainiaoCloudprintTemplatesMigrateRequest.go
- CainiaoCloudprintTemplatesMigrateResponse.go
- CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest.go
- CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse.go
- CainiaoSmartdeliveryStrategyWarehouseIUpdateRequest.go
- CainiaoSmartdeliveryStrategyWarehouseIUpdateResponse.go
- CainiaoWaybillIiCancelRequest.go
- CainiaoWaybillIiCancelResponse.go
- CainiaoWaybillIiGetRequest.go
- CainiaoWaybillIiGetResponse.go
- CainiaoWaybillIiLogisticsdetailUrlGetRequest.go
- CainiaoWaybillIiLogisticsdetailUrlGetResponse.go
- CainiaoWaybillIiProductRequest.go
- CainiaoWaybillIiProductResponse.go
- CainiaoWaybillIiQueryByTradecodeRequest.go
- CainiaoWaybillIiQueryByTradecodeResponse.go
- CainiaoWaybillIiQueryByWaybillcodeRequest.go
- CainiaoWaybillIiQueryByWaybillcodeResponse.go
- CainiaoWaybillIiSearchRequest.go
- CainiaoWaybillIiSearchResponse.go
- CainiaoWaybillIiUpdateRequest.go
- CainiaoWaybillIiUpdateResponse.go
- CainiaoWaybillPrivacySellerOrderGetModule.go
- CainiaoWaybillPrivacySellerOrderGetRequest.go
- CainiaoWaybillPrivacySellerOrderGetResponse.go
- CainiaoWaybillPrivacySubscriptionGetRequest.go
- CainiaoWaybillPrivacySubscriptionGetResponse.go
- CainiaoWaybillPrivacySubscriptionGetResult.go
- CloudPrintBaseResult.go
- CmdRenderParams.go
- CpInfo.go
- CustomAreaResult.go
- CustomAreaSingleResult.go
- CustomTemplateResult.go
- DeliveryStrategyInfo.go
- DeliveryStrategySetRequest.go
- IsvResourceDo.go
- Item.go
- KeyResult.go
- LogisticsService.go
- OrderInfoDto.go
- PackageInfoDto.go
- PackageItem.go
- PrintCheckInfo.go
- RecipientInfoDto.go
- RenderConfig.go
- RenderContent.go
- RenderDocument.go
- ServiceAttributeDto.go
- ServiceInfoDto.go
- SpecialRouteInfo.go
- StandardTemplateDo.go
- StandardTemplateResult.go
- TaobaoWlbWaybillICancelRequest.go
- TaobaoWlbWaybillICancelResponse.go
- TaobaoWlbWaybillIFullupdateRequest.go
- TaobaoWlbWaybillIFullupdateResponse.go
- TaobaoWlbWaybillIGetRequest.go
- TaobaoWlbWaybillIGetResponse.go
- TaobaoWlbWaybillIPrintRequest.go
- TaobaoWlbWaybillIPrintResponse.go
- TaobaoWlbWaybillIProductRequest.go
- TaobaoWlbWaybillIProductResponse.go
- TaobaoWlbWaybillIQuerydetailRequest.go
- TaobaoWlbWaybillIQuerydetailResponse.go
- TaobaoWlbWaybillISearchRequest.go
- TaobaoWlbWaybillISearchResponse.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
- WaybillProductType.go
- WaybillProductTypeRequest.go
- WaybillServiceType.go
- doc.go