icbudropshipping

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 icbudropshipping 包含ICBU-DropShipping相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAddress added in v1.3.4

func ReleaseAddress(v *Address)

ReleaseAddress 释放Address

func ReleaseAddressInfoDto added in v1.3.4

func ReleaseAddressInfoDto(v *AddressInfoDto)

ReleaseAddressInfoDto 释放AddressInfoDto

func ReleaseAlibabaBuynowOrderCreateAPIRequest added in v1.3.4

func ReleaseAlibabaBuynowOrderCreateAPIRequest(v *AlibabaBuynowOrderCreateAPIRequest)

ReleaseAlibabaBuynowOrderCreateAPIRequest 将 AlibabaBuynowOrderCreateAPIRequest 放入 sync.Pool

func ReleaseAlibabaBuynowOrderCreateAPIResponse added in v1.3.4

func ReleaseAlibabaBuynowOrderCreateAPIResponse(v *AlibabaBuynowOrderCreateAPIResponse)

ReleaseAlibabaBuynowOrderCreateAPIResponse 将 AlibabaBuynowOrderCreateAPIResponse 保存到 sync.Pool

func ReleaseAlibabaDropshippingOrderPayAPIRequest added in v1.3.4

func ReleaseAlibabaDropshippingOrderPayAPIRequest(v *AlibabaDropshippingOrderPayAPIRequest)

ReleaseAlibabaDropshippingOrderPayAPIRequest 将 AlibabaDropshippingOrderPayAPIRequest 放入 sync.Pool

func ReleaseAlibabaDropshippingOrderPayAPIResponse added in v1.3.4

func ReleaseAlibabaDropshippingOrderPayAPIResponse(v *AlibabaDropshippingOrderPayAPIResponse)

ReleaseAlibabaDropshippingOrderPayAPIResponse 将 AlibabaDropshippingOrderPayAPIResponse 保存到 sync.Pool

func ReleaseAlibabaDropshippingProductGetAPIRequest added in v1.3.4

func ReleaseAlibabaDropshippingProductGetAPIRequest(v *AlibabaDropshippingProductGetAPIRequest)

ReleaseAlibabaDropshippingProductGetAPIRequest 将 AlibabaDropshippingProductGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaDropshippingProductGetAPIResponse added in v1.3.4

func ReleaseAlibabaDropshippingProductGetAPIResponse(v *AlibabaDropshippingProductGetAPIResponse)

ReleaseAlibabaDropshippingProductGetAPIResponse 将 AlibabaDropshippingProductGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaDropshippingStoreSaveAPIRequest added in v1.3.4

func ReleaseAlibabaDropshippingStoreSaveAPIRequest(v *AlibabaDropshippingStoreSaveAPIRequest)

ReleaseAlibabaDropshippingStoreSaveAPIRequest 将 AlibabaDropshippingStoreSaveAPIRequest 放入 sync.Pool

func ReleaseAlibabaDropshippingStoreSaveAPIResponse added in v1.3.4

func ReleaseAlibabaDropshippingStoreSaveAPIResponse(v *AlibabaDropshippingStoreSaveAPIResponse)

ReleaseAlibabaDropshippingStoreSaveAPIResponse 将 AlibabaDropshippingStoreSaveAPIResponse 保存到 sync.Pool

func ReleaseAlibabaDropshippingTokenCreateAPIRequest added in v1.3.4

func ReleaseAlibabaDropshippingTokenCreateAPIRequest(v *AlibabaDropshippingTokenCreateAPIRequest)

ReleaseAlibabaDropshippingTokenCreateAPIRequest 将 AlibabaDropshippingTokenCreateAPIRequest 放入 sync.Pool

func ReleaseAlibabaDropshippingTokenCreateAPIResponse added in v1.3.4

func ReleaseAlibabaDropshippingTokenCreateAPIResponse(v *AlibabaDropshippingTokenCreateAPIResponse)

ReleaseAlibabaDropshippingTokenCreateAPIResponse 将 AlibabaDropshippingTokenCreateAPIResponse 保存到 sync.Pool

func ReleaseAlibabaOrderFreightCalculateAPIRequest added in v1.3.4

func ReleaseAlibabaOrderFreightCalculateAPIRequest(v *AlibabaOrderFreightCalculateAPIRequest)

ReleaseAlibabaOrderFreightCalculateAPIRequest 将 AlibabaOrderFreightCalculateAPIRequest 放入 sync.Pool

func ReleaseAlibabaOrderFreightCalculateAPIResponse added in v1.3.4

func ReleaseAlibabaOrderFreightCalculateAPIResponse(v *AlibabaOrderFreightCalculateAPIResponse)

ReleaseAlibabaOrderFreightCalculateAPIResponse 将 AlibabaOrderFreightCalculateAPIResponse 保存到 sync.Pool

func ReleaseAlibabaOrderLogisticsTrackingGetAPIRequest added in v1.3.4

func ReleaseAlibabaOrderLogisticsTrackingGetAPIRequest(v *AlibabaOrderLogisticsTrackingGetAPIRequest)

ReleaseAlibabaOrderLogisticsTrackingGetAPIRequest 将 AlibabaOrderLogisticsTrackingGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaOrderLogisticsTrackingGetAPIResponse added in v1.3.4

func ReleaseAlibabaOrderLogisticsTrackingGetAPIResponse(v *AlibabaOrderLogisticsTrackingGetAPIResponse)

ReleaseAlibabaOrderLogisticsTrackingGetAPIResponse 将 AlibabaOrderLogisticsTrackingGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaOrderPayResultQueryAPIRequest added in v1.3.4

func ReleaseAlibabaOrderPayResultQueryAPIRequest(v *AlibabaOrderPayResultQueryAPIRequest)

ReleaseAlibabaOrderPayResultQueryAPIRequest 将 AlibabaOrderPayResultQueryAPIRequest 放入 sync.Pool

func ReleaseAlibabaOrderPayResultQueryAPIResponse added in v1.3.4

func ReleaseAlibabaOrderPayResultQueryAPIResponse(v *AlibabaOrderPayResultQueryAPIResponse)

ReleaseAlibabaOrderPayResultQueryAPIResponse 将 AlibabaOrderPayResultQueryAPIResponse 保存到 sync.Pool

func ReleaseAlibabaShippingFreightCalculateAPIRequest added in v1.3.4

func ReleaseAlibabaShippingFreightCalculateAPIRequest(v *AlibabaShippingFreightCalculateAPIRequest)

ReleaseAlibabaShippingFreightCalculateAPIRequest 将 AlibabaShippingFreightCalculateAPIRequest 放入 sync.Pool

func ReleaseAlibabaShippingFreightCalculateAPIResponse added in v1.3.4

func ReleaseAlibabaShippingFreightCalculateAPIResponse(v *AlibabaShippingFreightCalculateAPIResponse)

ReleaseAlibabaShippingFreightCalculateAPIResponse 将 AlibabaShippingFreightCalculateAPIResponse 保存到 sync.Pool

func ReleaseCashierPayResponse added in v1.3.4

