aliexpresssumaitong

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package aliexpresssumaitong 包含全球速卖通相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAliexpressTaxationCalculateOpenQueryAPIRequest added in v1.3.4

func ReleaseAliexpressTaxationCalculateOpenQueryAPIRequest(v *AliexpressTaxationCalculateOpenQueryAPIRequest)

ReleaseAliexpressTaxationCalculateOpenQueryAPIRequest 将 AliexpressTaxationCalculateOpenQueryAPIRequest 放入 sync.Pool

func ReleaseAliexpressTaxationCalculateOpenQueryAPIResponse added in v1.3.4

func ReleaseAliexpressTaxationCalculateOpenQueryAPIResponse(v *AliexpressTaxationCalculateOpenQueryAPIResponse)

ReleaseAliexpressTaxationCalculateOpenQueryAPIResponse 将 AliexpressTaxationCalculateOpenQueryAPIResponse 保存到 sync.Pool

func ReleaseAliexpressTaxationPlatformOpenGetAPIRequest added in v1.3.4

func ReleaseAliexpressTaxationPlatformOpenGetAPIRequest(v *AliexpressTaxationPlatformOpenGetAPIRequest)

ReleaseAliexpressTaxationPlatformOpenGetAPIRequest 将 AliexpressTaxationPlatformOpenGetAPIRequest 放入 sync.Pool

func ReleaseAliexpressTaxationPlatformOpenGetAPIResponse added in v1.3.4

func ReleaseAliexpressTaxationPlatformOpenGetAPIResponse(v *AliexpressTaxationPlatformOpenGetAPIResponse)

ReleaseAliexpressTaxationPlatformOpenGetAPIResponse 将 AliexpressTaxationPlatformOpenGetAPIResponse 保存到 sync.Pool

func ReleaseAliexpressTradeOrderOpenCheckAPIRequest added in v1.3.4

func ReleaseAliexpressTradeOrderOpenCheckAPIRequest(v *AliexpressTradeOrderOpenCheckAPIRequest)

ReleaseAliexpressTradeOrderOpenCheckAPIRequest 将 AliexpressTradeOrderOpenCheckAPIRequest 放入 sync.Pool

func ReleaseAliexpressTradeOrderOpenCheckAPIResponse added in v1.3.4

func ReleaseAliexpressTradeOrderOpenCheckAPIResponse(v *AliexpressTradeOrderOpenCheckAPIResponse)

ReleaseAliexpressTradeOrderOpenCheckAPIResponse 将 AliexpressTradeOrderOpenCheckAPIResponse 保存到 sync.Pool

func ReleaseAliexpressTradeOrderOpenQueryAPIRequest added in v1.3.4

func ReleaseAliexpressTradeOrderOpenQueryAPIRequest(v *AliexpressTradeOrderOpenQueryAPIRequest)

ReleaseAliexpressTradeOrderOpenQueryAPIRequest 将 AliexpressTradeOrderOpenQueryAPIRequest 放入 sync.Pool

func ReleaseAliexpressTradeOrderOpenQueryAPIResponse added in v1.3.4

func ReleaseAliexpressTradeOrderOpenQueryAPIResponse(v *AliexpressTradeOrderOpenQueryAPIResponse)

ReleaseAliexpressTradeOrderOpenQueryAPIResponse 将 AliexpressTradeOrderOpenQueryAPIResponse 保存到 sync.Pool

func ReleaseClientInfo added in v1.3.4

func ReleaseClientInfo(v *ClientInfo)

ReleaseClientInfo 释放ClientInfo

func ReleaseCurrency added in v1.3.4

func ReleaseCurrency(v *Currency)

ReleaseCurrency 释放Currency

func ReleaseErrorCode added in v1.3.4

func ReleaseErrorCode(v *ErrorCode)

ReleaseErrorCode 释放ErrorCode

func ReleaseExtraMap added in v1.3.4

func ReleaseExtraMap(v *ExtraMap)

ReleaseExtraMap 释放ExtraMap

func ReleaseHjTaxCalculateResultDto added in v1.3.4

func ReleaseHjTaxCalculateResultDto(v *HjTaxCalculateResultDto)

ReleaseHjTaxCalculateResultDto 释放HjTaxCalculateResultDto

func ReleaseItem added in v1.3.4

func ReleaseItem(v *Item)

