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.3.1
type TaobaocityretailwmflconvertwarehouseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaocityretailwmflconvertwarehouseAPIRequest 同城零售完美履约转仓 API请求 taobao.cityretail.wmfl.convert.warehouse
同城零售完美履约转仓
func NewTaobaocityretailwmflconvertwarehouseRequest ¶ added in v1.3.1
func NewTaobaocityretailwmflconvertwarehouseRequest() *TaobaocityretailwmflconvertwarehouseAPIRequest
NewTaobaocityretailwmflconvertwarehouseRequest 初始化TaobaocityretailwmflconvertwarehouseAPIRequest对象
func (TaobaocityretailwmflconvertwarehouseAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaocityretailwmflconvertwarehouseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaocityretailwmflconvertwarehouseAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaocityretailwmflconvertwarehouseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaocityretailwmflconvertwarehouseAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaocityretailwmflconvertwarehouseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaocityretailwmflconvertwarehouseAPIRequest) GetTbOrderId ¶ added in v1.3.1
func (r TaobaocityretailwmflconvertwarehouseAPIRequest) GetTbOrderId() string
GetTbOrderId TbOrderId Getter
func (*TaobaocityretailwmflconvertwarehouseAPIRequest) SetTbOrderId ¶ added in v1.3.1
func (r *TaobaocityretailwmflconvertwarehouseAPIRequest) SetTbOrderId(_tbOrderId string) error
SetTbOrderId is TbOrderId Setter 淘宝交易单id
type TaobaocityretailwmflconvertwarehouseAPIResponse ¶ added in v1.3.1
type TaobaocityretailwmflconvertwarehouseAPIResponse struct { model.CommonResponse TaobaocityretailwmflconvertwarehouseAPIResponseModel }
TaobaocityretailwmflconvertwarehouseAPIResponse 同城零售完美履约转仓 API返回值 taobao.cityretail.wmfl.convert.warehouse
同城零售完美履约转仓
type TaobaocityretailwmflconvertwarehouseAPIResponseModel ¶ added in v1.3.1
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.3.1
type TmallcityretailwmflorderlogisticsqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallcityretailwmflorderlogisticsqueryAPIRequest 完美履约订单物流状态查询接口 API请求 tmall.cityretail.wmfl.order.logistics.query
完美履约订单物流状态查询接口,该接口只能查询未完结的履约单以及完结的3天内订单
func NewTmallcityretailwmflorderlogisticsqueryRequest ¶ added in v1.3.1
func NewTmallcityretailwmflorderlogisticsqueryRequest() *TmallcityretailwmflorderlogisticsqueryAPIRequest
NewTmallcityretailwmflorderlogisticsqueryRequest 初始化TmallcityretailwmflorderlogisticsqueryAPIRequest对象
func (TmallcityretailwmflorderlogisticsqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallcityretailwmflorderlogisticsqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallcityretailwmflorderlogisticsqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallcityretailwmflorderlogisticsqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallcityretailwmflorderlogisticsqueryAPIRequest) GetMainOrderId ¶ added in v1.3.1
func (r TmallcityretailwmflorderlogisticsqueryAPIRequest) GetMainOrderId() string
GetMainOrderId MainOrderId Getter
func (TmallcityretailwmflorderlogisticsqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallcityretailwmflorderlogisticsqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallcityretailwmflorderlogisticsqueryAPIRequest) SetMainOrderId ¶ added in v1.3.1
func (r *TmallcityretailwmflorderlogisticsqueryAPIRequest) SetMainOrderId(_mainOrderId string) error
SetMainOrderId is MainOrderId Setter 订单号
type TmallcityretailwmflorderlogisticsqueryAPIResponse ¶ added in v1.3.1
type TmallcityretailwmflorderlogisticsqueryAPIResponse struct { model.CommonResponse TmallcityretailwmflorderlogisticsqueryAPIResponseModel }
TmallcityretailwmflorderlogisticsqueryAPIResponse 完美履约订单物流状态查询接口 API返回值 tmall.cityretail.wmfl.order.logistics.query
完美履约订单物流状态查询接口,该接口只能查询未完结的履约单以及完结的3天内订单
type TmallcityretailwmflorderlogisticsqueryAPIResponseModel ¶ added in v1.3.1
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 结构体