func ReleaseCashierPayResponse(v *CashierPayResponse)

ReleaseCashierPayResponse 释放CashierPayResponse

func ReleaseDistributionSaleProduct added in v1.3.4

func ReleaseDistributionSaleProduct(v *DistributionSaleProduct)

ReleaseDistributionSaleProduct 释放DistributionSaleProduct

func ReleaseDistributionSaleProductRequest added in v1.3.4

func ReleaseDistributionSaleProductRequest(v *DistributionSaleProductRequest)

ReleaseDistributionSaleProductRequest 释放DistributionSaleProductRequest

func ReleaseDivisionInfoDto added in v1.3.4

func ReleaseDivisionInfoDto(v *DivisionInfoDto)

ReleaseDivisionInfoDto 释放DivisionInfoDto

func ReleaseFreightTemplateRequest added in v1.3.4

func ReleaseFreightTemplateRequest(v *FreightTemplateRequest)

ReleaseFreightTemplateRequest 释放FreightTemplateRequest

func ReleaseInventory added in v1.3.4

func ReleaseInventory(v *Inventory)

ReleaseInventory 释放Inventory

func ReleaseLadderPeriod added in v1.3.4

func ReleaseLadderPeriod(v *LadderPeriod)

ReleaseLadderPeriod 释放LadderPeriod

func ReleaseLadderPrice added in v1.3.4

func ReleaseLadderPrice(v *LadderPrice)

ReleaseLadderPrice 释放LadderPrice

func ReleaseLogisticsDetail added in v1.3.4

func ReleaseLogisticsDetail(v *LogisticsDetail)

ReleaseLogisticsDetail 释放LogisticsDetail

func ReleaseLogisticsProduct added in v1.3.4

func ReleaseLogisticsProduct(v *LogisticsProduct)

ReleaseLogisticsProduct 释放LogisticsProduct

func ReleaseLogisticsSolution added in v1.3.4

func ReleaseLogisticsSolution(v *LogisticsSolution)

ReleaseLogisticsSolution 释放LogisticsSolution

func ReleaseLogisticsTracking added in v1.3.4

func ReleaseLogisticsTracking(v *LogisticsTracking)

ReleaseLogisticsTracking 释放LogisticsTracking

func ReleaseMoqAndPrice added in v1.3.4

func ReleaseMoqAndPrice(v *MoqAndPrice)

ReleaseMoqAndPrice 释放MoqAndPrice

func ReleaseMultiFreightTemplateRequest added in v1.3.4

func ReleaseMultiFreightTemplateRequest(v *MultiFreightTemplateRequest)

ReleaseMultiFreightTemplateRequest 释放MultiFreightTemplateRequest

func ReleaseOrderCreateRequest added in v1.3.4

func ReleaseOrderCreateRequest(v *OrderCreateRequest)

ReleaseOrderCreateRequest 释放OrderCreateRequest

func ReleaseOrderCreateResponse added in v1.3.4

func ReleaseOrderCreateResponse(v *OrderCreateResponse)

ReleaseOrderCreateResponse 释放OrderCreateResponse

func ReleaseOrderPayRequest added in v1.3.4

func ReleaseOrderPayRequest(v *OrderPayRequest)

ReleaseOrderPayRequest 释放OrderPayRequest

func ReleasePaymentDetail added in v1.3.4

func ReleasePaymentDetail(v *PaymentDetail)

ReleasePaymentDetail 释放PaymentDetail

func ReleasePhone added in v1.3.4

func ReleasePhone(v *Phone)

ReleasePhone 释放Phone

func ReleaseProductSku added in v1.3.4

func ReleaseProductSku(v *ProductSku)

ReleaseProductSku 释放ProductSku

func ReleaseProductSkuNameValue added in v1.3.4

func ReleaseProductSkuNameValue(v *ProductSkuNameValue)

ReleaseProductSkuNameValue 释放ProductSkuNameValue

func ReleaseTrackingEvent added in v1.3.4

func ReleaseTrackingEvent(v *TrackingEvent)

ReleaseTrackingEvent 释放TrackingEvent

func ReleaseTradeEcologyOrderCreateProduct added in v1.3.4

func ReleaseTradeEcologyOrderCreateProduct(v *TradeEcologyOrderCreateProduct)

ReleaseTradeEcologyOrderCreateProduct 释放TradeEcologyOrderCreateProduct

func ReleaseValue added in v1.3.4

func ReleaseValue(v *Value)

ReleaseValue 释放Value

Types

type Address

type Address struct {
	// Specific address
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// Secondary address
	AlternateAddress string `json:"alternate_address,omitempty" xml:"alternate_address,omitempty"`
	// Name of the city where the order is completed
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// City abbreviation
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// Name of contact person
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// Country name
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// Country code,ISO3166 standard and has two letters.
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// Port name
	Port string `json:"port,omitempty" xml:"port,omitempty"`
	// Port code
	PortCode string `json:"port_code,omitempty" xml:"port_code,omitempty"`
	// Name of state/province
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// Province/state abbreviation
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// zip
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// Fax
	Fax *Phone `json:"fax,omitempty" xml:"fax,omitempty"`
	// telephone
	Telephone *Phone `json:"telephone,omitempty" xml:"telephone,omitempty"`
}

Address 结构体

func GetAddress added in v1.3.4

func GetAddress() *Address

GetAddress() 从对象池中获取Address

type AddressInfoDto

type AddressInfoDto struct {
	// Shipping address
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// If any, please send it to us to make the freight more accurate.
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// City
	City *DivisionInfoDto `json:"city,omitempty" xml:"city,omitempty"`
	// Country
	Country *DivisionInfoDto `json:"country,omitempty" xml:"country,omitempty"`
	// province
	Province *DivisionInfoDto `json:"province,omitempty" xml:"province,omitempty"`
}

AddressInfoDto 结构体

func GetAddressInfoDto added in v1.3.4

func GetAddressInfoDto() *AddressInfoDto

GetAddressInfoDto() 从对象池中获取AddressInfoDto

type AlibabaBuynowOrderCreateAPIRequest added in v1.2.0

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

AlibabaBuynowOrderCreateAPIRequest 阿里巴巴买家buynow下单接口 API请求 alibaba.buynow.order.create

阿里巴巴买家下单接口

func GetAlibabaBuynowOrderCreateAPIRequest added in v1.3.4

func GetAlibabaBuynowOrderCreateAPIRequest() *AlibabaBuynowOrderCreateAPIRequest

GetAlibabaBuynowOrderCreateRequest 从 sync.Pool 获取 AlibabaBuynowOrderCreateAPIRequest

func NewAlibabaBuynowOrderCreateRequest

func NewAlibabaBuynowOrderCreateRequest() *AlibabaBuynowOrderCreateAPIRequest

NewAlibabaBuynowOrderCreateRequest 初始化AlibabaBuynowOrderCreateAPIRequest对象

func (AlibabaBuynowOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaBuynowOrderCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaBuynowOrderCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaBuynowOrderCreateAPIRequest) GetParamOrderCreateRequest added in v1.2.0

