Documentation ¶
Overview ¶
阿里健康新零售 model
Index ¶
- type AlibabaHealthNrLogisticsQueryAPIRequest
- func (r AlibabaHealthNrLogisticsQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaHealthNrLogisticsQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaHealthNrLogisticsQueryAPIRequest) GetOrderId() int64
- func (r *AlibabaHealthNrLogisticsQueryAPIRequest) SetOrderId(_orderId int64) error
- type AlibabaHealthNrLogisticsQueryAPIResponse
- type AlibabaHealthNrLogisticsQueryAPIResponseModel
- type LogisticsDetail
- type ResponseResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaHealthNrLogisticsQueryAPIRequest ¶ added in v1.2.0
type AlibabaHealthNrLogisticsQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaHealthNrLogisticsQueryAPIRequest
阿里健康新零售物流详情接口 API请求 alibaba.health.nr.logistics.query
对阿里健康o2o对接的商户提供查询物流单详情的能力
func NewAlibabaHealthNrLogisticsQueryRequest ¶
func NewAlibabaHealthNrLogisticsQueryRequest() *AlibabaHealthNrLogisticsQueryAPIRequest
NewAlibabaHealthNrLogisticsQueryRequest 初始化AlibabaHealthNrLogisticsQueryAPIRequest对象
func (AlibabaHealthNrLogisticsQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaHealthNrLogisticsQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaHealthNrLogisticsQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaHealthNrLogisticsQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaHealthNrLogisticsQueryAPIRequest) GetOrderId ¶ added in v1.2.0
func (r AlibabaHealthNrLogisticsQueryAPIRequest) GetOrderId() int64
Get OrderId Getter
func (*AlibabaHealthNrLogisticsQueryAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *AlibabaHealthNrLogisticsQueryAPIRequest) SetOrderId(_orderId int64) error
Set is OrderId Setter 订单id
type AlibabaHealthNrLogisticsQueryAPIResponse ¶
type AlibabaHealthNrLogisticsQueryAPIResponse struct { model.CommonResponse AlibabaHealthNrLogisticsQueryAPIResponseModel }
AlibabaHealthNrLogisticsQueryAPIResponse
阿里健康新零售物流详情接口 API返回值 alibaba.health.nr.logistics.query
对阿里健康o2o对接的商户提供查询物流单详情的能力
type AlibabaHealthNrLogisticsQueryAPIResponseModel ¶ added in v1.2.0
type AlibabaHealthNrLogisticsQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_health_nr_logistics_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 ResponseResult *ResponseResult `json:"response_result,omitempty" xml:"response_result,omitempty"` }
AlibabaHealthNrLogisticsQueryAPIResponseModel is 阿里健康新零售物流详情接口 成功返回结果
type LogisticsDetail ¶
type LogisticsDetail struct { // 订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 物流状态 LogisticsStatus int64 `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"` // 物流商 LogisticsName string `json:"logistics_name,omitempty" xml:"logistics_name,omitempty"` // 配送单下单时间 SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"` // 配送单确认时间 ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"` // 配送单取消时间 CancelTime string `json:"cancel_time,omitempty" xml:"cancel_time,omitempty"` // 骑手取货时间 FetchTime string `json:"fetch_time,omitempty" xml:"fetch_time,omitempty"` // 配送完成时间 CompleteTime string `json:"complete_time,omitempty" xml:"complete_time,omitempty"` // 骑手姓名 DispatcherName string `json:"dispatcher_name,omitempty" xml:"dispatcher_name,omitempty"` // 骑手电话 DispatcherMobile string `json:"dispatcher_mobile,omitempty" xml:"dispatcher_mobile,omitempty"` }
LogisticsDetail 结构体
type ResponseResult ¶
type ResponseResult struct { // 返回结果 Result *LogisticsDetail `json:"result,omitempty" xml:"result,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功(true 成功,false 失败) Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResponseResult 结构体
Click to show internal directories.
Click to hide internal directories.