ReleaseItem 释放Item

func ReleaseLines added in v1.3.4

func ReleaseLines(v *Lines)

ReleaseLines 释放Lines

func ReleaseOrder added in v1.3.4

func ReleaseOrder(v *Order)

ReleaseOrder 释放Order

func ReleaseOrderLine added in v1.3.4

func ReleaseOrderLine(v *OrderLine)

ReleaseOrderLine 释放OrderLine

func ReleaseOrderQueryResponse added in v1.3.4

func ReleaseOrderQueryResponse(v *OrderQueryResponse)

ReleaseOrderQueryResponse 释放OrderQueryResponse

func ReleasePlatformParameterDto added in v1.3.4

func ReleasePlatformParameterDto(v *PlatformParameterDto)

ReleasePlatformParameterDto 释放PlatformParameterDto

func ReleasePreCheckResponse added in v1.3.4

func ReleasePreCheckResponse(v *PreCheckResponse)

ReleasePreCheckResponse 释放PreCheckResponse

func ReleasePreCreateOrderRequest added in v1.3.4

func ReleasePreCreateOrderRequest(v *PreCreateOrderRequest)

ReleasePreCreateOrderRequest 释放PreCreateOrderRequest

func ReleaseResponseDto added in v1.3.4

func ReleaseResponseDto(v *ResponseDto)

ReleaseResponseDto 释放ResponseDto

Types

type AliexpressTaxationCalculateOpenQueryAPIRequest added in v1.2.0

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

AliexpressTaxationCalculateOpenQueryAPIRequest 关务所需的申报清关字段 API请求 aliexpress.taxation.calculate.open.query

关务所需的申报清关字段

func GetAliexpressTaxationCalculateOpenQueryAPIRequest added in v1.3.4

func GetAliexpressTaxationCalculateOpenQueryAPIRequest() *AliexpressTaxationCalculateOpenQueryAPIRequest

GetAliexpressTaxationCalculateOpenQueryRequest 从 sync.Pool 获取 AliexpressTaxationCalculateOpenQueryAPIRequest

func NewAliexpressTaxationCalculateOpenQueryRequest

func NewAliexpressTaxationCalculateOpenQueryRequest() *AliexpressTaxationCalculateOpenQueryAPIRequest

NewAliexpressTaxationCalculateOpenQueryRequest 初始化AliexpressTaxationCalculateOpenQueryAPIRequest对象

func (AliexpressTaxationCalculateOpenQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressTaxationCalculateOpenQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressTaxationCalculateOpenQueryAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AliexpressTaxationCalculateOpenQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressTaxationCalculateOpenQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressTaxationCalculateOpenQueryAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 主订单id

type AliexpressTaxationCalculateOpenQueryAPIResponse

type AliexpressTaxationCalculateOpenQueryAPIResponse struct {
	model.CommonResponse
	AliexpressTaxationCalculateOpenQueryAPIResponseModel
}

AliexpressTaxationCalculateOpenQueryAPIResponse 关务所需的申报清关字段 API返回值 aliexpress.taxation.calculate.open.query

关务所需的申报清关字段

func GetAliexpressTaxationCalculateOpenQueryAPIResponse added in v1.3.4

func GetAliexpressTaxationCalculateOpenQueryAPIResponse() *AliexpressTaxationCalculateOpenQueryAPIResponse

GetAliexpressTaxationCalculateOpenQueryAPIResponse 从 sync.Pool 获取 AliexpressTaxationCalculateOpenQueryAPIResponse

func (*AliexpressTaxationCalculateOpenQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTaxationCalculateOpenQueryAPIResponseModel added in v1.2.0

type AliexpressTaxationCalculateOpenQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_taxation_calculate_open_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ResponseDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressTaxationCalculateOpenQueryAPIResponseModel is 关务所需的申报清关字段 成功返回结果

func (*AliexpressTaxationCalculateOpenQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTaxationPlatformOpenGetAPIRequest added in v1.2.0

type AliexpressTaxationPlatformOpenGetAPIRequest struct {
	model.Params
}

AliexpressTaxationPlatformOpenGetAPIRequest 平台固定参数获取 API请求 aliexpress.taxation.platform.open.get

Aliexpress开放平台固定参数获取

func GetAliexpressTaxationPlatformOpenGetAPIRequest added in v1.3.4

func GetAliexpressTaxationPlatformOpenGetAPIRequest() *AliexpressTaxationPlatformOpenGetAPIRequest

GetAliexpressTaxationPlatformOpenGetRequest 从 sync.Pool 获取 AliexpressTaxationPlatformOpenGetAPIRequest

func NewAliexpressTaxationPlatformOpenGetRequest

func NewAliexpressTaxationPlatformOpenGetRequest() *AliexpressTaxationPlatformOpenGetAPIRequest

NewAliexpressTaxationPlatformOpenGetRequest 初始化AliexpressTaxationPlatformOpenGetAPIRequest对象

func (AliexpressTaxationPlatformOpenGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressTaxationPlatformOpenGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressTaxationPlatformOpenGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressTaxationPlatformOpenGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type AliexpressTaxationPlatformOpenGetAPIResponse

type AliexpressTaxationPlatformOpenGetAPIResponse struct {
	model.CommonResponse
	AliexpressTaxationPlatformOpenGetAPIResponseModel
}

AliexpressTaxationPlatformOpenGetAPIResponse 平台固定参数获取 API返回值 aliexpress.taxation.platform.open.get

Aliexpress开放平台固定参数获取

func GetAliexpressTaxationPlatformOpenGetAPIResponse added in v1.3.4

func GetAliexpressTaxationPlatformOpenGetAPIResponse() *AliexpressTaxationPlatformOpenGetAPIResponse

GetAliexpressTaxationPlatformOpenGetAPIResponse 从 sync.Pool 获取 AliexpressTaxationPlatformOpenGetAPIResponse

func (*AliexpressTaxationPlatformOpenGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTaxationPlatformOpenGetAPIResponseModel added in v1.2.0

type AliexpressTaxationPlatformOpenGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_taxation_platform_open_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ResponseDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressTaxationPlatformOpenGetAPIResponseModel is 平台固定参数获取 成功返回结果

func (*AliexpressTaxationPlatformOpenGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTradeOrderOpenCheckAPIRequest added in v1.2.0

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

AliexpressTradeOrderOpenCheckAPIRequest Aliexpress开放平台下单前置检查 API请求 aliexpress.trade.order.open.check

Aliexpress开放平台下单前通过下单入参获取token

func GetAliexpressTradeOrderOpenCheckAPIRequest added in v1.3.4

func GetAliexpressTradeOrderOpenCheckAPIRequest() *AliexpressTradeOrderOpenCheckAPIRequest

GetAliexpressTradeOrderOpenCheckRequest 从 sync.Pool 获取 AliexpressTradeOrderOpenCheckAPIRequest

func NewAliexpressTradeOrderOpenCheckRequest

func NewAliexpressTradeOrderOpenCheckRequest() *AliexpressTradeOrderOpenCheckAPIRequest

NewAliexpressTradeOrderOpenCheckRequest 初始化AliexpressTradeOrderOpenCheckAPIRequest对象

func (AliexpressTradeOrderOpenCheckAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressTradeOrderOpenCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressTradeOrderOpenCheckAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressTradeOrderOpenCheckAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressTradeOrderOpenCheckAPIRequest) GetParamClientInfo added in v1.2.0

func (r AliexpressTradeOrderOpenCheckAPIRequest) GetParamClientInfo() *ClientInfo

GetParamClientInfo ParamClientInfo Getter

func (AliexpressTradeOrderOpenCheckAPIRequest) GetParamPreCreateOrderRequest added in v1.2.0

func (r AliexpressTradeOrderOpenCheckAPIRequest) GetParamPreCreateOrderRequest() *PreCreateOrderRequest

GetParamPreCreateOrderRequest ParamPreCreateOrderRequest Getter

func (AliexpressTradeOrderOpenCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressTradeOrderOpenCheckAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressTradeOrderOpenCheckAPIRequest) SetParamClientInfo added in v1.2.0

func (r *AliexpressTradeOrderOpenCheckAPIRequest) SetParamClientInfo(_paramClientInfo *ClientInfo) error

SetParamClientInfo is ParamClientInfo Setter 客户端信息

func (*AliexpressTradeOrderOpenCheckAPIRequest) SetParamPreCreateOrderRequest added in v1.2.0

func (r *AliexpressTradeOrderOpenCheckAPIRequest) SetParamPreCreateOrderRequest(_paramPreCreateOrderRequest *PreCreateOrderRequest) error

SetParamPreCreateOrderRequest is ParamPreCreateOrderRequest Setter 预下单入参

type AliexpressTradeOrderOpenCheckAPIResponse

type AliexpressTradeOrderOpenCheckAPIResponse struct {
	model.CommonResponse
	AliexpressTradeOrderOpenCheckAPIResponseModel
}

AliexpressTradeOrderOpenCheckAPIResponse Aliexpress开放平台下单前置检查 API返回值 aliexpress.trade.order.open.check

Aliexpress开放平台下单前通过下单入参获取token

func GetAliexpressTradeOrderOpenCheckAPIResponse added in v1.3.4

func GetAliexpressTradeOrderOpenCheckAPIResponse() *AliexpressTradeOrderOpenCheckAPIResponse

GetAliexpressTradeOrderOpenCheckAPIResponse 从 sync.Pool 获取 AliexpressTradeOrderOpenCheckAPIResponse

func (*AliexpressTradeOrderOpenCheckAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTradeOrderOpenCheckAPIResponseModel added in v1.2.0

type AliexpressTradeOrderOpenCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_trade_order_open_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 预下单返回值
	Result *PreCheckResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressTradeOrderOpenCheckAPIResponseModel is Aliexpress开放平台下单前置检查 成功返回结果

func (*AliexpressTradeOrderOpenCheckAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTradeOrderOpenQueryAPIRequest added in v1.2.0

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

AliexpressTradeOrderOpenQueryAPIRequest Aliexpress开放平台订单查询 API请求 aliexpress.trade.order.open.query

Aliexpress开放平台订单信息查询

func GetAliexpressTradeOrderOpenQueryAPIRequest added in v1.3.4

func GetAliexpressTradeOrderOpenQueryAPIRequest() *AliexpressTradeOrderOpenQueryAPIRequest

GetAliexpressTradeOrderOpenQueryRequest 从 sync.Pool 获取 AliexpressTradeOrderOpenQueryAPIRequest

func NewAliexpressTradeOrderOpenQueryRequest

func NewAliexpressTradeOrderOpenQueryRequest() *AliexpressTradeOrderOpenQueryAPIRequest

NewAliexpressTradeOrderOpenQueryRequest 初始化AliexpressTradeOrderOpenQueryAPIRequest对象

func (AliexpressTradeOrderOpenQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressTradeOrderOpenQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressTradeOrderOpenQueryAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressTradeOrderOpenQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressTradeOrderOpenQueryAPIRequest) GetBizCode added in v1.2.0

GetBizCode BizCode Getter

func (AliexpressTradeOrderOpenQueryAPIRequest) GetBuyerId added in v1.2.0

GetBuyerId BuyerId Getter

func (AliexpressTradeOrderOpenQueryAPIRequest) GetOpenAppKey added in v1.2.0

GetOpenAppKey OpenAppKey Getter

func (AliexpressTradeOrderOpenQueryAPIRequest) GetOrderIds added in v1.2.0

GetOrderIds OrderIds Getter

func (AliexpressTradeOrderOpenQueryAPIRequest) GetOutIds added in v1.2.0

GetOutIds OutIds Getter

func (AliexpressTradeOrderOpenQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressTradeOrderOpenQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressTradeOrderOpenQueryAPIRequest) SetBizCode added in v1.2.0

func (r *AliexpressTradeOrderOpenQueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务编码

func (*AliexpressTradeOrderOpenQueryAPIRequest) SetBuyerId added in v1.2.0

func (r *AliexpressTradeOrderOpenQueryAPIRequest) SetBuyerId(_buyerId int64) error

SetBuyerId is BuyerId Setter 买家用户id

func (*AliexpressTradeOrderOpenQueryAPIRequest) SetOpenAppKey added in v1.2.0

func (r *AliexpressTradeOrderOpenQueryAPIRequest) SetOpenAppKey(_openAppKey string) error

SetOpenAppKey is OpenAppKey Setter 小程序appId

func (*AliexpressTradeOrderOpenQueryAPIRequest) SetOrderIds added in v1.2.0

func (r *AliexpressTradeOrderOpenQueryAPIRequest) SetOrderIds(_orderIds []int64) error

SetOrderIds is OrderIds Setter 订单号

func (*AliexpressTradeOrderOpenQueryAPIRequest) SetOutIds added in v1.2.0

func (r *AliexpressTradeOrderOpenQueryAPIRequest) SetOutIds(_outIds []string) error

SetOutIds is OutIds Setter 外部订单号

type AliexpressTradeOrderOpenQueryAPIResponse

type AliexpressTradeOrderOpenQueryAPIResponse struct {
	model.CommonResponse
	AliexpressTradeOrderOpenQueryAPIResponseModel
}

AliexpressTradeOrderOpenQueryAPIResponse Aliexpress开放平台订单查询 API返回值 aliexpress.trade.order.open.query

Aliexpress开放平台订单信息查询

func GetAliexpressTradeOrderOpenQueryAPIResponse added in v1.3.4

func GetAliexpressTradeOrderOpenQueryAPIResponse() *AliexpressTradeOrderOpenQueryAPIResponse

GetAliexpressTradeOrderOpenQueryAPIResponse 从 sync.Pool 获取 AliexpressTradeOrderOpenQueryAPIResponse

func (*AliexpressTradeOrderOpenQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressTradeOrderOpenQueryAPIResponseModel added in v1.2.0

type AliexpressTradeOrderOpenQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_trade_order_open_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单查询接口返回值
	Result *OrderQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressTradeOrderOpenQueryAPIResponseModel is Aliexpress开放平台订单查询 成功返回结果

func (*AliexpressTradeOrderOpenQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type ClientInfo

type ClientInfo struct {
	// 小程序appId
	OpenAppId string `json:"open_app_id,omitempty" xml:"open_app_id,omitempty"`
	// 客户端业务码
	OpenBizCode string `json:"open_biz_code,omitempty" xml:"open_biz_code,omitempty"`
}

ClientInfo 结构体

func GetClientInfo added in v1.3.4

func GetClientInfo() *ClientInfo

GetClientInfo() 从对象池中获取ClientInfo

type Currency

type Currency struct {
	// 交易币种编码
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
}

Currency 结构体

func GetCurrency added in v1.3.4

func GetCurrency() *Currency

GetCurrency() 从对象池中获取Currency

type ErrorCode

type ErrorCode struct {
	// 错误展示信息
	DisplayMessage string `json:"display_message,omitempty" xml:"display_message,omitempty"`
	// 错误码key
	Key string `json:"key,omitempty" xml:"key,omitempty"`
	// 错误详情
	LogMessage string `json:"log_message,omitempty" xml:"log_message,omitempty"`
}

ErrorCode 结构体

func GetErrorCode added in v1.3.4

func GetErrorCode() *ErrorCode

GetErrorCode() 从对象池中获取ErrorCode

type ExtraMap

type ExtraMap struct {
	// 支付收单号
	PaymentId string `json:"payment_id,omitempty" xml:"payment_id,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
}

ExtraMap 结构体

func GetExtraMap added in v1.3.4

func GetExtraMap() *ExtraMap

GetExtraMap() 从对象池中获取ExtraMap

type HjTaxCalculateResultDto

type HjTaxCalculateResultDto struct {
	// 交易行计税结果
	Lines []Lines `json:"lines,omitempty" xml:"lines>lines,omitempty"`
	// 币种转欧元汇率
	ExchangeRate string `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 交易币种
	Currency *Currency `json:"currency,omitempty" xml:"currency,omitempty"`
}

HjTaxCalculateResultDto 结构体

func GetHjTaxCalculateResultDto added in v1.3.4

func GetHjTaxCalculateResultDto() *HjTaxCalculateResultDto

GetHjTaxCalculateResultDto() 从对象池中获取HjTaxCalculateResultDto

type Item

type Item struct {
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品价格
	Price float64 `json:"price,omitempty" xml:"price,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

Item 结构体

func GetItem added in v1.3.4

func GetItem() *Item

GetItem() 从对象池中获取Item

type Lines

type Lines struct {
	// 商品税率
	TaxRates []string `json:"tax_rates,omitempty" xml:"tax_rates>string,omitempty"`
	// 运费税率
	DeliveryTaxRates []string `json:"delivery_tax_rates,omitempty" xml:"delivery_tax_rates>string,omitempty"`
	// 商品数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 商品未含税总价
	OrderTaxExcludedAmount string `json:"order_tax_excluded_amount,omitempty" xml:"order_tax_excluded_amount,omitempty"`
	// 运费未含税总价
	DeliveryAmount string `json:"delivery_amount,omitempty" xml:"delivery_amount,omitempty"`
	// 商品税金总价
	OrderTaxAmount string `json:"order_tax_amount,omitempty" xml:"order_tax_amount,omitempty"`
	// 运费税金总价
	DeliveryTaxAmount string `json:"delivery_tax_amount,omitempty" xml:"delivery_tax_amount,omitempty"`
	// 子订单号id
	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
}

Lines 结构体

func GetLines added in v1.3.4

func GetLines() *Lines

GetLines() 从对象池中获取Lines

type Order

type Order struct {
	// 子订单信息
	OrderLines []OrderLine `json:"order_lines,omitempty" xml:"order_lines>order_line,omitempty"`
	// 外部订单号
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 订单扩展字段
	ExtraParams *ExtraMap `json:"extra_params,omitempty" xml:"extra_params,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

Order 结构体

func GetOrder added in v1.3.4

func GetOrder() *Order

GetOrder() 从对象池中获取Order

type OrderLine

type OrderLine struct {
	// 子订单扩展字段
	ExtraParams string `json:"extra_params,omitempty" xml:"extra_params,omitempty"`
	// 子订单号
	OrderLineId int64 `json:"order_line_id,omitempty" xml:"order_line_id,omitempty"`
}

OrderLine 结构体

func GetOrderLine added in v1.3.4

func GetOrderLine() *OrderLine

GetOrderLine() 从对象池中获取OrderLine

type OrderQueryResponse

type OrderQueryResponse struct {
	// 订单信息
	Orders []Order `json:"orders,omitempty" xml:"orders>order,omitempty"`
	// 错误提示信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 接口调用结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

OrderQueryResponse 结构体

func GetOrderQueryResponse added in v1.3.4

func GetOrderQueryResponse() *OrderQueryResponse

GetOrderQueryResponse() 从对象池中获取OrderQueryResponse

type PlatformParameterDto

type PlatformParameterDto struct {
	// 发货人/平台公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 发货人/平台联系人姓名
	ContactorName string `json:"contactor_name,omitempty" xml:"contactor_name,omitempty"`
	// 发货人/平台国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 发货人/平台详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 发货人/平台城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// ISO国家编码
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 发货人/平台电话
	ContactNumber string `json:"contact_number,omitempty" xml:"contact_number,omitempty"`
	// 发货人/平台邮箱
	EmailAddress string `json:"email_address,omitempty" xml:"email_address,omitempty"`
	// IOSS 平台税号
	IossNumber string `json:"ioss_number,omitempty" xml:"ioss_number,omitempty"`
}

PlatformParameterDto 结构体

func GetPlatformParameterDto added in v1.3.4

func GetPlatformParameterDto() *PlatformParameterDto

GetPlatformParameterDto() 从对象池中获取PlatformParameterDto

type PreCheckResponse

type PreCheckResponse struct {
	// 错误信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 请求traceId
	RequestTrace string `json:"request_trace,omitempty" xml:"request_trace,omitempty"`
	// 返回的token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 错误码
	ErrorCode *ErrorCode `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PreCheckResponse 结构体

func GetPreCheckResponse added in v1.3.4

func GetPreCheckResponse() *PreCheckResponse

GetPreCheckResponse() 从对象池中获取PreCheckResponse

type PreCreateOrderRequest

type PreCreateOrderRequest struct {
	// 商品信息
	Items []Item `json:"items,omitempty" xml:"items>item,omitempty"`
}

PreCreateOrderRequest 结构体

func GetPreCreateOrderRequest added in v1.3.4

func GetPreCreateOrderRequest() *PreCreateOrderRequest

GetPreCreateOrderRequest() 从对象池中获取PreCreateOrderRequest

type ResponseDto

type ResponseDto struct {
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 数据
	Data *HjTaxCalculateResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 成功标记
	Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"`
}

ResponseDto 结构体

func GetResponseDto added in v1.3.4

func GetResponseDto() *ResponseDto

GetResponseDto() 从对象池中获取ResponseDto

Jump to

Keyboard shortcuts

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