Documentation ¶
Overview ¶
Package cityretail 包含淘宝同城API相关结构体
Index ¶
- type ChangeOrderResponseDto
- type OrderLogisticsResponseDto
- type TaobaoCityretailWmflConvertWarehouseAPIRequest
- func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetApiMethodName() string
- func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetRawParams() model.Params
- func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetTbOrderId() string
- func (r *TaobaoCityretailWmflConvertWarehouseAPIRequest) SetTbOrderId(_tbOrderId string) error
- type TaobaoCityretailWmflConvertWarehouseAPIResponse
- type TaobaoCityretailWmflConvertWarehouseAPIResponseModel
- type TmallCityretailWmflOrderLogisticsQueryAPIRequest
- func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetApiMethodName() string
- func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetApiParams(params url.Values)
- func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetMainOrderId() string
- func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetRawParams() model.Params
- func (r *TmallCityretailWmflOrderLogisticsQueryAPIRequest) SetMainOrderId(_mainOrderId string) error
- type TmallCityretailWmflOrderLogisticsQueryAPIResponse
- type TmallCityretailWmflOrderLogisticsQueryAPIResponseModel
- type WorkResult
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 TaobaoCityretailWmflConvertWarehouseAPIRequest ¶ added in v1.2.0
type TaobaoCityretailWmflConvertWarehouseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoCityretailWmflConvertWarehouseAPIRequest 同城零售完美履约转仓 API请求 taobao.cityretail.wmfl.convert.warehouse
同城零售完美履约转仓
func NewTaobaoCityretailWmflConvertWarehouseRequest ¶
func NewTaobaoCityretailWmflConvertWarehouseRequest() *TaobaoCityretailWmflConvertWarehouseAPIRequest
NewTaobaoCityretailWmflConvertWarehouseRequest 初始化TaobaoCityretailWmflConvertWarehouseAPIRequest对象
func (TaobaoCityretailWmflConvertWarehouseAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoCityretailWmflConvertWarehouseAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoCityretailWmflConvertWarehouseAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoCityretailWmflConvertWarehouseAPIRequest) GetTbOrderId ¶ added in v1.2.0
func (r TaobaoCityretailWmflConvertWarehouseAPIRequest) GetTbOrderId() string
GetTbOrderId TbOrderId Getter
func (*TaobaoCityretailWmflConvertWarehouseAPIRequest) SetTbOrderId ¶ added in v1.2.0
func (r *TaobaoCityretailWmflConvertWarehouseAPIRequest) SetTbOrderId(_tbOrderId string) error
SetTbOrderId is TbOrderId Setter 淘宝交易单id
type TaobaoCityretailWmflConvertWarehouseAPIResponse ¶
type TaobaoCityretailWmflConvertWarehouseAPIResponse struct { model.CommonResponse TaobaoCityretailWmflConvertWarehouseAPIResponseModel }
TaobaoCityretailWmflConvertWarehouseAPIResponse 同城零售完美履约转仓 API返回值 taobao.cityretail.wmfl.convert.warehouse
同城零售完美履约转仓
type TaobaoCityretailWmflConvertWarehouseAPIResponseModel ¶ added in v1.2.0
type TaobaoCityretailWmflConvertWarehouseAPIResponseModel 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"` }
TaobaoCityretailWmflConvertWarehouseAPIResponseModel is 同城零售完美履约转仓 成功返回结果
type TmallCityretailWmflOrderLogisticsQueryAPIRequest ¶ added in v1.2.0
type TmallCityretailWmflOrderLogisticsQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallCityretailWmflOrderLogisticsQueryAPIRequest 完美履约订单物流状态查询接口 API请求 tmall.cityretail.wmfl.order.logistics.query
完美履约订单物流状态查询接口,该接口只能查询未完结的履约单以及完结的3天内订单
func NewTmallCityretailWmflOrderLogisticsQueryRequest ¶
func NewTmallCityretailWmflOrderLogisticsQueryRequest() *TmallCityretailWmflOrderLogisticsQueryAPIRequest
NewTmallCityretailWmflOrderLogisticsQueryRequest 初始化TmallCityretailWmflOrderLogisticsQueryAPIRequest对象
func (TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetMainOrderId ¶ added in v1.2.0
func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetMainOrderId() string
GetMainOrderId MainOrderId Getter
func (TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TmallCityretailWmflOrderLogisticsQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallCityretailWmflOrderLogisticsQueryAPIRequest) SetMainOrderId ¶ added in v1.2.0
func (r *TmallCityretailWmflOrderLogisticsQueryAPIRequest) SetMainOrderId(_mainOrderId string) error
SetMainOrderId is MainOrderId Setter 订单号
type TmallCityretailWmflOrderLogisticsQueryAPIResponse ¶
type TmallCityretailWmflOrderLogisticsQueryAPIResponse struct { model.CommonResponse TmallCityretailWmflOrderLogisticsQueryAPIResponseModel }
TmallCityretailWmflOrderLogisticsQueryAPIResponse 完美履约订单物流状态查询接口 API返回值 tmall.cityretail.wmfl.order.logistics.query
完美履约订单物流状态查询接口,该接口只能查询未完结的履约单以及完结的3天内订单
type TmallCityretailWmflOrderLogisticsQueryAPIResponseModel ¶ added in v1.2.0
type TmallCityretailWmflOrderLogisticsQueryAPIResponseModel 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"` }
TmallCityretailWmflOrderLogisticsQueryAPIResponseModel is 完美履约订单物流状态查询接口 成功返回结果
type WorkResult ¶
type WorkResult struct { // 错误码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 请求结果数据 Data *ChangeOrderResponseDto `json:"data,omitempty" xml:"data,omitempty"` // 返回数据对象 ResultData *OrderLogisticsResponseDto `json:"result_data,omitempty" xml:"result_data,omitempty"` // 标示服务成功/失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
WorkResult 结构体