cityretail

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

淘宝同城API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeOrderResponseDto

type ChangeOrderResponseDto struct {
	// 淘宝订单id
	TbOrderId string `json:"tb_order_id,omitempty" xml:"tb_order_id,omitempty"`
	// 转仓后的新仓
	NewWarehouseCode string `json:"new_warehouse_code,omitempty" xml:"new_warehouse_code,omitempty"`
	// 转仓前的原仓
	OriginWarehouseCode string `json:"origin_warehouse_code,omitempty" xml:"origin_warehouse_code,omitempty"`
	// 履约单id
	FulfillOrderId string `json:"fulfill_order_id,omitempty" xml:"fulfill_order_id,omitempty"`
	// 取货码
	PickupCode string `json:"pickup_code,omitempty" xml:"pickup_code,omitempty"`
}

ChangeOrderResponseDto

type OrderLogisticsResponseDto

type OrderLogisticsResponseDto struct {
	// 快递员姓名
	DelivererName string `json:"deliverer_name,omitempty" xml:"deliverer_name,omitempty"`
	// 快递员电话
	DelivererPhone string `json:"deliverer_phone,omitempty" xml:"deliverer_phone,omitempty"`
	// 取件失败原因
	FailReason string `json:"fail_reason,omitempty" xml:"fail_reason,omitempty"`
	// 失败码
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 状态产生时间
	LogisticTime string `json:"logistic_time,omitempty" xml:"logistic_time,omitempty"`
	// 物流状态
	LogisticStatus string `json:"logistic_status,omitempty" xml:"logistic_status,omitempty"`
	// 物流状态说明
	LogisticStatusName string `json:"logistic_status_name,omitempty" xml:"logistic_status_name,omitempty"`
}

OrderLogisticsResponseDto

type TaobaoCityretailWmflConvertWarehouseAPIResponse

type TaobaoCityretailWmflConvertWarehouseAPIResponse struct {
	model.CommonResponse
	TaobaoCityretailWmflConvertWarehouseResponse
}

同城零售完美履约转仓 API返回值 taobao.cityretail.wmfl.convert.warehouse

同城零售完美履约转仓

type TaobaoCityretailWmflConvertWarehouseRequest

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

同城零售完美履约转仓 API请求 taobao.cityretail.wmfl.convert.warehouse

同城零售完美履约转仓

func NewTaobaoCityretailWmflConvertWarehouseRequest

func NewTaobaoCityretailWmflConvertWarehouseRequest() *TaobaoCityretailWmflConvertWarehouseRequest

初始化TaobaoCityretailWmflConvertWarehouseRequest对象

func (TaobaoCityretailWmflConvertWarehouseRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoCityretailWmflConvertWarehouseRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoCityretailWmflConvertWarehouseRequest) GetTbOrderId

TbOrderId Getter

func (*TaobaoCityretailWmflConvertWarehouseRequest) SetTbOrderId

func (r *TaobaoCityretailWmflConvertWarehouseRequest) SetTbOrderId(tbOrderId string) error

TbOrderId Setter 淘宝交易单id

type TaobaoCityretailWmflConvertWarehouseResponse

type TaobaoCityretailWmflConvertWarehouseResponse struct {
	XMLName xml.Name `xml:"cityretail_wmfl_convert_warehouse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 服务出参
	Result *WorkResult `json:"result,omitempty" xml:"result,omitempty"`
}

同城零售完美履约转仓 成功返回结果

type TmallCityretailWmflOrderLogisticsQueryAPIResponse

type TmallCityretailWmflOrderLogisticsQueryAPIResponse struct {
	model.CommonResponse
	TmallCityretailWmflOrderLogisticsQueryResponse
}

完美履约订单物流状态查询接口 API返回值 tmall.cityretail.wmfl.order.logistics.query

完美履约订单物流状态查询接口,该接口只能查询未完结的履约单以及完结的3天内订单

type TmallCityretailWmflOrderLogisticsQueryRequest

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

完美履约订单物流状态查询接口 API请求 tmall.cityretail.wmfl.order.logistics.query

完美履约订单物流状态查询接口,该接口只能查询未完结的履约单以及完结的3天内订单

func NewTmallCityretailWmflOrderLogisticsQueryRequest

func NewTmallCityretailWmflOrderLogisticsQueryRequest() *TmallCityretailWmflOrderLogisticsQueryRequest

初始化TmallCityretailWmflOrderLogisticsQueryRequest对象

func (TmallCityretailWmflOrderLogisticsQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TmallCityretailWmflOrderLogisticsQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCityretailWmflOrderLogisticsQueryRequest) GetMainOrderId

MainOrderId Getter

func (*TmallCityretailWmflOrderLogisticsQueryRequest) SetMainOrderId

func (r *TmallCityretailWmflOrderLogisticsQueryRequest) SetMainOrderId(mainOrderId string) error

MainOrderId Setter 订单号

type TmallCityretailWmflOrderLogisticsQueryResponse

type TmallCityretailWmflOrderLogisticsQueryResponse struct {
	XMLName xml.Name `xml:"tmall_cityretail_wmfl_order_logistics_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *WorkResult `json:"result,omitempty" xml:"result,omitempty"`
}

完美履约订单物流状态查询接口 成功返回结果

type WorkResult

type WorkResult struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 请求结果数据
	Data *ChangeOrderResponseDto `json:"data,omitempty" xml:"data,omitempty"`
	// 标示服务成功/失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回数据对象
	ResultData *OrderLogisticsResponseDto `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

WorkResult

Jump to

Keyboard shortcuts

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