Documentation ¶
Overview ¶
Package lstlogistics 包含零售通订单履行相关结构体
Index ¶
- type AlibabaLstLogisticsNotraceSendAPIRequest
- func (r AlibabaLstLogisticsNotraceSendAPIRequest) GetApiMethodName() string
- func (r AlibabaLstLogisticsNotraceSendAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstLogisticsNotraceSendAPIRequest) GetParam() *SendDummyOrderParam
- func (r *AlibabaLstLogisticsNotraceSendAPIRequest) SetParam(_param *SendDummyOrderParam) error
- type AlibabaLstLogisticsNotraceSendAPIResponse
- type AlibabaLstLogisticsNotraceSendAPIResponseModel
- type AlibabaLstLogisticsNotraceSendResult
- type AlibabaLstLogisticsSendinfoQueryAPIRequest
- func (r AlibabaLstLogisticsSendinfoQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaLstLogisticsSendinfoQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstLogisticsSendinfoQueryAPIRequest) GetQuery() *LstLogisticsInfoQuery
- func (r *AlibabaLstLogisticsSendinfoQueryAPIRequest) SetQuery(_query *LstLogisticsInfoQuery) error
- type AlibabaLstLogisticsSendinfoQueryAPIResponse
- type AlibabaLstLogisticsSendinfoQueryAPIResponseModel
- type AlibabaLstLogisticsSendinfoQueryResult
- type AlibabaLstLogisticsThirdpartCompanyListAPIRequest
- type AlibabaLstLogisticsThirdpartCompanyListAPIResponse
- type AlibabaLstLogisticsThirdpartCompanyListAPIResponseModel
- type AlibabaLstLogisticsThirdpartSendAPIRequest
- func (r AlibabaLstLogisticsThirdpartSendAPIRequest) GetApiMethodName() string
- func (r AlibabaLstLogisticsThirdpartSendAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstLogisticsThirdpartSendAPIRequest) GetParam() *SendOfflineOrderParam
- func (r *AlibabaLstLogisticsThirdpartSendAPIRequest) SetParam(_param *SendOfflineOrderParam) error
- type AlibabaLstLogisticsThirdpartSendAPIResponse
- type AlibabaLstLogisticsThirdpartSendAPIResponseModel
- type AlibabaLstLogisticsThirdpartSendResult
- type AlibabaLstLogisticsTraceQueryAPIRequest
- func (r AlibabaLstLogisticsTraceQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaLstLogisticsTraceQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstLogisticsTraceQueryAPIRequest) GetQuery() *LstLogisticsTraceQuery
- func (r *AlibabaLstLogisticsTraceQueryAPIRequest) SetQuery(_query *LstLogisticsTraceQuery) error
- type AlibabaLstLogisticsTraceQueryAPIResponse
- type AlibabaLstLogisticsTraceQueryAPIResponseModel
- type AlibabaLstLogisticsTraceQueryResult
- type AlibabaLstShiporderCancelAPIRequest
- func (r AlibabaLstShiporderCancelAPIRequest) GetApiMethodName() string
- func (r AlibabaLstShiporderCancelAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstShiporderCancelAPIRequest) GetDetailOrderIds() []string
- func (r AlibabaLstShiporderCancelAPIRequest) GetOutOrderId() string
- func (r AlibabaLstShiporderCancelAPIRequest) GetReason() string
- func (r *AlibabaLstShiporderCancelAPIRequest) SetDetailOrderIds(_detailOrderIds []string) error
- func (r *AlibabaLstShiporderCancelAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *AlibabaLstShiporderCancelAPIRequest) SetReason(_reason string) error
- type AlibabaLstShiporderCancelAPIResponse
- type AlibabaLstShiporderCancelAPIResponseModel
- type AlibabaLstShiporderCreateAPIRequest
- func (r AlibabaLstShiporderCreateAPIRequest) GetApiMethodName() string
- func (r AlibabaLstShiporderCreateAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstShiporderCreateAPIRequest) GetShipOrder() *LstThirdPartMainShipOrderCreateDto
- func (r *AlibabaLstShiporderCreateAPIRequest) SetShipOrder(_shipOrder *LstThirdPartMainShipOrderCreateDto) error
- type AlibabaLstShiporderCreateAPIResponse
- type AlibabaLstShiporderCreateAPIResponseModel
- type AlibabaLstShiporderQueryAPIRequest
- func (r AlibabaLstShiporderQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaLstShiporderQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstShiporderQueryAPIRequest) GetOutOrderId() string
- func (r AlibabaLstShiporderQueryAPIRequest) GetSource() string
- func (r *AlibabaLstShiporderQueryAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *AlibabaLstShiporderQueryAPIRequest) SetSource(_source string) error
- type AlibabaLstShiporderQueryAPIResponse
- type AlibabaLstShiporderQueryAPIResponseModel
- type BaseResult
- type Content
- type LstLogisticsInfoQuery
- type LstLogisticsTraceQuery
- type LstThirdPartDetailShipOrderCreateDto
- type LstThirdPartDetailShipOrderDto
- type LstThirdPartMainShipOrderCreateDto
- type LstThirdPartMainShipOrderDto
- type MainOrderParam
- type SendDummyOrderParam
- type SendOfflineOrderParam
- type SubOrderParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaLstLogisticsNotraceSendAPIRequest ¶ added in v1.2.5
type AlibabaLstLogisticsNotraceSendAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstLogisticsNotraceSendAPIRequest 供应商-异云-无需物流发货 API请求 alibaba.lst.logistics.notrace.send
异地云仓的订单,使用无需物流的发货方式来变更订单发货状态
func NewAlibabaLstLogisticsNotraceSendRequest ¶ added in v1.2.5
func NewAlibabaLstLogisticsNotraceSendRequest() *AlibabaLstLogisticsNotraceSendAPIRequest
NewAlibabaLstLogisticsNotraceSendRequest 初始化AlibabaLstLogisticsNotraceSendAPIRequest对象
func (AlibabaLstLogisticsNotraceSendAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaLstLogisticsNotraceSendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstLogisticsNotraceSendAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaLstLogisticsNotraceSendAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstLogisticsNotraceSendAPIRequest) GetParam ¶ added in v1.2.5
func (r AlibabaLstLogisticsNotraceSendAPIRequest) GetParam() *SendDummyOrderParam
GetParam Param Getter
func (*AlibabaLstLogisticsNotraceSendAPIRequest) SetParam ¶ added in v1.2.5
func (r *AlibabaLstLogisticsNotraceSendAPIRequest) SetParam(_param *SendDummyOrderParam) error
SetParam is Param Setter 入参
type AlibabaLstLogisticsNotraceSendAPIResponse ¶ added in v1.2.5
type AlibabaLstLogisticsNotraceSendAPIResponse struct { model.CommonResponse AlibabaLstLogisticsNotraceSendAPIResponseModel }
AlibabaLstLogisticsNotraceSendAPIResponse 供应商-异云-无需物流发货 API返回值 alibaba.lst.logistics.notrace.send
异地云仓的订单,使用无需物流的发货方式来变更订单发货状态
type AlibabaLstLogisticsNotraceSendAPIResponseModel ¶ added in v1.2.5
type AlibabaLstLogisticsNotraceSendAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_logistics_notrace_send_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaLstLogisticsNotraceSendResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstLogisticsNotraceSendAPIResponseModel is 供应商-异云-无需物流发货 成功返回结果
type AlibabaLstLogisticsNotraceSendResult ¶ added in v1.2.5
type AlibabaLstLogisticsNotraceSendResult struct { // 错误描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 返回内容 Content *Content `json:"content,omitempty" xml:"content,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstLogisticsNotraceSendResult 结构体
type AlibabaLstLogisticsSendinfoQueryAPIRequest ¶ added in v1.2.0
type AlibabaLstLogisticsSendinfoQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstLogisticsSendinfoQueryAPIRequest 供应商-异云-查询主订单包含的物流单 API请求 alibaba.lst.logistics.sendinfo.query
查询主订单包含的物流单
func NewAlibabaLstLogisticsSendinfoQueryRequest ¶
func NewAlibabaLstLogisticsSendinfoQueryRequest() *AlibabaLstLogisticsSendinfoQueryAPIRequest
NewAlibabaLstLogisticsSendinfoQueryRequest 初始化AlibabaLstLogisticsSendinfoQueryAPIRequest对象
func (AlibabaLstLogisticsSendinfoQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstLogisticsSendinfoQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstLogisticsSendinfoQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstLogisticsSendinfoQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstLogisticsSendinfoQueryAPIRequest) GetQuery ¶ added in v1.2.0
func (r AlibabaLstLogisticsSendinfoQueryAPIRequest) GetQuery() *LstLogisticsInfoQuery
GetQuery Query Getter
func (*AlibabaLstLogisticsSendinfoQueryAPIRequest) SetQuery ¶ added in v1.2.0
func (r *AlibabaLstLogisticsSendinfoQueryAPIRequest) SetQuery(_query *LstLogisticsInfoQuery) error
SetQuery is Query Setter 入参
type AlibabaLstLogisticsSendinfoQueryAPIResponse ¶
type AlibabaLstLogisticsSendinfoQueryAPIResponse struct { model.CommonResponse AlibabaLstLogisticsSendinfoQueryAPIResponseModel }
AlibabaLstLogisticsSendinfoQueryAPIResponse 供应商-异云-查询主订单包含的物流单 API返回值 alibaba.lst.logistics.sendinfo.query
查询主订单包含的物流单
type AlibabaLstLogisticsSendinfoQueryAPIResponseModel ¶ added in v1.2.0
type AlibabaLstLogisticsSendinfoQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_logistics_sendinfo_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaLstLogisticsSendinfoQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstLogisticsSendinfoQueryAPIResponseModel is 供应商-异云-查询主订单包含的物流单 成功返回结果
type AlibabaLstLogisticsSendinfoQueryResult ¶
type AlibabaLstLogisticsSendinfoQueryResult struct { // 返回内容 ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"` // 错误描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstLogisticsSendinfoQueryResult 结构体
type AlibabaLstLogisticsThirdpartCompanyListAPIRequest ¶ added in v1.2.0
AlibabaLstLogisticsThirdpartCompanyListAPIRequest 供应商-异云-第三方物流公司列表 API请求 alibaba.lst.logistics.thirdpart.company.list
异地云仓发货时,需填写的第三方物流公司列表
func NewAlibabaLstLogisticsThirdpartCompanyListRequest ¶
func NewAlibabaLstLogisticsThirdpartCompanyListRequest() *AlibabaLstLogisticsThirdpartCompanyListAPIRequest
NewAlibabaLstLogisticsThirdpartCompanyListRequest 初始化AlibabaLstLogisticsThirdpartCompanyListAPIRequest对象
func (AlibabaLstLogisticsThirdpartCompanyListAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstLogisticsThirdpartCompanyListAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstLogisticsThirdpartCompanyListAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstLogisticsThirdpartCompanyListAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type AlibabaLstLogisticsThirdpartCompanyListAPIResponse ¶
type AlibabaLstLogisticsThirdpartCompanyListAPIResponse struct { model.CommonResponse AlibabaLstLogisticsThirdpartCompanyListAPIResponseModel }
AlibabaLstLogisticsThirdpartCompanyListAPIResponse 供应商-异云-第三方物流公司列表 API返回值 alibaba.lst.logistics.thirdpart.company.list
异地云仓发货时,需填写的第三方物流公司列表
type AlibabaLstLogisticsThirdpartCompanyListAPIResponseModel ¶ added in v1.2.0
type AlibabaLstLogisticsThirdpartCompanyListAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_logistics_thirdpart_company_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回内容 ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"` }
AlibabaLstLogisticsThirdpartCompanyListAPIResponseModel is 供应商-异云-第三方物流公司列表 成功返回结果
type AlibabaLstLogisticsThirdpartSendAPIRequest ¶ added in v1.2.0
type AlibabaLstLogisticsThirdpartSendAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstLogisticsThirdpartSendAPIRequest 供应商-异云-使用第三方物流发货 API请求 alibaba.lst.logistics.thirdpart.send
异地云仓的订单,使用第三方物流的发货方式来变更订单发货状态
func NewAlibabaLstLogisticsThirdpartSendRequest ¶
func NewAlibabaLstLogisticsThirdpartSendRequest() *AlibabaLstLogisticsThirdpartSendAPIRequest
NewAlibabaLstLogisticsThirdpartSendRequest 初始化AlibabaLstLogisticsThirdpartSendAPIRequest对象
func (AlibabaLstLogisticsThirdpartSendAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstLogisticsThirdpartSendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstLogisticsThirdpartSendAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstLogisticsThirdpartSendAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstLogisticsThirdpartSendAPIRequest) GetParam ¶ added in v1.2.0
func (r AlibabaLstLogisticsThirdpartSendAPIRequest) GetParam() *SendOfflineOrderParam
GetParam Param Getter
func (*AlibabaLstLogisticsThirdpartSendAPIRequest) SetParam ¶ added in v1.2.0
func (r *AlibabaLstLogisticsThirdpartSendAPIRequest) SetParam(_param *SendOfflineOrderParam) error
SetParam is Param Setter 入参
type AlibabaLstLogisticsThirdpartSendAPIResponse ¶
type AlibabaLstLogisticsThirdpartSendAPIResponse struct { model.CommonResponse AlibabaLstLogisticsThirdpartSendAPIResponseModel }
AlibabaLstLogisticsThirdpartSendAPIResponse 供应商-异云-使用第三方物流发货 API返回值 alibaba.lst.logistics.thirdpart.send
异地云仓的订单,使用第三方物流的发货方式来变更订单发货状态
type AlibabaLstLogisticsThirdpartSendAPIResponseModel ¶ added in v1.2.0
type AlibabaLstLogisticsThirdpartSendAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_logistics_thirdpart_send_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaLstLogisticsThirdpartSendResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstLogisticsThirdpartSendAPIResponseModel is 供应商-异云-使用第三方物流发货 成功返回结果
type AlibabaLstLogisticsThirdpartSendResult ¶
type AlibabaLstLogisticsThirdpartSendResult struct { // 错误描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 返回内容 Content *Content `json:"content,omitempty" xml:"content,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstLogisticsThirdpartSendResult 结构体
type AlibabaLstLogisticsTraceQueryAPIRequest ¶ added in v1.2.0
type AlibabaLstLogisticsTraceQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstLogisticsTraceQueryAPIRequest 供应商-异云-查询运单物流追踪信息 API请求 alibaba.lst.logistics.trace.query
查询LP单物流追踪信息
func NewAlibabaLstLogisticsTraceQueryRequest ¶
func NewAlibabaLstLogisticsTraceQueryRequest() *AlibabaLstLogisticsTraceQueryAPIRequest
NewAlibabaLstLogisticsTraceQueryRequest 初始化AlibabaLstLogisticsTraceQueryAPIRequest对象
func (AlibabaLstLogisticsTraceQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstLogisticsTraceQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstLogisticsTraceQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstLogisticsTraceQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstLogisticsTraceQueryAPIRequest) GetQuery ¶ added in v1.2.0
func (r AlibabaLstLogisticsTraceQueryAPIRequest) GetQuery() *LstLogisticsTraceQuery
GetQuery Query Getter
func (*AlibabaLstLogisticsTraceQueryAPIRequest) SetQuery ¶ added in v1.2.0
func (r *AlibabaLstLogisticsTraceQueryAPIRequest) SetQuery(_query *LstLogisticsTraceQuery) error
SetQuery is Query Setter 入参
type AlibabaLstLogisticsTraceQueryAPIResponse ¶
type AlibabaLstLogisticsTraceQueryAPIResponse struct { model.CommonResponse AlibabaLstLogisticsTraceQueryAPIResponseModel }
AlibabaLstLogisticsTraceQueryAPIResponse 供应商-异云-查询运单物流追踪信息 API返回值 alibaba.lst.logistics.trace.query
查询LP单物流追踪信息
type AlibabaLstLogisticsTraceQueryAPIResponseModel ¶ added in v1.2.0
type AlibabaLstLogisticsTraceQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_logistics_trace_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaLstLogisticsTraceQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstLogisticsTraceQueryAPIResponseModel is 供应商-异云-查询运单物流追踪信息 成功返回结果
type AlibabaLstLogisticsTraceQueryResult ¶
type AlibabaLstLogisticsTraceQueryResult struct { // 返回内容 ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"` // 错误描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstLogisticsTraceQueryResult 结构体
type AlibabaLstShiporderCancelAPIRequest ¶ added in v1.2.0
type AlibabaLstShiporderCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstShiporderCancelAPIRequest 零售通发货单取消 API请求 alibaba.lst.shiporder.cancel
通过该接口可以取消零售通运保保发货单,并处理相关业务流程。
func NewAlibabaLstShiporderCancelRequest ¶
func NewAlibabaLstShiporderCancelRequest() *AlibabaLstShiporderCancelAPIRequest
NewAlibabaLstShiporderCancelRequest 初始化AlibabaLstShiporderCancelAPIRequest对象
func (AlibabaLstShiporderCancelAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstShiporderCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstShiporderCancelAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstShiporderCancelAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstShiporderCancelAPIRequest) GetDetailOrderIds ¶ added in v1.2.0
func (r AlibabaLstShiporderCancelAPIRequest) GetDetailOrderIds() []string
GetDetailOrderIds DetailOrderIds Getter
func (AlibabaLstShiporderCancelAPIRequest) GetOutOrderId ¶ added in v1.2.0
func (r AlibabaLstShiporderCancelAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (AlibabaLstShiporderCancelAPIRequest) GetReason ¶ added in v1.2.0
func (r AlibabaLstShiporderCancelAPIRequest) GetReason() string
GetReason Reason Getter
func (*AlibabaLstShiporderCancelAPIRequest) SetDetailOrderIds ¶ added in v1.2.0
func (r *AlibabaLstShiporderCancelAPIRequest) SetDetailOrderIds(_detailOrderIds []string) error
SetDetailOrderIds is DetailOrderIds Setter 需要退款的明细ID
func (*AlibabaLstShiporderCancelAPIRequest) SetOutOrderId ¶ added in v1.2.0
func (r *AlibabaLstShiporderCancelAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter 订单号
func (*AlibabaLstShiporderCancelAPIRequest) SetReason ¶ added in v1.2.0
func (r *AlibabaLstShiporderCancelAPIRequest) SetReason(_reason string) error
SetReason is Reason Setter 取消原因
type AlibabaLstShiporderCancelAPIResponse ¶
type AlibabaLstShiporderCancelAPIResponse struct { model.CommonResponse AlibabaLstShiporderCancelAPIResponseModel }
AlibabaLstShiporderCancelAPIResponse 零售通发货单取消 API返回值 alibaba.lst.shiporder.cancel
通过该接口可以取消零售通运保保发货单,并处理相关业务流程。
type AlibabaLstShiporderCancelAPIResponseModel ¶ added in v1.2.0
type AlibabaLstShiporderCancelAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_shiporder_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstShiporderCancelAPIResponseModel is 零售通发货单取消 成功返回结果
type AlibabaLstShiporderCreateAPIRequest ¶ added in v1.2.0
type AlibabaLstShiporderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstShiporderCreateAPIRequest 零售通发货单创建 API请求 alibaba.lst.shiporder.create
通过该接口可以创建零售通运保保发货单,并处理相关业务流程。
func NewAlibabaLstShiporderCreateRequest ¶
func NewAlibabaLstShiporderCreateRequest() *AlibabaLstShiporderCreateAPIRequest
NewAlibabaLstShiporderCreateRequest 初始化AlibabaLstShiporderCreateAPIRequest对象
func (AlibabaLstShiporderCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstShiporderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstShiporderCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstShiporderCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstShiporderCreateAPIRequest) GetShipOrder ¶ added in v1.2.0
func (r AlibabaLstShiporderCreateAPIRequest) GetShipOrder() *LstThirdPartMainShipOrderCreateDto
GetShipOrder ShipOrder Getter
func (*AlibabaLstShiporderCreateAPIRequest) SetShipOrder ¶ added in v1.2.0
func (r *AlibabaLstShiporderCreateAPIRequest) SetShipOrder(_shipOrder *LstThirdPartMainShipOrderCreateDto) error
SetShipOrder is ShipOrder Setter 创建发货单入参
type AlibabaLstShiporderCreateAPIResponse ¶
type AlibabaLstShiporderCreateAPIResponse struct { model.CommonResponse AlibabaLstShiporderCreateAPIResponseModel }
AlibabaLstShiporderCreateAPIResponse 零售通发货单创建 API返回值 alibaba.lst.shiporder.create
通过该接口可以创建零售通运保保发货单,并处理相关业务流程。
type AlibabaLstShiporderCreateAPIResponseModel ¶ added in v1.2.0
type AlibabaLstShiporderCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_shiporder_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstShiporderCreateAPIResponseModel is 零售通发货单创建 成功返回结果
type AlibabaLstShiporderQueryAPIRequest ¶ added in v1.2.0
type AlibabaLstShiporderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstShiporderQueryAPIRequest 零售通发货单查询 API请求 alibaba.lst.shiporder.query
通过该接口可以查询零售通运保保发货单,并处理相关业务流程。
func NewAlibabaLstShiporderQueryRequest ¶
func NewAlibabaLstShiporderQueryRequest() *AlibabaLstShiporderQueryAPIRequest
NewAlibabaLstShiporderQueryRequest 初始化AlibabaLstShiporderQueryAPIRequest对象
func (AlibabaLstShiporderQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstShiporderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstShiporderQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstShiporderQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstShiporderQueryAPIRequest) GetOutOrderId ¶ added in v1.2.0
func (r AlibabaLstShiporderQueryAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (AlibabaLstShiporderQueryAPIRequest) GetSource ¶ added in v1.2.0
func (r AlibabaLstShiporderQueryAPIRequest) GetSource() string
GetSource Source Getter
func (*AlibabaLstShiporderQueryAPIRequest) SetOutOrderId ¶ added in v1.2.0
func (r *AlibabaLstShiporderQueryAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter 订单
func (*AlibabaLstShiporderQueryAPIRequest) SetSource ¶ added in v1.2.0
func (r *AlibabaLstShiporderQueryAPIRequest) SetSource(_source string) error
SetSource is Source Setter 零售通
type AlibabaLstShiporderQueryAPIResponse ¶
type AlibabaLstShiporderQueryAPIResponse struct { model.CommonResponse AlibabaLstShiporderQueryAPIResponseModel }
AlibabaLstShiporderQueryAPIResponse 零售通发货单查询 API返回值 alibaba.lst.shiporder.query
通过该接口可以查询零售通运保保发货单,并处理相关业务流程。
type AlibabaLstShiporderQueryAPIResponseModel ¶ added in v1.2.0
type AlibabaLstShiporderQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_shiporder_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstShiporderQueryAPIResponseModel is 零售通发货单查询 成功返回结果
type BaseResult ¶
type BaseResult struct { // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 发货单ID Model int64 `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
BaseResult 结构体
type Content ¶
type Content struct { // 子订单列表 SubOrderIdList []int64 `json:"sub_order_id_list,omitempty" xml:"sub_order_id_list>int64,omitempty"` // 物流编号,可用来查询物流详情 LogisticsId string `json:"logistics_id,omitempty" xml:"logistics_id,omitempty"` // 运单编号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 物流公司code CpCompanyCode string `json:"cp_company_code,omitempty" xml:"cp_company_code,omitempty"` // 物流公司name CpCompanyName string `json:"cp_company_name,omitempty" xml:"cp_company_name,omitempty"` // 描述 StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"` // 时间 Time string `json:"time,omitempty" xml:"time,omitempty"` // 描述 StanderdDesc string `json:"standerd_desc,omitempty" xml:"standerd_desc,omitempty"` }
Content 结构体
type LstLogisticsInfoQuery ¶
type LstLogisticsInfoQuery struct { // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` }
LstLogisticsInfoQuery 结构体
type LstLogisticsTraceQuery ¶
type LstLogisticsTraceQuery struct { // 物流编号 LogisticsId string `json:"logistics_id,omitempty" xml:"logistics_id,omitempty"` // 主订单号 MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` }
LstLogisticsTraceQuery 结构体
type LstThirdPartDetailShipOrderCreateDto ¶
type LstThirdPartDetailShipOrderCreateDto struct { // 品牌 SkuBrand string `json:"sku_brand,omitempty" xml:"sku_brand,omitempty"` // 规格 SkuSpec string `json:"sku_spec,omitempty" xml:"sku_spec,omitempty"` // 销售单位 SkuUnit string `json:"sku_unit,omitempty" xml:"sku_unit,omitempty"` // 国标条码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 商品名称 SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"` // 订单明细id,可用来标注唯一的订单明细行。当其他无法唯一标识的时候,可用此字段。 DetailOrderId string `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"` // 购买数量 SaleQuantity int64 `json:"sale_quantity,omitempty" xml:"sale_quantity,omitempty"` // 单价,单位为分 SkuPrice int64 `json:"sku_price,omitempty" xml:"sku_price,omitempty"` // 货品实付金额,单位为分 PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` }
LstThirdPartDetailShipOrderCreateDto 结构体
type LstThirdPartDetailShipOrderDto ¶
type LstThirdPartDetailShipOrderDto struct { // 销售单位 SkuUnit string `json:"sku_unit,omitempty" xml:"sku_unit,omitempty"` // 规格 SkuSpec string `json:"sku_spec,omitempty" xml:"sku_spec,omitempty"` // 条码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 商品名称 SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"` // 明细订单ID DetailOrderId string `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"` // 子发货单状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 销售数量 SaleQuantity int64 `json:"sale_quantity,omitempty" xml:"sale_quantity,omitempty"` // 装车数量 LoadQuantity int64 `json:"load_quantity,omitempty" xml:"load_quantity,omitempty"` // 签收数量 SignQuantity int64 `json:"sign_quantity,omitempty" xml:"sign_quantity,omitempty"` }
LstThirdPartDetailShipOrderDto 结构体
type LstThirdPartMainShipOrderCreateDto ¶
type LstThirdPartMainShipOrderCreateDto struct { // 货品明细 Details []LstThirdPartDetailShipOrderCreateDto `json:"details,omitempty" xml:"details>lst_third_part_detail_ship_order_create_dto,omitempty"` // 区 ReceiverDistrict string `json:"receiver_district,omitempty" xml:"receiver_district,omitempty"` // 省 ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"` // 买家留言 BuyerMessage string `json:"buyer_message,omitempty" xml:"buyer_message,omitempty"` // 详细地址 ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"` // 店铺名称 BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"` // 订单创建时间 OrderCreateTime string `json:"order_create_time,omitempty" xml:"order_create_time,omitempty"` // 市 ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"` // 街道 ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"` // 收货人姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 邮编 ReceiverZip string `json:"receiver_zip,omitempty" xml:"receiver_zip,omitempty"` // 外部订单ID,幂等key OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 电话 ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"` // 收货人手机号 ReceiverMobile int64 `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"` // 订单实付金额,单位为分 PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` }
LstThirdPartMainShipOrderCreateDto 结构体
type LstThirdPartMainShipOrderDto ¶
type LstThirdPartMainShipOrderDto struct { // 货品列表 Details []LstThirdPartDetailShipOrderDto `json:"details,omitempty" xml:"details>lst_third_part_detail_ship_order_dto,omitempty"` // 签收时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 发货单状态:NEW --->新建,LOAD_WAIT--->待装车,LOAD_SUCCESS--->已装车,SIGN_SUCCESS--->签收,SIGN_PART_SUCCESS--->部分签收,SIGN_FAILED--->拒签,CANCEL--->取消 Status string `json:"status,omitempty" xml:"status,omitempty"` // 外部订单ID OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 发货单更新时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 发货单生成时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 装车时间 LoadTime string `json:"load_time,omitempty" xml:"load_time,omitempty"` // 订单 BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 发货单ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
LstThirdPartMainShipOrderDto 结构体
type MainOrderParam ¶
type MainOrderParam struct { // 发货子订单列表 SubOrderParamList []SubOrderParam `json:"sub_order_param_list,omitempty" xml:"sub_order_param_list>sub_order_param,omitempty"` // 主订单id MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"` }
MainOrderParam 结构体
type SendDummyOrderParam ¶ added in v1.2.5
type SendDummyOrderParam struct { // 发货主订单列表 MainOrderParamList []MainOrderParam `json:"main_order_param_list,omitempty" xml:"main_order_param_list>main_order_param,omitempty"` // 发货时间 SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"` // 备注 Remarks string `json:"remarks,omitempty" xml:"remarks,omitempty"` }
SendDummyOrderParam 结构体
type SendOfflineOrderParam ¶
type SendOfflineOrderParam struct { // 发货主订单列表 MainOrderParamList []MainOrderParam `json:"main_order_param_list,omitempty" xml:"main_order_param_list>main_order_param,omitempty"` // 快递单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 物流公司code CpCompanyCode string `json:"cp_company_code,omitempty" xml:"cp_company_code,omitempty"` // 物流公司名称 CpCompanyName string `json:"cp_company_name,omitempty" xml:"cp_company_name,omitempty"` // 发货时间 SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"` // 备注 Remarks string `json:"remarks,omitempty" xml:"remarks,omitempty"` }
SendOfflineOrderParam 结构体
type SubOrderParam ¶
type SubOrderParam struct { // 子订单id SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 购买数量 Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` }
SubOrderParam 结构体
Source Files ¶
- AlibabaLstLogisticsNotraceSendAPIRequest.go
- AlibabaLstLogisticsNotraceSendAPIResponse.go
- AlibabaLstLogisticsNotraceSendResult.go
- AlibabaLstLogisticsSendinfoQueryAPIRequest.go
- AlibabaLstLogisticsSendinfoQueryAPIResponse.go
- AlibabaLstLogisticsSendinfoQueryResult.go
- AlibabaLstLogisticsThirdpartCompanyListAPIRequest.go
- AlibabaLstLogisticsThirdpartCompanyListAPIResponse.go
- AlibabaLstLogisticsThirdpartSendAPIRequest.go
- AlibabaLstLogisticsThirdpartSendAPIResponse.go
- AlibabaLstLogisticsThirdpartSendResult.go
- AlibabaLstLogisticsTraceQueryAPIRequest.go
- AlibabaLstLogisticsTraceQueryAPIResponse.go
- AlibabaLstLogisticsTraceQueryResult.go
- AlibabaLstShiporderCancelAPIRequest.go
- AlibabaLstShiporderCancelAPIResponse.go
- AlibabaLstShiporderCreateAPIRequest.go
- AlibabaLstShiporderCreateAPIResponse.go
- AlibabaLstShiporderQueryAPIRequest.go
- AlibabaLstShiporderQueryAPIResponse.go
- BaseResult.go
- Content.go
- LstLogisticsInfoQuery.go
- LstLogisticsTraceQuery.go
- LstThirdPartDetailShipOrderCreateDto.go
- LstThirdPartDetailShipOrderDto.go
- LstThirdPartMainShipOrderCreateDto.go
- LstThirdPartMainShipOrderDto.go
- MainOrderParam.go
- SendDummyOrderParam.go
- SendOfflineOrderParam.go
- SubOrderParam.go
- doc.go