healthnr

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

阿里健康新零售 model

https://open.taobao.com/API.htm?docId=41387&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaHealthNrLogisticsQueryAPIResponse

type AlibabaHealthNrLogisticsQueryAPIResponse struct {
	model.CommonResponse
	AlibabaHealthNrLogisticsQueryResponse
}

阿里健康新零售物流详情接口 API返回值 alibaba.health.nr.logistics.query

对阿里健康o2o对接的商户提供查询物流单详情的能力

type AlibabaHealthNrLogisticsQueryRequest

type AlibabaHealthNrLogisticsQueryRequest struct {
	model.Params
	// contains filtered or unexported fields
}

阿里健康新零售物流详情接口 API请求 alibaba.health.nr.logistics.query

对阿里健康o2o对接的商户提供查询物流单详情的能力

func NewAlibabaHealthNrLogisticsQueryRequest

func NewAlibabaHealthNrLogisticsQueryRequest() *AlibabaHealthNrLogisticsQueryRequest

初始化AlibabaHealthNrLogisticsQueryRequest对象

func (AlibabaHealthNrLogisticsQueryRequest) GetApiMethodName

func (r AlibabaHealthNrLogisticsQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaHealthNrLogisticsQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaHealthNrLogisticsQueryRequest) GetOrderId

OrderId Getter

func (*AlibabaHealthNrLogisticsQueryRequest) SetOrderId

func (r *AlibabaHealthNrLogisticsQueryRequest) SetOrderId(orderId int64) error

OrderId Setter 订单id

type AlibabaHealthNrLogisticsQueryResponse

type AlibabaHealthNrLogisticsQueryResponse 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"`
}

阿里健康新零售物流详情接口 成功返回结果

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL