Documentation ¶
Overview ¶
Package cityretail 包含淘宝同城API相关结构体
Index ¶
- func ReleaseChangeOrderResponseDto(v *ChangeOrderResponseDto)
- func ReleaseOrderLogisticsResponseDto(v *OrderLogisticsResponseDto)
- func ReleaseTaobaoCityretailWmflConvertWarehouseAPIRequest(v *TaobaoCityretailWmflConvertWarehouseAPIRequest)
- func ReleaseTaobaoCityretailWmflConvertWarehouseAPIResponse(v *TaobaoCityretailWmflConvertWarehouseAPIResponse)
- func ReleaseTmallCityretailWmflOrderLogisticsQueryAPIRequest(v *TmallCityretailWmflOrderLogisticsQueryAPIRequest)
- func ReleaseTmallCityretailWmflOrderLogisticsQueryAPIResponse(v *TmallCityretailWmflOrderLogisticsQueryAPIResponse)
- func ReleaseWorkResult(v *WorkResult)
- 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) Reset()
- 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) Reset()
- func (r *TmallCityretailWmflOrderLogisticsQueryAPIRequest) SetMainOrderId(_mainOrderId string) error
- type TmallCityretailWmflOrderLogisticsQueryAPIResponse
- type TmallCityretailWmflOrderLogisticsQueryAPIResponseModel
- type WorkResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseChangeOrderResponseDto ¶ added in v1.3.4
func ReleaseChangeOrderResponseDto(v *ChangeOrderResponseDto)
ReleaseChangeOrderResponseDto 释放ChangeOrderResponseDto
func ReleaseOrderLogisticsResponseDto ¶ added in v1.3.4
func ReleaseOrderLogisticsResponseDto(v *OrderLogisticsResponseDto)
ReleaseOrderLogisticsResponseDto 释放OrderLogisticsResponseDto
func ReleaseTaobaoCityretailWmflConvertWarehouseAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoCityretailWmflConvertWarehouseAPIRequest(v *TaobaoCityretailWmflConvertWarehouseAPIRequest)
ReleaseTaobaoCityretailWmflConvertWarehouseAPIRequest 将 TaobaoCityretailWmflConvertWarehouseAPIRequest 放入 sync.Pool
func ReleaseTaobaoCityretailWmflConvertWarehouseAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoCityretailWmflConvertWarehouseAPIResponse(v *TaobaoCityretailWmflConvertWarehouseAPIResponse)
ReleaseTaobaoCityretailWmflConvertWarehouseAPIResponse 将 TaobaoCityretailWmflConvertWarehouseAPIResponse 保存到 sync.Pool
func ReleaseTmallCityretailWmflOrderLogisticsQueryAPIRequest ¶ added in v1.3.4
func ReleaseTmallCityretailWmflOrderLogisticsQueryAPIRequest(v *TmallCityretailWmflOrderLogisticsQueryAPIRequest)
ReleaseTmallCityretailWmflOrderLogisticsQueryAPIRequest 将 TmallCityretailWmflOrderLogisticsQueryAPIRequest 放入 sync.Pool
func ReleaseTmallCityretailWmflOrderLogisticsQueryAPIResponse ¶ added in v1.3.4
func ReleaseTmallCityretailWmflOrderLogisticsQueryAPIResponse(v *TmallCityretailWmflOrderLogisticsQueryAPIResponse)
ReleaseTmallCityretailWmflOrderLogisticsQueryAPIResponse 将 TmallCityretailWmflOrderLogisticsQueryAPIResponse 保存到 sync.Pool
func ReleaseWorkResult ¶ added in v1.3.4
func ReleaseWorkResult(v *WorkResult)
ReleaseWorkResult 释放WorkResult
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 结构体
func GetChangeOrderResponseDto ¶ added in v1.3.4
func GetChangeOrderResponseDto() *ChangeOrderResponseDto
GetChangeOrderResponseDto() 从对象池中获取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 结构体
func GetOrderLogisticsResponseDto ¶ added in v1.3.4
func GetOrderLogisticsResponseDto() *OrderLogisticsResponseDto
GetOrderLogisticsResponseDto() 从对象池中获取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 GetTaobaoCityretailWmflConvertWarehouseAPIRequest ¶ added in v1.3.4
func GetTaobaoCityretailWmflConvertWarehouseAPIRequest() *TaobaoCityretailWmflConvertWarehouseAPIRequest
GetTaobaoCityretailWmflConvertWarehouseRequest 从 sync.Pool 获取 TaobaoCityretailWmflConvertWarehouseAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoCityretailWmflConvertWarehouseAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
同城零售完美履约转仓
func GetTaobaoCityretailWmflConvertWarehouseAPIResponse ¶ added in v1.3.4
func GetTaobaoCityretailWmflConvertWarehouseAPIResponse() *TaobaoCityretailWmflConvertWarehouseAPIResponse
GetTaobaoCityretailWmflConvertWarehouseAPIResponse 从 sync.Pool 获取 TaobaoCityretailWmflConvertWarehouseAPIResponse
func (*TaobaoCityretailWmflConvertWarehouseAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoCityretailWmflConvertWarehouseAPIResponse) Reset()
Reset 清空结构体
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 同城零售完美履约转仓 成功返回结果
func (*TaobaoCityretailWmflConvertWarehouseAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoCityretailWmflConvertWarehouseAPIResponseModel) Reset()
Reset 清空结构体
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 GetTmallCityretailWmflOrderLogisticsQueryAPIRequest ¶ added in v1.3.4
func GetTmallCityretailWmflOrderLogisticsQueryAPIRequest() *TmallCityretailWmflOrderLogisticsQueryAPIRequest
GetTmallCityretailWmflOrderLogisticsQueryRequest 从 sync.Pool 获取 TmallCityretailWmflOrderLogisticsQueryAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TmallCityretailWmflOrderLogisticsQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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天内订单
func GetTmallCityretailWmflOrderLogisticsQueryAPIResponse ¶ added in v1.3.4
func GetTmallCityretailWmflOrderLogisticsQueryAPIResponse() *TmallCityretailWmflOrderLogisticsQueryAPIResponse
GetTmallCityretailWmflOrderLogisticsQueryAPIResponse 从 sync.Pool 获取 TmallCityretailWmflOrderLogisticsQueryAPIResponse
func (*TmallCityretailWmflOrderLogisticsQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TmallCityretailWmflOrderLogisticsQueryAPIResponse) Reset()
Reset 清空结构体
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 完美履约订单物流状态查询接口 成功返回结果
func (*TmallCityretailWmflOrderLogisticsQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TmallCityretailWmflOrderLogisticsQueryAPIResponseModel) Reset()
Reset 清空结构体
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 结构体
func GetWorkResult ¶ added in v1.3.4
func GetWorkResult() *WorkResult
GetWorkResult() 从对象池中获取WorkResult