func (r AlibabaBuynowOrderCreateAPIRequest) GetParamOrderCreateRequest() *OrderCreateRequest

GetParamOrderCreateRequest ParamOrderCreateRequest Getter

func (AlibabaBuynowOrderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaBuynowOrderCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaBuynowOrderCreateAPIRequest) SetParamOrderCreateRequest added in v1.2.0

func (r *AlibabaBuynowOrderCreateAPIRequest) SetParamOrderCreateRequest(_paramOrderCreateRequest *OrderCreateRequest) error

SetParamOrderCreateRequest is ParamOrderCreateRequest Setter Order creation parameter

type AlibabaBuynowOrderCreateAPIResponse

type AlibabaBuynowOrderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaBuynowOrderCreateAPIResponseModel
}

AlibabaBuynowOrderCreateAPIResponse 阿里巴巴买家buynow下单接口 API返回值 alibaba.buynow.order.create

阿里巴巴买家下单接口

func GetAlibabaBuynowOrderCreateAPIResponse added in v1.3.4

func GetAlibabaBuynowOrderCreateAPIResponse() *AlibabaBuynowOrderCreateAPIResponse

GetAlibabaBuynowOrderCreateAPIResponse 从 sync.Pool 获取 AlibabaBuynowOrderCreateAPIResponse

func (*AlibabaBuynowOrderCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaBuynowOrderCreateAPIResponseModel added in v1.2.0

type AlibabaBuynowOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_buynow_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Response
	Value *OrderCreateResponse `json:"value,omitempty" xml:"value,omitempty"`
}

AlibabaBuynowOrderCreateAPIResponseModel is 阿里巴巴买家buynow下单接口 成功返回结果

func (*AlibabaBuynowOrderCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingOrderPayAPIRequest added in v1.2.0

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

AlibabaDropshippingOrderPayAPIRequest alibaba dropshipping 支付代扣 API请求 alibaba.dropshipping.order.pay

alibaba dropshipping 支付代扣

func GetAlibabaDropshippingOrderPayAPIRequest added in v1.3.4

func GetAlibabaDropshippingOrderPayAPIRequest() *AlibabaDropshippingOrderPayAPIRequest

GetAlibabaDropshippingOrderPayRequest 从 sync.Pool 获取 AlibabaDropshippingOrderPayAPIRequest

func NewAlibabaDropshippingOrderPayRequest

func NewAlibabaDropshippingOrderPayRequest() *AlibabaDropshippingOrderPayAPIRequest

NewAlibabaDropshippingOrderPayRequest 初始化AlibabaDropshippingOrderPayAPIRequest对象

func (AlibabaDropshippingOrderPayAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDropshippingOrderPayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDropshippingOrderPayAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDropshippingOrderPayAPIRequest) GetParamOrderPayRequest added in v1.2.0

func (r AlibabaDropshippingOrderPayAPIRequest) GetParamOrderPayRequest() *OrderPayRequest

GetParamOrderPayRequest ParamOrderPayRequest Getter

func (AlibabaDropshippingOrderPayAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaDropshippingOrderPayAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaDropshippingOrderPayAPIRequest) SetParamOrderPayRequest added in v1.2.0

func (r *AlibabaDropshippingOrderPayAPIRequest) SetParamOrderPayRequest(_paramOrderPayRequest *OrderPayRequest) error

SetParamOrderPayRequest is ParamOrderPayRequest Setter request model

type AlibabaDropshippingOrderPayAPIResponse

type AlibabaDropshippingOrderPayAPIResponse struct {
	model.CommonResponse
	AlibabaDropshippingOrderPayAPIResponseModel
}

AlibabaDropshippingOrderPayAPIResponse alibaba dropshipping 支付代扣 API返回值 alibaba.dropshipping.order.pay

alibaba dropshipping 支付代扣

func GetAlibabaDropshippingOrderPayAPIResponse added in v1.3.4

func GetAlibabaDropshippingOrderPayAPIResponse() *AlibabaDropshippingOrderPayAPIResponse

GetAlibabaDropshippingOrderPayAPIResponse 从 sync.Pool 获取 AlibabaDropshippingOrderPayAPIResponse

func (*AlibabaDropshippingOrderPayAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingOrderPayAPIResponseModel added in v1.2.0

type AlibabaDropshippingOrderPayAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_dropshipping_order_pay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// response model
	Value *CashierPayResponse `json:"value,omitempty" xml:"value,omitempty"`
}

AlibabaDropshippingOrderPayAPIResponseModel is alibaba dropshipping 支付代扣 成功返回结果

func (*AlibabaDropshippingOrderPayAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingProductGetAPIRequest added in v1.2.0

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

AlibabaDropshippingProductGetAPIRequest 阿里巴巴dropshipping 产品信息获取 API请求 alibaba.dropshipping.product.get

阿里巴巴dropshipping 产品信息获取

func GetAlibabaDropshippingProductGetAPIRequest added in v1.3.4

func GetAlibabaDropshippingProductGetAPIRequest() *AlibabaDropshippingProductGetAPIRequest

GetAlibabaDropshippingProductGetRequest 从 sync.Pool 获取 AlibabaDropshippingProductGetAPIRequest

func NewAlibabaDropshippingProductGetRequest

func NewAlibabaDropshippingProductGetRequest() *AlibabaDropshippingProductGetAPIRequest

NewAlibabaDropshippingProductGetRequest 初始化AlibabaDropshippingProductGetAPIRequest对象

func (AlibabaDropshippingProductGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDropshippingProductGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDropshippingProductGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDropshippingProductGetAPIRequest) GetParamDistributionSaleProductRequest added in v1.2.0

func (r AlibabaDropshippingProductGetAPIRequest) GetParamDistributionSaleProductRequest() *DistributionSaleProductRequest

GetParamDistributionSaleProductRequest ParamDistributionSaleProductRequest Getter

func (AlibabaDropshippingProductGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaDropshippingProductGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaDropshippingProductGetAPIRequest) SetParamDistributionSaleProductRequest added in v1.2.0

func (r *AlibabaDropshippingProductGetAPIRequest) SetParamDistributionSaleProductRequest(_paramDistributionSaleProductRequest *DistributionSaleProductRequest) error

SetParamDistributionSaleProductRequest is ParamDistributionSaleProductRequest Setter {}

type AlibabaDropshippingProductGetAPIResponse

type AlibabaDropshippingProductGetAPIResponse struct {
	model.CommonResponse
	AlibabaDropshippingProductGetAPIResponseModel
}

AlibabaDropshippingProductGetAPIResponse 阿里巴巴dropshipping 产品信息获取 API返回值 alibaba.dropshipping.product.get

阿里巴巴dropshipping 产品信息获取

func GetAlibabaDropshippingProductGetAPIResponse added in v1.3.4

func GetAlibabaDropshippingProductGetAPIResponse() *AlibabaDropshippingProductGetAPIResponse

GetAlibabaDropshippingProductGetAPIResponse 从 sync.Pool 获取 AlibabaDropshippingProductGetAPIResponse

func (*AlibabaDropshippingProductGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingProductGetAPIResponseModel added in v1.2.0

type AlibabaDropshippingProductGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_dropshipping_product_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// product pojo
	Value []DistributionSaleProduct `json:"value,omitempty" xml:"value>distribution_sale_product,omitempty"`
}

AlibabaDropshippingProductGetAPIResponseModel is 阿里巴巴dropshipping 产品信息获取 成功返回结果

func (*AlibabaDropshippingProductGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingStoreSaveAPIRequest added in v1.2.5

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

AlibabaDropshippingStoreSaveAPIRequest 阿里巴巴dropshipping店铺数据保存接口 API请求 alibaba.dropshipping.store.save

阿里巴巴dropshipping店铺数据保存

func GetAlibabaDropshippingStoreSaveAPIRequest added in v1.3.4

func GetAlibabaDropshippingStoreSaveAPIRequest() *AlibabaDropshippingStoreSaveAPIRequest

GetAlibabaDropshippingStoreSaveRequest 从 sync.Pool 获取 AlibabaDropshippingStoreSaveAPIRequest

func NewAlibabaDropshippingStoreSaveRequest added in v1.2.5

func NewAlibabaDropshippingStoreSaveRequest() *AlibabaDropshippingStoreSaveAPIRequest

NewAlibabaDropshippingStoreSaveRequest 初始化AlibabaDropshippingStoreSaveAPIRequest对象

func (AlibabaDropshippingStoreSaveAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaDropshippingStoreSaveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDropshippingStoreSaveAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDropshippingStoreSaveAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaDropshippingStoreSaveAPIRequest) GetStoreType added in v1.2.5

GetStoreType StoreType Getter

func (AlibabaDropshippingStoreSaveAPIRequest) GetStoreUrl added in v1.2.5

GetStoreUrl StoreUrl Getter

func (*AlibabaDropshippingStoreSaveAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaDropshippingStoreSaveAPIRequest) SetStoreType added in v1.2.5

func (r *AlibabaDropshippingStoreSaveAPIRequest) SetStoreType(_storeType string) error

SetStoreType is StoreType Setter store type

func (*AlibabaDropshippingStoreSaveAPIRequest) SetStoreUrl added in v1.2.5

func (r *AlibabaDropshippingStoreSaveAPIRequest) SetStoreUrl(_storeUrl string) error

SetStoreUrl is StoreUrl Setter store url

type AlibabaDropshippingStoreSaveAPIResponse added in v1.2.5

type AlibabaDropshippingStoreSaveAPIResponse struct {
	model.CommonResponse
	AlibabaDropshippingStoreSaveAPIResponseModel
}

AlibabaDropshippingStoreSaveAPIResponse 阿里巴巴dropshipping店铺数据保存接口 API返回值 alibaba.dropshipping.store.save

阿里巴巴dropshipping店铺数据保存

func GetAlibabaDropshippingStoreSaveAPIResponse added in v1.3.4

func GetAlibabaDropshippingStoreSaveAPIResponse() *AlibabaDropshippingStoreSaveAPIResponse

GetAlibabaDropshippingStoreSaveAPIResponse 从 sync.Pool 获取 AlibabaDropshippingStoreSaveAPIResponse

func (*AlibabaDropshippingStoreSaveAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingStoreSaveAPIResponseModel added in v1.2.5

type AlibabaDropshippingStoreSaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_dropshipping_store_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	//  is success
	ResultSuccess string `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaDropshippingStoreSaveAPIResponseModel is 阿里巴巴dropshipping店铺数据保存接口 成功返回结果

func (*AlibabaDropshippingStoreSaveAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingTokenCreateAPIRequest added in v1.2.0

type AlibabaDropshippingTokenCreateAPIRequest struct {
	model.Params
}

AlibabaDropshippingTokenCreateAPIRequest 国际站dropshipping 选品token 创建 API请求 alibaba.dropshipping.token.create

国际站dropshipping 选品token 创建,用于让买家有权限访问我们指定的 商品场馆

func GetAlibabaDropshippingTokenCreateAPIRequest added in v1.3.4

func GetAlibabaDropshippingTokenCreateAPIRequest() *AlibabaDropshippingTokenCreateAPIRequest

GetAlibabaDropshippingTokenCreateRequest 从 sync.Pool 获取 AlibabaDropshippingTokenCreateAPIRequest

func NewAlibabaDropshippingTokenCreateRequest

func NewAlibabaDropshippingTokenCreateRequest() *AlibabaDropshippingTokenCreateAPIRequest

NewAlibabaDropshippingTokenCreateRequest 初始化AlibabaDropshippingTokenCreateAPIRequest对象

func (AlibabaDropshippingTokenCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDropshippingTokenCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDropshippingTokenCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDropshippingTokenCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaDropshippingTokenCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type AlibabaDropshippingTokenCreateAPIResponse

type AlibabaDropshippingTokenCreateAPIResponse struct {
	model.CommonResponse
	AlibabaDropshippingTokenCreateAPIResponseModel
}

AlibabaDropshippingTokenCreateAPIResponse 国际站dropshipping 选品token 创建 API返回值 alibaba.dropshipping.token.create

国际站dropshipping 选品token 创建,用于让买家有权限访问我们指定的 商品场馆

func GetAlibabaDropshippingTokenCreateAPIResponse added in v1.3.4

func GetAlibabaDropshippingTokenCreateAPIResponse() *AlibabaDropshippingTokenCreateAPIResponse

GetAlibabaDropshippingTokenCreateAPIResponse 从 sync.Pool 获取 AlibabaDropshippingTokenCreateAPIResponse

func (*AlibabaDropshippingTokenCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDropshippingTokenCreateAPIResponseModel added in v1.2.0

type AlibabaDropshippingTokenCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_dropshipping_token_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// ecology_token
	EcologyToken string `json:"ecology_token,omitempty" xml:"ecology_token,omitempty"`
}

AlibabaDropshippingTokenCreateAPIResponseModel is 国际站dropshipping 选品token 创建 成功返回结果

func (*AlibabaDropshippingTokenCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaOrderFreightCalculateAPIRequest added in v1.2.0

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

AlibabaOrderFreightCalculateAPIRequest 阿里巴巴下单场景运费方案计算 API请求 alibaba.order.freight.calculate

icbu开展 drop shipping 业务,阿里巴巴下单场景运费方案计算 alibaba Create order scenario freight calculation

func GetAlibabaOrderFreightCalculateAPIRequest added in v1.3.4

func GetAlibabaOrderFreightCalculateAPIRequest() *AlibabaOrderFreightCalculateAPIRequest

GetAlibabaOrderFreightCalculateRequest 从 sync.Pool 获取 AlibabaOrderFreightCalculateAPIRequest

func NewAlibabaOrderFreightCalculateRequest

func NewAlibabaOrderFreightCalculateRequest() *AlibabaOrderFreightCalculateAPIRequest

NewAlibabaOrderFreightCalculateRequest 初始化AlibabaOrderFreightCalculateAPIRequest对象

func (AlibabaOrderFreightCalculateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaOrderFreightCalculateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOrderFreightCalculateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOrderFreightCalculateAPIRequest) GetParamMultiFreightTemplateRequest added in v1.2.0

func (r AlibabaOrderFreightCalculateAPIRequest) GetParamMultiFreightTemplateRequest() *MultiFreightTemplateRequest

GetParamMultiFreightTemplateRequest ParamMultiFreightTemplateRequest Getter

func (AlibabaOrderFreightCalculateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaOrderFreightCalculateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaOrderFreightCalculateAPIRequest) SetParamMultiFreightTemplateRequest added in v1.2.0

func (r *AlibabaOrderFreightCalculateAPIRequest) SetParamMultiFreightTemplateRequest(_paramMultiFreightTemplateRequest *MultiFreightTemplateRequest) error

SetParamMultiFreightTemplateRequest is ParamMultiFreightTemplateRequest Setter {}

type AlibabaOrderFreightCalculateAPIResponse

type AlibabaOrderFreightCalculateAPIResponse struct {
	model.CommonResponse
	AlibabaOrderFreightCalculateAPIResponseModel
}

AlibabaOrderFreightCalculateAPIResponse 阿里巴巴下单场景运费方案计算 API返回值 alibaba.order.freight.calculate

icbu开展 drop shipping 业务,阿里巴巴下单场景运费方案计算 alibaba Create order scenario freight calculation

func GetAlibabaOrderFreightCalculateAPIResponse added in v1.3.4

func GetAlibabaOrderFreightCalculateAPIResponse() *AlibabaOrderFreightCalculateAPIResponse

GetAlibabaOrderFreightCalculateAPIResponse 从 sync.Pool 获取 AlibabaOrderFreightCalculateAPIResponse

func (*AlibabaOrderFreightCalculateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaOrderFreightCalculateAPIResponseModel added in v1.2.0

type AlibabaOrderFreightCalculateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_order_freight_calculate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Logistics Solution List
	Value []LogisticsSolution `json:"value,omitempty" xml:"value>logistics_solution,omitempty"`
}

AlibabaOrderFreightCalculateAPIResponseModel is 阿里巴巴下单场景运费方案计算 成功返回结果

func (*AlibabaOrderFreightCalculateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaOrderLogisticsTrackingGetAPIRequest added in v1.2.0

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

AlibabaOrderLogisticsTrackingGetAPIRequest 阿里巴巴订单物流轨迹查询 API请求 alibaba.order.logistics.tracking.get

阿里巴巴订单物流轨迹查询

func GetAlibabaOrderLogisticsTrackingGetAPIRequest added in v1.3.4

func GetAlibabaOrderLogisticsTrackingGetAPIRequest() *AlibabaOrderLogisticsTrackingGetAPIRequest

GetAlibabaOrderLogisticsTrackingGetRequest 从 sync.Pool 获取 AlibabaOrderLogisticsTrackingGetAPIRequest

func NewAlibabaOrderLogisticsTrackingGetRequest

func NewAlibabaOrderLogisticsTrackingGetRequest() *AlibabaOrderLogisticsTrackingGetAPIRequest

NewAlibabaOrderLogisticsTrackingGetRequest 初始化AlibabaOrderLogisticsTrackingGetAPIRequest对象

func (AlibabaOrderLogisticsTrackingGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOrderLogisticsTrackingGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOrderLogisticsTrackingGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaOrderLogisticsTrackingGetAPIRequest) GetTradeId added in v1.2.0

GetTradeId TradeId Getter

func (*AlibabaOrderLogisticsTrackingGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaOrderLogisticsTrackingGetAPIRequest) SetTradeId added in v1.2.0

func (r *AlibabaOrderLogisticsTrackingGetAPIRequest) SetTradeId(_tradeId int64) error

SetTradeId is TradeId Setter order id

type AlibabaOrderLogisticsTrackingGetAPIResponse

type AlibabaOrderLogisticsTrackingGetAPIResponse struct {
	model.CommonResponse
	AlibabaOrderLogisticsTrackingGetAPIResponseModel
}

AlibabaOrderLogisticsTrackingGetAPIResponse 阿里巴巴订单物流轨迹查询 API返回值 alibaba.order.logistics.tracking.get

阿里巴巴订单物流轨迹查询

func GetAlibabaOrderLogisticsTrackingGetAPIResponse added in v1.3.4

func GetAlibabaOrderLogisticsTrackingGetAPIResponse() *AlibabaOrderLogisticsTrackingGetAPIResponse

GetAlibabaOrderLogisticsTrackingGetAPIResponse 从 sync.Pool 获取 AlibabaOrderLogisticsTrackingGetAPIResponse

func (*AlibabaOrderLogisticsTrackingGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaOrderLogisticsTrackingGetAPIResponseModel added in v1.2.0

type AlibabaOrderLogisticsTrackingGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_order_logistics_tracking_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// logistics  tracking List
	TrackingList []LogisticsTracking `json:"tracking_list,omitempty" xml:"tracking_list>logistics_tracking,omitempty"`
}

AlibabaOrderLogisticsTrackingGetAPIResponseModel is 阿里巴巴订单物流轨迹查询 成功返回结果

func (*AlibabaOrderLogisticsTrackingGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaOrderPayResultQueryAPIRequest added in v1.2.0

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

AlibabaOrderPayResultQueryAPIRequest alibaba查询订单支付结果 API请求 alibaba.order.pay.result.query

alibaba查询订单支付结果

func GetAlibabaOrderPayResultQueryAPIRequest added in v1.3.4

func GetAlibabaOrderPayResultQueryAPIRequest() *AlibabaOrderPayResultQueryAPIRequest

GetAlibabaOrderPayResultQueryRequest 从 sync.Pool 获取 AlibabaOrderPayResultQueryAPIRequest

func NewAlibabaOrderPayResultQueryRequest

func NewAlibabaOrderPayResultQueryRequest() *AlibabaOrderPayResultQueryAPIRequest

NewAlibabaOrderPayResultQueryRequest 初始化AlibabaOrderPayResultQueryAPIRequest对象

func (AlibabaOrderPayResultQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaOrderPayResultQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOrderPayResultQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOrderPayResultQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaOrderPayResultQueryAPIRequest) GetTradeId added in v1.2.0

GetTradeId TradeId Getter

func (*AlibabaOrderPayResultQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaOrderPayResultQueryAPIRequest) SetTradeId added in v1.2.0

func (r *AlibabaOrderPayResultQueryAPIRequest) SetTradeId(_tradeId int64) error

SetTradeId is TradeId Setter order id

type AlibabaOrderPayResultQueryAPIResponse

type AlibabaOrderPayResultQueryAPIResponse struct {
	model.CommonResponse
	AlibabaOrderPayResultQueryAPIResponseModel
}

AlibabaOrderPayResultQueryAPIResponse alibaba查询订单支付结果 API返回值 alibaba.order.pay.result.query

alibaba查询订单支付结果

func GetAlibabaOrderPayResultQueryAPIResponse added in v1.3.4

func GetAlibabaOrderPayResultQueryAPIResponse() *AlibabaOrderPayResultQueryAPIResponse

GetAlibabaOrderPayResultQueryAPIResponse 从 sync.Pool 获取 AlibabaOrderPayResultQueryAPIResponse

func (*AlibabaOrderPayResultQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaOrderPayResultQueryAPIResponseModel added in v1.2.0

type AlibabaOrderPayResultQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_order_pay_result_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// pay response
	Value *CashierPayResponse `json:"value,omitempty" xml:"value,omitempty"`
}

AlibabaOrderPayResultQueryAPIResponseModel is alibaba查询订单支付结果 成功返回结果

func (*AlibabaOrderPayResultQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShippingFreightCalculateAPIRequest added in v1.2.0

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

AlibabaShippingFreightCalculateAPIRequest 阿里巴巴商品运费计算查询接口 API请求 alibaba.shipping.freight.calculate

阿里巴巴商品运费计算查询接口

func GetAlibabaShippingFreightCalculateAPIRequest added in v1.3.4

func GetAlibabaShippingFreightCalculateAPIRequest() *AlibabaShippingFreightCalculateAPIRequest

GetAlibabaShippingFreightCalculateRequest 从 sync.Pool 获取 AlibabaShippingFreightCalculateAPIRequest

func NewAlibabaShippingFreightCalculateRequest

func NewAlibabaShippingFreightCalculateRequest() *AlibabaShippingFreightCalculateAPIRequest

NewAlibabaShippingFreightCalculateRequest 初始化AlibabaShippingFreightCalculateAPIRequest对象

func (AlibabaShippingFreightCalculateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaShippingFreightCalculateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaShippingFreightCalculateAPIRequest) GetParamFreightTemplateRequest added in v1.2.0

func (r AlibabaShippingFreightCalculateAPIRequest) GetParamFreightTemplateRequest() *FreightTemplateRequest

GetParamFreightTemplateRequest ParamFreightTemplateRequest Getter

func (AlibabaShippingFreightCalculateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaShippingFreightCalculateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaShippingFreightCalculateAPIRequest) SetParamFreightTemplateRequest added in v1.2.0

func (r *AlibabaShippingFreightCalculateAPIRequest) SetParamFreightTemplateRequest(_paramFreightTemplateRequest *FreightTemplateRequest) error

SetParamFreightTemplateRequest is ParamFreightTemplateRequest Setter {}

type AlibabaShippingFreightCalculateAPIResponse

type AlibabaShippingFreightCalculateAPIResponse struct {
	model.CommonResponse
	AlibabaShippingFreightCalculateAPIResponseModel
}

AlibabaShippingFreightCalculateAPIResponse 阿里巴巴商品运费计算查询接口 API返回值 alibaba.shipping.freight.calculate

阿里巴巴商品运费计算查询接口

func GetAlibabaShippingFreightCalculateAPIResponse added in v1.3.4

func GetAlibabaShippingFreightCalculateAPIResponse() *AlibabaShippingFreightCalculateAPIResponse

GetAlibabaShippingFreightCalculateAPIResponse 从 sync.Pool 获取 AlibabaShippingFreightCalculateAPIResponse

func (*AlibabaShippingFreightCalculateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShippingFreightCalculateAPIResponseModel added in v1.2.0

type AlibabaShippingFreightCalculateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_shipping_freight_calculate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// pojo
	Values []Value `json:"values,omitempty" xml:"values>value,omitempty"`
}

AlibabaShippingFreightCalculateAPIResponseModel is 阿里巴巴商品运费计算查询接口 成功返回结果

func (*AlibabaShippingFreightCalculateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CashierPayResponse

type CashierPayResponse struct {
	// Payment url
	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`
	// Payment failed reason code
	ReasonCode string `json:"reason_code,omitempty" xml:"reason_code,omitempty"`
	// Payment failed reason message
	ReasonMessage string `json:"reason_message,omitempty" xml:"reason_message,omitempty"`
	// UNPAY Unpaid order <br /> PAYING The order is being paid and it needs to wait for about 1 minute,<br /> PAY_SUCCESS Order payment is successful,<br /> PAY_FAILED Order payment failed
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// order id
	TradeId int64 `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
}

CashierPayResponse 结构体

func GetCashierPayResponse added in v1.3.4

func GetCashierPayResponse() *CashierPayResponse

GetCashierPayResponse() 从对象池中获取CashierPayResponse

type DistributionSaleProduct

type DistributionSaleProduct struct {
	// product keywords
	Keywords []string `json:"keywords,omitempty" xml:"keywords>string,omitempty"`
	// Ladder delivery List
	LadderPeriodList []LadderPeriod `json:"ladder_period_list,omitempty" xml:"ladder_period_list>ladder_period,omitempty"`
	// product sku list
	ProductSkuList []ProductSku `json:"product_sku_list,omitempty" xml:"product_sku_list>product_sku,omitempty"`
	// product image list
	ImageUrlList []string `json:"image_url_list,omitempty" xml:"image_url_list>string,omitempty"`
	// product description html,<br /> It is the transferred string, the applicable party needs to reverse the string
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// product detail Url
	DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"`
	// main image url
	MainImageUrl string `json:"main_image_url,omitempty" xml:"main_image_url,omitempty"`
	// product name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// price Range
	PriceRange string `json:"price_range,omitempty" xml:"price_range,omitempty"`
	// Store Id
	ECompanyId string `json:"e_company_id,omitempty" xml:"e_company_id,omitempty"`
	// the top category name
	TopCategoryName string `json:"top_category_name,omitempty" xml:"top_category_name,omitempty"`
	// the leaf category name
	LeafCategoryName string `json:"leaf_category_name,omitempty" xml:"leaf_category_name,omitempty"`
	// min order quantity and Price
	MoqAndPrice *MoqAndPrice `json:"moq_and_price,omitempty" xml:"moq_and_price,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// Determine whether this product can be ordered
	IsCanPlaceOrder bool `json:"is_can_place_order,omitempty" xml:"is_can_place_order,omitempty"`
}

DistributionSaleProduct 结构体

func GetDistributionSaleProduct added in v1.3.4

func GetDistributionSaleProduct() *DistributionSaleProduct

GetDistributionSaleProduct() 从对象池中获取DistributionSaleProduct

type DistributionSaleProductRequest

type DistributionSaleProductRequest struct {
	// productId List,max size is 10
	ProductIds []int64 `json:"product_ids,omitempty" xml:"product_ids>int64,omitempty"`
}

DistributionSaleProductRequest 结构体

func GetDistributionSaleProductRequest added in v1.3.4

func GetDistributionSaleProductRequest() *DistributionSaleProductRequest

GetDistributionSaleProductRequest() 从对象池中获取DistributionSaleProductRequest

type DivisionInfoDto

type DivisionInfoDto struct {
	// City Code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// City Name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

DivisionInfoDto 结构体

func GetDivisionInfoDto added in v1.3.4

func GetDivisionInfoDto() *DivisionInfoDto

GetDivisionInfoDto() 从对象池中获取DivisionInfoDto

type FreightTemplateRequest

type FreightTemplateRequest struct {
	// destination country  ISO 3166-2
	DestinationCountry string `json:"destination_country,omitempty" xml:"destination_country,omitempty"`
	// destination zip code
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// quantity
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

FreightTemplateRequest 结构体

func GetFreightTemplateRequest added in v1.3.4

func GetFreightTemplateRequest() *FreightTemplateRequest

GetFreightTemplateRequest() 从对象池中获取FreightTemplateRequest

type Inventory

type Inventory struct {
	// dispatch country
	DispatchCountry string `json:"dispatch_country,omitempty" xml:"dispatch_country,omitempty"`
	// store code
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// inventory count
	Inventory int64 `json:"inventory,omitempty" xml:"inventory,omitempty"`
}

Inventory 结构体

func GetInventory added in v1.3.4

func GetInventory() *Inventory

GetInventory() 从对象池中获取Inventory

type LadderPeriod

type LadderPeriod struct {
	// max quantity
	MaxQuantity int64 `json:"max_quantity,omitempty" xml:"max_quantity,omitempty"`
	// min quantity
	MinQuantity int64 `json:"min_quantity,omitempty" xml:"min_quantity,omitempty"`
	// Delivery time
	ProcessPeriod int64 `json:"process_period,omitempty" xml:"process_period,omitempty"`
}

LadderPeriod 结构体

func GetLadderPeriod added in v1.3.4

func GetLadderPeriod() *LadderPeriod

GetLadderPeriod() 从对象池中获取LadderPeriod

type LadderPrice

type LadderPrice struct {
	// price
	Price float64 `json:"price,omitempty" xml:"price,omitempty"`
	// If it is -1, it means the maximum
	MaxQuantity int64 `json:"max_quantity,omitempty" xml:"max_quantity,omitempty"`
	// min quantity
	MinQuantity int64 `json:"min_quantity,omitempty" xml:"min_quantity,omitempty"`
}

LadderPrice 结构体

func GetLadderPrice added in v1.3.4

func GetLadderPrice() *LadderPrice

GetLadderPrice() 从对象池中获取LadderPrice

type LogisticsDetail

type LogisticsDetail struct {
	// For BuyNow orders, use the value shown in the vendorCode field from the shipping cost template API; non-BuyNow orders don’t need to provide this information.    alibaba.shipping.freight.calculate  's vender_code
	CarrierCode string `json:"carrier_code,omitempty" xml:"carrier_code,omitempty"`
	// shipment address
	ShipmentAddress *Address `json:"shipment_address,omitempty" xml:"shipment_address,omitempty"`
}

LogisticsDetail 结构体

func GetLogisticsDetail added in v1.3.4

func GetLogisticsDetail() *LogisticsDetail

GetLogisticsDetail() 从对象池中获取LogisticsDetail

type LogisticsProduct

type LogisticsProduct struct {
	// Product Id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// quantity
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// Sku ID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

LogisticsProduct 结构体

func GetLogisticsProduct added in v1.3.4

func GetLogisticsProduct() *LogisticsProduct

GetLogisticsProduct() 从对象池中获取LogisticsProduct

type LogisticsSolution

type LogisticsSolution struct {
	// delivery time (days)
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// destination country
	DestinationCountry string `json:"destination_country,omitempty" xml:"destination_country,omitempty"`
	// dispatch country
	DispatchCountry string `json:"dispatch_country,omitempty" xml:"dispatch_country,omitempty"`
	// shipping type
	ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"`
	// trade term
	TradeTerm string `json:"trade_term,omitempty" xml:"trade_term,omitempty"`
	// vendor code
	VendorCode string `json:"vendor_code,omitempty" xml:"vendor_code,omitempty"`
	// vendor name
	VendorName string `json:"vendor_name,omitempty" xml:"vendor_name,omitempty"`
	// shipping fee
	Fee float64 `json:"fee,omitempty" xml:"fee,omitempty"`
}

LogisticsSolution 结构体

func GetLogisticsSolution added in v1.3.4

func GetLogisticsSolution() *LogisticsSolution

GetLogisticsSolution() 从对象池中获取LogisticsSolution

type LogisticsTracking

type LogisticsTracking struct {
	// event list
	EventList []TrackingEvent `json:"event_list,omitempty" xml:"event_list>tracking_event,omitempty"`
	// carrier
	Carrier string `json:"carrier,omitempty" xml:"carrier,omitempty"`
	// The latest logistics event code
	CurrentEventCode string `json:"current_event_code,omitempty" xml:"current_event_code,omitempty"`
	// tracking number
	TrackingNumber string `json:"tracking_number,omitempty" xml:"tracking_number,omitempty"`
	// tracking url
	TrackingUrl string `json:"tracking_url,omitempty" xml:"tracking_url,omitempty"`
}

LogisticsTracking 结构体

func GetLogisticsTracking added in v1.3.4

func GetLogisticsTracking() *LogisticsTracking

GetLogisticsTracking() 从对象池中获取LogisticsTracking

type MoqAndPrice

type MoqAndPrice struct {
	// min order quantity
	MinOrderQuantity string `json:"min_order_quantity,omitempty" xml:"min_order_quantity,omitempty"`
	// min order quantity unit
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// min order quantity  delivery period
	MoqDeliveryPeriod int64 `json:"moq_delivery_period,omitempty" xml:"moq_delivery_period,omitempty"`
	// min order quantity unit price
	MoqUnitPrice float64 `json:"moq_unit_price,omitempty" xml:"moq_unit_price,omitempty"`
}

MoqAndPrice 结构体

func GetMoqAndPrice added in v1.3.4

func GetMoqAndPrice() *MoqAndPrice

GetMoqAndPrice() 从对象池中获取MoqAndPrice

type MultiFreightTemplateRequest

type MultiFreightTemplateRequest struct {
	// Product List
	LogisticsProductList []LogisticsProduct `json:"logistics_product_list,omitempty" xml:"logistics_product_list>logistics_product,omitempty"`
	// Get from alibaba.dropshipping.product.get
	ECompanyId string `json:"e_company_id,omitempty" xml:"e_company_id,omitempty"`
	// Destination Country
	DestinationCountry string `json:"destination_country,omitempty" xml:"destination_country,omitempty"`
	// Shipping address
	Address *AddressInfoDto `json:"address,omitempty" xml:"address,omitempty"`
}

MultiFreightTemplateRequest 结构体

func GetMultiFreightTemplateRequest added in v1.3.4

func GetMultiFreightTemplateRequest() *MultiFreightTemplateRequest

GetMultiFreightTemplateRequest() 从对象池中获取MultiFreightTemplateRequest

type OrderCreateRequest

type OrderCreateRequest struct {
	// Product list
	ProductList []TradeEcologyOrderCreateProduct `json:"product_list,omitempty" xml:"product_list>trade_ecology_order_create_product,omitempty"`
	// Provide the order number corresponding to the 3rd party ISV
	ChannelReferId string `json:"channel_refer_id,omitempty" xml:"channel_refer_id,omitempty"`
	// Put the order number provided by the 3rd party platform and the name of the 3rd party platform. For example, if the order number is for a transaction made on Shopify, put “Shopify” and the order number. <br />  Platform Names can be case ignored:<br /> Shopify,CommerceHQ,WooCommerce,GrooveKart,BigCommerce
	Properties string `json:"properties,omitempty" xml:"properties,omitempty"`
	// order remark
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// Logistics details
	LogisticsDetail *LogisticsDetail `json:"logistics_detail,omitempty" xml:"logistics_detail,omitempty"`
	// Payment details
	PaymentDetail *PaymentDetail `json:"payment_detail,omitempty" xml:"payment_detail,omitempty"`
}

OrderCreateRequest 结构体

func GetOrderCreateRequest added in v1.3.4

func GetOrderCreateRequest() *OrderCreateRequest

GetOrderCreateRequest() 从对象池中获取OrderCreateRequest

type OrderCreateResponse

type OrderCreateResponse struct {
	// pay url
	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`
	// order number
	TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
}

OrderCreateResponse 结构体

func GetOrderCreateResponse added in v1.3.4

func GetOrderCreateResponse() *OrderCreateResponse

GetOrderCreateResponse() 从对象池中获取OrderCreateResponse

type OrderPayRequest

type OrderPayRequest struct {
	// Order numbers to be paid,max size is  10
	OrderIdList []int64 `json:"order_id_list,omitempty" xml:"order_id_list>int64,omitempty"`
	// HTTP request Header "accept-language"
	AcceptLanguage string `json:"accept_language,omitempty" xml:"accept_language,omitempty"`
	// Screen resolution of the device used by the buyer
	ScreenResolution string `json:"screen_resolution,omitempty" xml:"screen_resolution,omitempty"`
	// HTTP request header "User-Agent"
	UserAgent string `json:"user_agent,omitempty" xml:"user_agent,omitempty"`
	// Buyer's IP
	UserIp string `json:"user_ip,omitempty" xml:"user_ip,omitempty"`
	// The time stamp of the buyer's first registration as dropper
	IsvDropShipperRegistrationTime int64 `json:"isv_drop_shipper_registration_time,omitempty" xml:"isv_drop_shipper_registration_time,omitempty"`
	// is PC ? true/false, current only support pc
	IsPc bool `json:"is_pc,omitempty" xml:"is_pc,omitempty"`
}

OrderPayRequest 结构体

func GetOrderPayRequest added in v1.3.4

func GetOrderPayRequest() *OrderPayRequest

GetOrderPayRequest() 从对象池中获取OrderPayRequest

type PaymentDetail

type PaymentDetail struct {
	// shipment fee
	ShipmentFee string `json:"shipment_fee,omitempty" xml:"shipment_fee,omitempty"`
	// total amount
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
}

PaymentDetail 结构体

func GetPaymentDetail added in v1.3.4

func GetPaymentDetail() *PaymentDetail

GetPaymentDetail() 从对象池中获取PaymentDetail

type Phone

type Phone struct {
	// fax area
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// fax country
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// fax number
	Number string `json:"number,omitempty" xml:"number,omitempty"`
}

Phone 结构体

func GetPhone added in v1.3.4

func GetPhone() *Phone

GetPhone() 从对象池中获取Phone

type ProductSku

type ProductSku struct {
	// inventory list
	InventoryList []Inventory `json:"inventory_list,omitempty" xml:"inventory_list>inventory,omitempty"`
	// sku name value list
	SkuNameValueList []ProductSkuNameValue `json:"sku_name_value_list,omitempty" xml:"sku_name_value_list>product_sku_name_value,omitempty"`
	// ladder price list
	LadderPriceList []LadderPrice `json:"ladder_price_list,omitempty" xml:"ladder_price_list>ladder_price,omitempty"`
	// sku image url
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

ProductSku 结构体

func GetProductSku added in v1.3.4

func GetProductSku() *ProductSku

GetProductSku() 从对象池中获取ProductSku

type ProductSkuNameValue

type ProductSkuNameValue struct {
	// Attributes name
	AttrNameDesc string `json:"attr_name_desc,omitempty" xml:"attr_name_desc,omitempty"`
	// Attributes value
	AttrValueDesc string `json:"attr_value_desc,omitempty" xml:"attr_value_desc,omitempty"`
	// Attributes url
	AttrValueImage string `json:"attr_value_image,omitempty" xml:"attr_value_image,omitempty"`
	// Attributes name id
	AttrNameId int64 `json:"attr_name_id,omitempty" xml:"attr_name_id,omitempty"`
	// Attributes value id
	AttrValueId int64 `json:"attr_value_id,omitempty" xml:"attr_value_id,omitempty"`
}

ProductSkuNameValue 结构体

func GetProductSkuNameValue added in v1.3.4

func GetProductSkuNameValue() *ProductSkuNameValue

GetProductSkuNameValue() 从对象池中获取ProductSkuNameValue

type TrackingEvent

type TrackingEvent struct {
	// event code
	EventCode string `json:"event_code,omitempty" xml:"event_code,omitempty"`
	// event location
	EventLocation string `json:"event_location,omitempty" xml:"event_location,omitempty"`
	// event name
	EventName string `json:"event_name,omitempty" xml:"event_name,omitempty"`
	// event time
	EventTime string `json:"event_time,omitempty" xml:"event_time,omitempty"`
}

TrackingEvent 结构体

func GetTrackingEvent added in v1.3.4

func GetTrackingEvent() *TrackingEvent

GetTrackingEvent() 从对象池中获取TrackingEvent

type TradeEcologyOrderCreateProduct

type TradeEcologyOrderCreateProduct struct {
	// quantity
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// sku id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// unit price
	UnitPriceStr string `json:"unit_price_str,omitempty" xml:"unit_price_str,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

TradeEcologyOrderCreateProduct 结构体

func GetTradeEcologyOrderCreateProduct added in v1.3.4

func GetTradeEcologyOrderCreateProduct() *TradeEcologyOrderCreateProduct

GetTradeEcologyOrderCreateProduct() 从对象池中获取TradeEcologyOrderCreateProduct

type Value

type Value struct {
	// shipping type
	ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"`
	// trade term
	TradeTerm string `json:"trade_term,omitempty" xml:"trade_term,omitempty"`
	// dispatch country
	DispatchCountry string `json:"dispatch_country,omitempty" xml:"dispatch_country,omitempty"`
	// destination country
	DestinationCountry string `json:"destination_country,omitempty" xml:"destination_country,omitempty"`
	// vendor code
	VendorCode string `json:"vendor_code,omitempty" xml:"vendor_code,omitempty"`
	// vendor name
	VendorName string `json:"vendor_name,omitempty" xml:"vendor_name,omitempty"`
	// delivery time (days)
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// shipping fee
	Fee float64 `json:"fee,omitempty" xml:"fee,omitempty"`
}

Value 结构体

func GetValue added in v1.3.4

func GetValue() *Value

GetValue() 从对象池中获取Value

Jump to

Keyboard shortcuts

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