aedropshiper

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package aedropshiper 包含AE-Dropshipper相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AeChildOrderInfo added in v1.2.5

type AeChildOrderInfo struct {
	// Item name
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// Item ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// Item price
	ProductPrice *SimpleMoney `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// Item quantity
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
}

AeChildOrderInfo 结构体

type AeItemBaseInfoDto added in v1.2.5

type AeItemBaseInfoDto struct {
	// The title of the product
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// The currency unit of the commodity. U.S. Dollar: USD, Ruble: RUB
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// Product status
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
	// Reasons for removal of goods
	WsDisplay string `json:"ws_display,omitempty" xml:"ws_display,omitempty"`
	// The date the product was removed from the shelf
	WsOfflineDate string `json:"ws_offline_date,omitempty" xml:"ws_offline_date,omitempty"`
	// Commodity creation time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// Change the time
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// Evaluation number
	EvaluationCount string `json:"evaluation_count,omitempty" xml:"evaluation_count,omitempty"`
	// Average rating stars, 1-5 stars
	AvgEvaluationRating string `json:"avg_evaluation_rating,omitempty" xml:"avg_evaluation_rating,omitempty"`
	// Commodity detailed description
	Detail string `json:"detail,omitempty" xml:"detail,omitempty"`
	// Mobile detailed description
	MobileDetail string `json:"mobile_detail,omitempty" xml:"mobile_detail,omitempty"`
	// Item ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// ID of the category of the product
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// Seller's master account ID
	OwnerMemberSeqLong int64 `json:"owner_member_seq_long,omitempty" xml:"owner_member_seq_long,omitempty"`
}

AeItemBaseInfoDto 结构体

type AeItemProperty added in v1.2.5

type AeItemProperty struct {
	// Attribute name
	AttrName string `json:"attr_name,omitempty" xml:"attr_name,omitempty"`
	// Attribute value
	AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"`
	// Interval attribute start value
	AttrValueStart string `json:"attr_value_start,omitempty" xml:"attr_value_start,omitempty"`
	// End value of interval attribute
	AttrValueEnd string `json:"attr_value_end,omitempty" xml:"attr_value_end,omitempty"`
	// Attribute unit
	AttrValueUnit string `json:"attr_value_unit,omitempty" xml:"attr_value_unit,omitempty"`
	// Attribute ID
	AttrNameId int64 `json:"attr_name_id,omitempty" xml:"attr_name_id,omitempty"`
	// Attribute ID
	AttrValueId int64 `json:"attr_value_id,omitempty" xml:"attr_value_id,omitempty"`
}

AeItemProperty 结构体

type AeItemQueryResultDto added in v1.2.5

type AeItemQueryResultDto struct {
	// SKU information
	AeItemSkuInfoDtos []AeItemSkuInfoDto `json:"ae_item_sku_info_dtos,omitempty" xml:"ae_item_sku_info_dtos>ae_item_sku_info_dto,omitempty"`
	// Attribute information
	AeItemProperties []AeItemProperty `json:"ae_item_properties,omitempty" xml:"ae_item_properties>ae_item_property,omitempty"`
	// Basic commodity information
	AeItemBaseInfoDto *AeItemBaseInfoDto `json:"ae_item_base_info_dto,omitempty" xml:"ae_item_base_info_dto,omitempty"`
	// Multimedia information
	AeMultimediaInfoDto *AeMultimediaInfoDto `json:"ae_multimedia_info_dto,omitempty" xml:"ae_multimedia_info_dto,omitempty"`
	// Package information
	PackageInfoDto *PackageInfoDto `json:"package_info_dto,omitempty" xml:"package_info_dto,omitempty"`
	// Logistics information
	LogisticsInfoDto *LogisticsInfoDto `json:"logistics_info_dto,omitempty" xml:"logistics_info_dto,omitempty"`
	// Store Information
	AeStoreInfo *AeStoreInfo `json:"ae_store_info,omitempty" xml:"ae_store_info,omitempty"`
	// product id converter result
	ProductIdConverterResult *ProductIdConverterResultDto `json:"product_id_converter_result,omitempty" xml:"product_id_converter_result,omitempty"`
}

AeItemQueryResultDto 结构体

type AeItemSkuInfoDto added in v1.2.5

type AeItemSkuInfoDto struct {
	// SKU attribute object
	AeSkuPropertyDtos []AeSkuPropertyDto `json:"ae_sku_property_dtos,omitempty" xml:"ae_sku_property_dtos>ae_sku_property_dto,omitempty"`
	// SKU ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// SKU price. Value range: 0.01-100000; Unit: USD. Such as: 200.07, which means: 200 US dollars 7 points. Need to be in the correct price range.
	SkuPrice string `json:"sku_price,omitempty" xml:"sku_price,omitempty"`
	// SKU merchant code. Format: single-byte alphanumeric characters, length 20, excluding spaces greater than and less than signs. If the user only fills in the retail price (productprice) and product code, a complete SKU record needs to be generated and submitted, otherwise the product code cannot be saved. The system will think that only the retail price has been submitted, but there is no SKU, resulting in unsaved product editing.
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// The currency unit of the product. U.S. Dollar: USD, Ruble: RUB
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// Commodity barcode
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// SKU discount price
	OfferSalePrice string `json:"offer_sale_price,omitempty" xml:"offer_sale_price,omitempty"`
	// SKU bulk discount price
	OfferBulkSalePrice string `json:"offer_bulk_sale_price,omitempty" xml:"offer_bulk_sale_price,omitempty"`
	// The actual saleable inventory attribute of SKU is ipmSkuStock. The reasonable value range of this attribute value is 0~999999. If the product has SKU, please make sure that at least one SKU is in stock, that is, the value of ipmSkuStock is 1~999999. The range of the inventory value of the entire product latitude is 1~999999. If the skuStock attribute is set at the same time, the system will give priority to the ipmSkuStock attribute; if the ipmSkuStock attribute is not set, the system will set the inventory according to the skuStock attribute, true means 999, false means 0.
	IpmSkuStock int64 `json:"ipm_sku_stock,omitempty" xml:"ipm_sku_stock,omitempty"`
	// Minimum number of batches
	SkuBulkOrder int64 `json:"sku_bulk_order,omitempty" xml:"sku_bulk_order,omitempty"`
	// SKU inventory
	SkuAvailableStock int64 `json:"sku_available_stock,omitempty" xml:"sku_available_stock,omitempty"`
	// SKU inventory, the data format is true if stock is available, false if no stock is available; at least one sku record is available.
	SkuStock bool `json:"sku_stock,omitempty" xml:"sku_stock,omitempty"`
}

AeItemSkuInfoDto 结构体

type AeMultimediaInfoDto added in v1.2.5

type AeMultimediaInfoDto struct {
	// Video information
	AeVideoDtos []AeVideoDto `json:"ae_video_dtos,omitempty" xml:"ae_video_dtos>ae_video_dto,omitempty"`
	// List of main images of the product
	ImageUrls string `json:"image_urls,omitempty" xml:"image_urls,omitempty"`
}

AeMultimediaInfoDto 结构体

type AeOrderInfoResultDto added in v1.2.5

type AeOrderInfoResultDto struct {
	// Order logistics information list
	LogisticsInfoList []AeOrderLogisticsInfo `json:"logistics_info_list,omitempty" xml:"logistics_info_list>ae_order_logistics_info,omitempty"`
	// Sub-order list
	ChildOrderList []AeChildOrderInfo `json:"child_order_list,omitempty" xml:"child_order_list>ae_child_order_info,omitempty"`
	// Order creation time
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// Logistics status
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// Order Status
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// Order amount
	OrderAmount *SimpleMoney `json:"order_amount,omitempty" xml:"order_amount,omitempty"`
	// Store Information
	StoreInfo *AeStoreSimpleInfo `json:"store_info,omitempty" xml:"store_info,omitempty"`
}

AeOrderInfoResultDto 结构体

type AeOrderLogisticsInfo added in v1.2.5

type AeOrderLogisticsInfo struct {
	// Logistics tracking number
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// Logistics Services
	LogisticsService string `json:"logistics_service,omitempty" xml:"logistics_service,omitempty"`
}

AeOrderLogisticsInfo 结构体

type AeSkuPropertyDto added in v1.2.5

type AeSkuPropertyDto struct {
	// Attribute name
	SkuPropertyName string `json:"sku_property_name,omitempty" xml:"sku_property_name,omitempty"`
	// Attribute value
	SkuPropertyValue string `json:"sku_property_value,omitempty" xml:"sku_property_value,omitempty"`
	// Custom name
	PropertyValueDefinitionName string `json:"property_value_definition_name,omitempty" xml:"property_value_definition_name,omitempty"`
	// SKU pictures
	SkuImage string `json:"sku_image,omitempty" xml:"sku_image,omitempty"`
	// Attribute ID
	SkuPropertyId int64 `json:"sku_property_id,omitempty" xml:"sku_property_id,omitempty"`
	// Custom id
	PropertyValueId int64 `json:"property_value_id,omitempty" xml:"property_value_id,omitempty"`
}

AeSkuPropertyDto 结构体

type AeStoreInfo added in v1.2.8

type AeStoreInfo struct {
	// Shop name
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// Product description, 1-5 stars
	ItemAsDescribedRating string `json:"item_as_described_rating,omitempty" xml:"item_as_described_rating,omitempty"`
	// Seller service, 1-5 stars
	CommunicationRating string `json:"communication_rating,omitempty" xml:"communication_rating,omitempty"`
	// Logistics, 1-5 stars
	ShippingSpeedRating string `json:"shipping_speed_rating,omitempty" xml:"shipping_speed_rating,omitempty"`
	// Store ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

AeStoreInfo 结构体

type AeStoreSimpleInfo added in v1.2.5

type AeStoreSimpleInfo struct {
	// Store name
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// Store address
	StoreUrl string `json:"store_url,omitempty" xml:"store_url,omitempty"`
	// Store ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

AeStoreSimpleInfo 结构体

type AeVideoDto added in v1.2.5

type AeVideoDto struct {
	// Video status
	MediaStatus string `json:"media_status,omitempty" xml:"media_status,omitempty"`
	// Type of video
	MediaType string `json:"media_type,omitempty" xml:"media_type,omitempty"`
	// The URL of the video cover image
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// Seller's master account ID
	AliMemberId int64 `json:"ali_member_id,omitempty" xml:"ali_member_id,omitempty"`
	// Video ID
	MediaId int64 `json:"media_id,omitempty" xml:"media_id,omitempty"`
}

AeVideoDto 结构体

type AeopAeMultimedia

type AeopAeMultimedia struct {
	// 多媒体信息。
	AeopAEVideos []AeopAeVideo `json:"aeop_a_e_videos,omitempty" xml:"aeop_a_e_videos>aeop_ae_video,omitempty"`
}

AeopAeMultimedia 结构体

type AeopAeProductProperty

type AeopAeProductProperty struct {
	// 属性单位
	AttrValueUnit string `json:"attr_value_unit,omitempty" xml:"attr_value_unit,omitempty"`
	// 区间属性开始值
	AttrValueStart string `json:"attr_value_start,omitempty" xml:"attr_value_start,omitempty"`
	// 区间属性结束值
	AttrValueEnd string `json:"attr_value_end,omitempty" xml:"attr_value_end,omitempty"`
	// 属性值
	AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"`
	// 属性名字
	AttrName string `json:"attr_name,omitempty" xml:"attr_name,omitempty"`
	// 属性值ID
	AttrValueId int64 `json:"attr_value_id,omitempty" xml:"attr_value_id,omitempty"`
	// 属性Id
	AttrNameId int64 `json:"attr_name_id,omitempty" xml:"attr_name_id,omitempty"`
}

AeopAeProductProperty 结构体

type AeopAeProductSku

type AeopAeProductSku struct {
	// SKU属性对象列表
	AeopSKUPropertyList []AeopSkuProperty `json:"aeop_s_k_u_property_list,omitempty" xml:"aeop_s_k_u_property_list>aeop_sku_property,omitempty"`
	// Sku属性对象list,允许1-3个sku属性对象,按sku属性顺序排放。sku属性从类目属性接口getAttributesResultByCateId获取。该项值输入sku属性,不能输入普通类目属性。注意,sku属性是有顺序的,必须按照顺序存放。
	AeopSKUPropertys []AeopSkuProperty `json:"aeop_s_k_u_propertys,omitempty" xml:"aeop_s_k_u_propertys>aeop_sku_property,omitempty"`
	// Sku价格。取值范围:0.01-100000;单位:美元。 如:200.07,表示:200美元7分。需要在正确的价格区间内。
	SkuPrice string `json:"sku_price,omitempty" xml:"sku_price,omitempty"`
	// SKU ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 产品的货币单位。美元: USD, 卢布: RUB
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// sku折扣价格
	OfferSalePrice string `json:"offer_sale_price,omitempty" xml:"offer_sale_price,omitempty"`
	// sku批量折扣价
	OfferBulkSalePrice string `json:"offer_bulk_sale_price,omitempty" xml:"offer_bulk_sale_price,omitempty"`
	// Sku商家编码。 格式:半角英数字,长度20,不包含空格大于号和小于号。如果用户只填写零售价(productprice)和商品编码,需要完整生成一条SKU记录提交,否则商品编码无法保存。系统会认为只提交了零售价,而没有SKU,导致商品编辑未保存。
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// 商品条形码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// sku库存
	SKUAvailableStock int64 `json:"s_k_u_available_stock,omitempty" xml:"s_k_u_available_stock,omitempty"`
	// SKU实际可售库存属性ipmSkuStock,该属性值的合理取值范围为0~999999,如该商品有SKU时,请确保至少有一个SKU是有货状态,也就是ipmSkuStock取值是1~999999,在整个商品纬度库存值的取值范围是1~999999。 如果同时设置了skuStock属性,那么系统以ipmSkuStock属性为优先;如果没有设置ipmSkuStock属性,那么系统会根据skuStock属性进行设置库存,true表示999,false表示0。
	IpmSkuStock int64 `json:"ipm_sku_stock,omitempty" xml:"ipm_sku_stock,omitempty"`
	// 最少起批的数量
	SkuBulkOrder int64 `json:"sku_bulk_order,omitempty" xml:"sku_bulk_order,omitempty"`
	// Sku库存,数据格式有货true,无货false;至少有一条sku记录是有货的。
	SkuStock bool `json:"sku_stock,omitempty" xml:"sku_stock,omitempty"`
}

AeopAeProductSku 结构体

type AeopAeVideo

type AeopAeVideo struct {
	// 视频封面图片的URL
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 视频的类型
	MediaType string `json:"media_type,omitempty" xml:"media_type,omitempty"`
	// 视频的状态
	MediaStatus string `json:"media_status,omitempty" xml:"media_status,omitempty"`
	// 视频ID
	MediaId int64 `json:"media_id,omitempty" xml:"media_id,omitempty"`
	// 卖家主账户ID
	AliMemberId int64 `json:"ali_member_id,omitempty" xml:"ali_member_id,omitempty"`
}

AeopAeVideo 结构体

type AeopChildOrderInfo

type AeopChildOrderInfo struct {
	// 商品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品价格
	ProductPrice *SimpleMoney `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 商品数量
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
}

AeopChildOrderInfo 结构体

type AeopFindProductResultDto

type AeopFindProductResultDto struct {
	// 商品的SKU信息
	AeopAeProductSKUs []AeopAeProductSku `json:"aeop_ae_product_s_k_us,omitempty" xml:"aeop_ae_product_s_k_us>aeop_ae_product_sku,omitempty"`
	// 商品的类目属性
	AeopAeProductPropertys []AeopAeProductProperty `json:"aeop_ae_product_propertys,omitempty" xml:"aeop_ae_product_propertys>aeop_ae_product_property,omitempty"`
	// 商品详描
	Detail string `json:"detail,omitempty" xml:"detail,omitempty"`
	// 产品的下架日期
	WsOfflineDate string `json:"ws_offline_date,omitempty" xml:"ws_offline_date,omitempty"`
	// 产品的下架原因
	WsDisplay string `json:"ws_display,omitempty" xml:"ws_display,omitempty"`
	// 商品拥有者的login_id
	OwnerMemberId string `json:"owner_member_id,omitempty" xml:"owner_member_id,omitempty"`
	// 产品的状态
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
	// 产品的毛重
	GrossWeight string `json:"gross_weight,omitempty" xml:"gross_weight,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 产品的标题
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 无线详描
	MobileDetail string `json:"mobile_detail,omitempty" xml:"mobile_detail,omitempty"`
	// 产品的货币单位。美元: USD, 卢布: RUB
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 产品创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 产品的主图列表
	ImageURLs string `json:"image_u_r_ls,omitempty" xml:"image_u_r_ls,omitempty"`
	// 单品产品的价格。
	ProductPrice string `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 网站折扣后价格
	ItemOfferSiteSalePrice string `json:"item_offer_site_sale_price,omitempty" xml:"item_offer_site_sale_price,omitempty"`
	// 平均评价星级,1-5星
	AvgEvaluationRating string `json:"avg_evaluation_rating,omitempty" xml:"avg_evaluation_rating,omitempty"`
	// 产品的单位
	ProductUnit int64 `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
	// 产品所在类目的ID
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 商品多媒体信息,该属性主要包含商品的视频列表
	AeopAEMultimedia *AeopAeMultimedia `json:"aeop_a_e_multimedia,omitempty" xml:"aeop_a_e_multimedia,omitempty"`
	// 商品的备货期
	DeliveryTime int64 `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 产品的有效期
	WsValidNum int64 `json:"ws_valid_num,omitempty" xml:"ws_valid_num,omitempty"`
	// 商品分国家报价的配置
	AeopNationalQuoteConfiguration *AeopNationalQuoteConfiguration `json:"aeop_national_quote_configuration,omitempty" xml:"aeop_national_quote_configuration,omitempty"`
	// 自定义计重的基本产品件数
	BaseUnit int64 `json:"base_unit,omitempty" xml:"base_unit,omitempty"`
	// 产品的长度
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// 产品的高度
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// 产品的宽度
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// 产品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 错误代码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 库存
	TotalAvailableStock int64 `json:"total_available_stock,omitempty" xml:"total_available_stock,omitempty"`
	// 店铺信息
	StoreInfo *AeopStoreInfo `json:"store_info,omitempty" xml:"store_info,omitempty"`
	// 评价数
	EvaluationCount int64 `json:"evaluation_count,omitempty" xml:"evaluation_count,omitempty"`
	// 订单数
	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`
	// 请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 包装类型
	PackageType bool `json:"package_type,omitempty" xml:"package_type,omitempty"`
}

AeopFindProductResultDto 结构体

type AeopFreightCalculateForBuyerDto

type AeopFreightCalculateForBuyerDto struct {
	// 城市编码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 国家编码
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 省份编码
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 发货国家
	SendGoodsCountryCode string `json:"send_goods_country_code,omitempty" xml:"send_goods_country_code,omitempty"`
	// 商品价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品价格币种
	PriceCurrency string `json:"price_currency,omitempty" xml:"price_currency,omitempty"`
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品数量
	ProductNum int64 `json:"product_num,omitempty" xml:"product_num,omitempty"`
}

AeopFreightCalculateForBuyerDto 结构体

type AeopFreightCalculateResultForBuyerDto

type AeopFreightCalculateResultForBuyerDto struct {
	// 预估运达时效
	EstimatedDeliveryTime string `json:"estimated_delivery_time,omitempty" xml:"estimated_delivery_time,omitempty"`
	// serviceName
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 运费
	Freight *Money `json:"freight,omitempty" xml:"freight,omitempty"`
}

AeopFreightCalculateResultForBuyerDto 结构体

type AeopFreightCalculateResultListResponseForBuyer

type AeopFreightCalculateResultListResponseForBuyer struct {
	// aeopFreightCalculateResultForBuyerDTOList
	AeopFreightCalculateResultForBuyerDTOList []AeopFreightCalculateResultForBuyerDto `` /* 178-byte string literal not displayed */
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AeopFreightCalculateResultListResponseForBuyer 结构体

type AeopNationalQuoteConfiguration

type AeopNationalQuoteConfiguration struct {
	// 分国家定价规则类型[percentage:基于基准价格按比例配置]
	ConfigurationType string `json:"configuration_type,omitempty" xml:"configuration_type,omitempty"`
	// jsonArray格式的分国家定价规则数据。 1)基于基准价格按比例配置的数据格式:[{"shiptoCountry":"US","percentage":"5"},{"shiptoCountry":"RU","percentage":"-2"}] 其中shiptoCountry:ISO两位的国家编码(目前支持11个国家:RU,US,CA,ES,FR,UK,NL,IL,BR,CL,AU), percentage:相对于基准价的调价比例(百分比整数,支持负数,当前限制>=-30 && <=100)
	ConfigurationData string `json:"configuration_data,omitempty" xml:"configuration_data,omitempty"`
}

AeopNationalQuoteConfiguration 结构体

type AeopOrderInfo

type AeopOrderInfo struct {
	// 子订单列表
	ChildOrderList []AeopChildOrderInfo `json:"child_order_list,omitempty" xml:"child_order_list>aeop_child_order_info,omitempty"`
	// 订单物流信息列表
	LogisticsInfoList []AeopOrderLogisticsInfo `json:"logistics_info_list,omitempty" xml:"logistics_info_list>aeop_order_logistics_info,omitempty"`
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 物流状态
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 订单金额
	OrderAmount *SimpleMoney `json:"order_amount,omitempty" xml:"order_amount,omitempty"`
	// 店铺信息
	StoreInfo *AeopStoreInfo `json:"store_info,omitempty" xml:"store_info,omitempty"`
}

AeopOrderInfo 结构体

type AeopOrderLogisticsInfo

type AeopOrderLogisticsInfo struct {
	// 物流追踪号
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// 物流服务
	LogisticsService string `json:"logistics_service,omitempty" xml:"logistics_service,omitempty"`
}

AeopOrderLogisticsInfo 结构体

type AeopSingleOrderQuery

type AeopSingleOrderQuery struct {
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

AeopSingleOrderQuery 结构体

type AeopSkuProperty

type AeopSkuProperty struct {
	// SKU图片地址
	SkuImage string `json:"sku_image,omitempty" xml:"sku_image,omitempty"`
	// 属性值自定义名称
	PropertyValueDefinitionName string `json:"property_value_definition_name,omitempty" xml:"property_value_definition_name,omitempty"`
	// 属性值
	SkuPropertyValue string `json:"sku_property_value,omitempty" xml:"sku_property_value,omitempty"`
	// 属性名
	SkuPropertyName string `json:"sku_property_name,omitempty" xml:"sku_property_name,omitempty"`
	// SKU属性ID
	SkuPropertyId int64 `json:"sku_property_id,omitempty" xml:"sku_property_id,omitempty"`
	// SKU属性值ID
	PropertyValueId int64 `json:"property_value_id,omitempty" xml:"property_value_id,omitempty"`
	// 自定义id
	PropertyValueIdLong int64 `json:"property_value_id_long,omitempty" xml:"property_value_id_long,omitempty"`
}

AeopSkuProperty 结构体

type AeopStoreInfo

type AeopStoreInfo struct {
	// 卖家服务,1-5星
	CommunicationRating string `json:"communication_rating,omitempty" xml:"communication_rating,omitempty"`
	// 商品描述,1-5星
	ItemAsDescripedRating string `json:"item_as_descriped_rating,omitempty" xml:"item_as_descriped_rating,omitempty"`
	// 物流,1-5星
	ShippingSpeedRating string `json:"shipping_speed_rating,omitempty" xml:"shipping_speed_rating,omitempty"`
	// 店铺名
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 店铺地址
	StoreUrl string `json:"store_url,omitempty" xml:"store_url,omitempty"`
	// 店铺ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

AeopStoreInfo 结构体

type AliexpressDsAddInfoAPIRequest added in v1.2.5

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

AliexpressDsAddInfoAPIRequest 上报DS信息 API请求 aliexpress.ds.add.info

ISV用户上报下游DS信息

func NewAliexpressDsAddInfoRequest added in v1.2.5

func NewAliexpressDsAddInfoRequest() *AliexpressDsAddInfoAPIRequest

NewAliexpressDsAddInfoRequest 初始化AliexpressDsAddInfoAPIRequest对象

func (AliexpressDsAddInfoAPIRequest) GetApiMethodName added in v1.2.5

func (r AliexpressDsAddInfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsAddInfoAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsAddInfoAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (AliexpressDsAddInfoAPIRequest) GetRawParams added in v1.2.8

func (r AliexpressDsAddInfoAPIRequest) GetRawParams() model.Params

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

func (*AliexpressDsAddInfoAPIRequest) SetParam0 added in v1.2.5

func (r *AliexpressDsAddInfoAPIRequest) SetParam0(_param0 *DropShipperReq) error

SetParam0 is Param0 Setter Request object

type AliexpressDsAddInfoAPIResponse added in v1.2.5

type AliexpressDsAddInfoAPIResponse struct {
	model.CommonResponse
	AliexpressDsAddInfoAPIResponseModel
}

AliexpressDsAddInfoAPIResponse 上报DS信息 API返回值 aliexpress.ds.add.info

ISV用户上报下游DS信息

type AliexpressDsAddInfoAPIResponseModel added in v1.2.5

type AliexpressDsAddInfoAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_add_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Error message
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// Error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// Result object
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressDsAddInfoAPIResponseModel is 上报DS信息 成功返回结果

type AliexpressDsCommissionorderListbyindexAPIRequest added in v1.2.5

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

AliexpressDsCommissionorderListbyindexAPIRequest 联盟订单分页查询 API请求 aliexpress.ds.commissionorder.listbyindex

联盟订单分页查询

func NewAliexpressDsCommissionorderListbyindexRequest added in v1.2.5

func NewAliexpressDsCommissionorderListbyindexRequest() *AliexpressDsCommissionorderListbyindexAPIRequest

NewAliexpressDsCommissionorderListbyindexRequest 初始化AliexpressDsCommissionorderListbyindexAPIRequest对象

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetEndTime added in v1.2.5

GetEndTime EndTime Getter

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetStartQueryIndexId added in v1.2.5

GetStartQueryIndexId StartQueryIndexId Getter

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetStartTime added in v1.2.5

GetStartTime StartTime Getter

func (AliexpressDsCommissionorderListbyindexAPIRequest) GetStatus added in v1.2.5

GetStatus Status Getter

func (*AliexpressDsCommissionorderListbyindexAPIRequest) SetEndTime added in v1.2.5

SetEndTime is EndTime Setter End time, PST time

func (*AliexpressDsCommissionorderListbyindexAPIRequest) SetPageNo added in v1.2.5

SetPageNo is PageNo Setter page number

func (*AliexpressDsCommissionorderListbyindexAPIRequest) SetPageSize added in v1.2.5

SetPageSize is PageSize Setter record count of each page, 1 - 50

func (*AliexpressDsCommissionorderListbyindexAPIRequest) SetStartQueryIndexId added in v1.2.5

func (r *AliexpressDsCommissionorderListbyindexAPIRequest) SetStartQueryIndexId(_startQueryIndexId string) error

SetStartQueryIndexId is StartQueryIndexId Setter Query index start value: if not passed, You can only check the first page

func (*AliexpressDsCommissionorderListbyindexAPIRequest) SetStartTime added in v1.2.5

SetStartTime is StartTime Setter Start time, PST time

func (*AliexpressDsCommissionorderListbyindexAPIRequest) SetStatus added in v1.2.5

SetStatus is Status Setter Order status: Payment Completed(Buyer paid successfully), Buyer Confirmed Receipt(This status only change when :Buyer confirms receipt and settlement task begins which is manually executed by our operation team)

type AliexpressDsCommissionorderListbyindexAPIResponse added in v1.2.5

type AliexpressDsCommissionorderListbyindexAPIResponse struct {
	model.CommonResponse
	AliexpressDsCommissionorderListbyindexAPIResponseModel
}

AliexpressDsCommissionorderListbyindexAPIResponse 联盟订单分页查询 API返回值 aliexpress.ds.commissionorder.listbyindex

联盟订单分页查询

type AliexpressDsCommissionorderListbyindexAPIResponseModel added in v1.2.5

type AliexpressDsCommissionorderListbyindexAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_commissionorder_listbyindex_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// System Error
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// result object
	Result *TrafficOrderResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressDsCommissionorderListbyindexAPIResponseModel is 联盟订单分页查询 成功返回结果

type AliexpressDsImageSearchAPIRequest added in v1.2.5

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

AliexpressDsImageSearchAPIRequest 图片搜索 API请求 aliexpress.ds.image.search

图片搜索

func NewAliexpressDsImageSearchRequest added in v1.2.5

func NewAliexpressDsImageSearchRequest() *AliexpressDsImageSearchAPIRequest

NewAliexpressDsImageSearchRequest 初始化AliexpressDsImageSearchAPIRequest对象

func (AliexpressDsImageSearchAPIRequest) GetApiMethodName added in v1.2.5

func (r AliexpressDsImageSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsImageSearchAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsImageSearchAPIRequest) GetImageFileBytes added in v1.2.5

func (r AliexpressDsImageSearchAPIRequest) GetImageFileBytes() *model.File

GetImageFileBytes ImageFileBytes Getter

func (AliexpressDsImageSearchAPIRequest) GetProductCnt added in v1.2.5

func (r AliexpressDsImageSearchAPIRequest) GetProductCnt() int64

GetProductCnt ProductCnt Getter

func (AliexpressDsImageSearchAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressDsImageSearchAPIRequest) GetShptTo added in v1.2.5

GetShptTo ShptTo Getter

func (AliexpressDsImageSearchAPIRequest) GetSort added in v1.2.5

GetSort Sort Getter

func (AliexpressDsImageSearchAPIRequest) GetTargetCurrency added in v1.2.5

func (r AliexpressDsImageSearchAPIRequest) GetTargetCurrency() string

GetTargetCurrency TargetCurrency Getter

func (AliexpressDsImageSearchAPIRequest) GetTargetLanguage added in v1.2.5

func (r AliexpressDsImageSearchAPIRequest) GetTargetLanguage() string

GetTargetLanguage TargetLanguage Getter

func (*AliexpressDsImageSearchAPIRequest) SetImageFileBytes added in v1.2.5

func (r *AliexpressDsImageSearchAPIRequest) SetImageFileBytes(_imageFileBytes *model.File) error

SetImageFileBytes is ImageFileBytes Setter image name in fileserver,max size 100 KB

func (*AliexpressDsImageSearchAPIRequest) SetProductCnt added in v1.2.5

func (r *AliexpressDsImageSearchAPIRequest) SetProductCnt(_productCnt int64) error

SetProductCnt is ProductCnt Setter count of products, max 150.

func (*AliexpressDsImageSearchAPIRequest) SetShptTo added in v1.2.5

func (r *AliexpressDsImageSearchAPIRequest) SetShptTo(_shptTo string) error

SetShptTo is ShptTo Setter optional Ship to Country

func (*AliexpressDsImageSearchAPIRequest) SetSort added in v1.2.5

SetSort is Sort Setter SALE_PRICE_ASC, SALE_PRICE_DESC, LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressDsImageSearchAPIRequest) SetTargetCurrency added in v1.2.5

func (r *AliexpressDsImageSearchAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter target_currency:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressDsImageSearchAPIRequest) SetTargetLanguage added in v1.2.5

func (r *AliexpressDsImageSearchAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter target_language:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

type AliexpressDsImageSearchAPIResponse added in v1.2.5

type AliexpressDsImageSearchAPIResponse struct {
	model.CommonResponse
	AliexpressDsImageSearchAPIResponseModel
}

AliexpressDsImageSearchAPIResponse 图片搜索 API返回值 aliexpress.ds.image.search

图片搜索

type AliexpressDsImageSearchAPIResponseModel added in v1.2.5

type AliexpressDsImageSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_image_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// System Error
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// result object
	Data *TrafficImageSearchResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// total record count
	TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"`
}

AliexpressDsImageSearchAPIResponseModel is 图片搜索 成功返回结果

type AliexpressDsMemberOrderdataSubmitAPIRequest added in v1.2.5

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

AliexpressDsMemberOrderdataSubmitAPIRequest dropshipper数据回流 API请求 aliexpress.ds.member.orderdata.submit

dropshipper数据回流

func NewAliexpressDsMemberOrderdataSubmitRequest added in v1.2.5

func NewAliexpressDsMemberOrderdataSubmitRequest() *AliexpressDsMemberOrderdataSubmitAPIRequest

NewAliexpressDsMemberOrderdataSubmitRequest 初始化AliexpressDsMemberOrderdataSubmitAPIRequest对象

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetAeOrderid added in v1.2.5

GetAeOrderid AeOrderid Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetAeProductId added in v1.2.5

GetAeProductId AeProductId Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetAeSkuInfo added in v1.2.5

GetAeSkuInfo AeSkuInfo Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetOrderAmount added in v1.2.5

GetOrderAmount OrderAmount Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetPaytime added in v1.2.5

GetPaytime Paytime Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetProductAmount added in v1.2.5

GetProductAmount ProductAmount Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetProductUrl added in v1.2.5

GetProductUrl ProductUrl Getter

func (AliexpressDsMemberOrderdataSubmitAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetAeOrderid added in v1.2.5

func (r *AliexpressDsMemberOrderdataSubmitAPIRequest) SetAeOrderid(_aeOrderid string) error

SetAeOrderid is AeOrderid Setter AE order id

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetAeProductId added in v1.2.5

func (r *AliexpressDsMemberOrderdataSubmitAPIRequest) SetAeProductId(_aeProductId string) error

SetAeProductId is AeProductId Setter AE product ID

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetAeSkuInfo added in v1.2.5

func (r *AliexpressDsMemberOrderdataSubmitAPIRequest) SetAeSkuInfo(_aeSkuInfo string) error

SetAeSkuInfo is AeSkuInfo Setter AE product SKU information, SKU key-value pair: "200000182:193;200007763:201336100"

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetOrderAmount added in v1.2.5

func (r *AliexpressDsMemberOrderdataSubmitAPIRequest) SetOrderAmount(_orderAmount string) error

SetOrderAmount is OrderAmount Setter Order sales amount outside the station, keep 2 decimal places

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetPaytime added in v1.2.5

SetPaytime is Paytime Setter Off-site payment time, GMT time, format YYYYMMDD:HHMMSS

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetProductAmount added in v1.2.5

func (r *AliexpressDsMemberOrderdataSubmitAPIRequest) SetProductAmount(_productAmount string) error

SetProductAmount is ProductAmount Setter SKU sales amount outside the station, to 2 decimal places

func (*AliexpressDsMemberOrderdataSubmitAPIRequest) SetProductUrl added in v1.2.5

func (r *AliexpressDsMemberOrderdataSubmitAPIRequest) SetProductUrl(_productUrl string) error

SetProductUrl is ProductUrl Setter Commodity site url

type AliexpressDsMemberOrderdataSubmitAPIResponse added in v1.2.5

type AliexpressDsMemberOrderdataSubmitAPIResponse struct {
	model.CommonResponse
	AliexpressDsMemberOrderdataSubmitAPIResponseModel
}

AliexpressDsMemberOrderdataSubmitAPIResponse dropshipper数据回流 API返回值 aliexpress.ds.member.orderdata.submit

dropshipper数据回流

type AliexpressDsMemberOrderdataSubmitAPIResponseModel added in v1.2.5

type AliexpressDsMemberOrderdataSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_member_orderdata_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Error message
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// Result object
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressDsMemberOrderdataSubmitAPIResponseModel is dropshipper数据回流 成功返回结果

type AliexpressDsProductGetAPIRequest added in v1.2.5

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

AliexpressDsProductGetAPIRequest 商品信息查询 API请求 aliexpress.ds.product.get

商品信息查询

func NewAliexpressDsProductGetRequest added in v1.2.5

func NewAliexpressDsProductGetRequest() *AliexpressDsProductGetAPIRequest

NewAliexpressDsProductGetRequest 初始化AliexpressDsProductGetAPIRequest对象

func (AliexpressDsProductGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AliexpressDsProductGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsProductGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsProductGetAPIRequest) GetProductId added in v1.2.5

func (r AliexpressDsProductGetAPIRequest) GetProductId() int64

GetProductId ProductId Getter

func (AliexpressDsProductGetAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressDsProductGetAPIRequest) GetShipToCountry added in v1.2.5

func (r AliexpressDsProductGetAPIRequest) GetShipToCountry() string

GetShipToCountry ShipToCountry Getter

func (AliexpressDsProductGetAPIRequest) GetTargetCurrency added in v1.2.5

func (r AliexpressDsProductGetAPIRequest) GetTargetCurrency() string

GetTargetCurrency TargetCurrency Getter

func (AliexpressDsProductGetAPIRequest) GetTargetLanguage added in v1.2.5

func (r AliexpressDsProductGetAPIRequest) GetTargetLanguage() string

GetTargetLanguage TargetLanguage Getter

func (*AliexpressDsProductGetAPIRequest) SetProductId added in v1.2.5

func (r *AliexpressDsProductGetAPIRequest) SetProductId(_productId int64) error

SetProductId is ProductId Setter Item ID

func (*AliexpressDsProductGetAPIRequest) SetShipToCountry added in v1.2.5

func (r *AliexpressDsProductGetAPIRequest) SetShipToCountry(_shipToCountry string) error

SetShipToCountry is ShipToCountry Setter Country

func (*AliexpressDsProductGetAPIRequest) SetTargetCurrency added in v1.2.5

func (r *AliexpressDsProductGetAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter Target currency

func (*AliexpressDsProductGetAPIRequest) SetTargetLanguage added in v1.2.5

func (r *AliexpressDsProductGetAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter Target language

type AliexpressDsProductGetAPIResponse added in v1.2.5

type AliexpressDsProductGetAPIResponse struct {
	model.CommonResponse
	AliexpressDsProductGetAPIResponseModel
}

AliexpressDsProductGetAPIResponse 商品信息查询 API返回值 aliexpress.ds.product.get

商品信息查询

type AliexpressDsProductGetAPIResponseModel added in v1.2.5

type AliexpressDsProductGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_product_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Error message
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// Error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// Product search results
	Result *AeItemQueryResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressDsProductGetAPIResponseModel is 商品信息查询 成功返回结果

type AliexpressDsRecommendFeedGetAPIRequest added in v1.2.5

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

AliexpressDsRecommendFeedGetAPIRequest 获取推荐商品信息流接口 API请求 aliexpress.ds.recommend.feed.get

获取推荐商品信息流

func NewAliexpressDsRecommendFeedGetRequest added in v1.2.5

func NewAliexpressDsRecommendFeedGetRequest() *AliexpressDsRecommendFeedGetAPIRequest

NewAliexpressDsRecommendFeedGetRequest 初始化AliexpressDsRecommendFeedGetAPIRequest对象

func (AliexpressDsRecommendFeedGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AliexpressDsRecommendFeedGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsRecommendFeedGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsRecommendFeedGetAPIRequest) GetCategoryId added in v1.2.5

GetCategoryId CategoryId Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetCountry added in v1.2.5

GetCountry Country Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetFeedName added in v1.2.5

GetFeedName FeedName Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressDsRecommendFeedGetAPIRequest) GetSort added in v1.2.5

GetSort Sort Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetTargetCurrency added in v1.2.5

func (r AliexpressDsRecommendFeedGetAPIRequest) GetTargetCurrency() string

GetTargetCurrency TargetCurrency Getter

func (AliexpressDsRecommendFeedGetAPIRequest) GetTargetLanguage added in v1.2.5

func (r AliexpressDsRecommendFeedGetAPIRequest) GetTargetLanguage() string

GetTargetLanguage TargetLanguage Getter

func (*AliexpressDsRecommendFeedGetAPIRequest) SetCategoryId added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetCategoryId(_categoryId string) error

SetCategoryId is CategoryId Setter Category ID, you can get category ID via "get category" API https://developers.aliexpress.com/en/doc.htm?docId=45801&docType=2

func (*AliexpressDsRecommendFeedGetAPIRequest) SetCountry added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetCountry(_country string) error

SetCountry is Country Setter screens the subject product library for the target country

func (*AliexpressDsRecommendFeedGetAPIRequest) SetFeedName added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetFeedName(_feedName string) error

SetFeedName is FeedName Setter feed name, eg. "DS bestseller"

func (*AliexpressDsRecommendFeedGetAPIRequest) SetPageNo added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter Page number

func (*AliexpressDsRecommendFeedGetAPIRequest) SetPageSize added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter record count of each page, 1 - 50

func (*AliexpressDsRecommendFeedGetAPIRequest) SetSort added in v1.2.5

SetSort is Sort Setter sort by:priceAsc,priceDesc,volumeAsc、volumeDesc, discountAsc, discountDesc, DSRratingAsc,DSRratingDesc,

func (*AliexpressDsRecommendFeedGetAPIRequest) SetTargetCurrency added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter target currency:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressDsRecommendFeedGetAPIRequest) SetTargetLanguage added in v1.2.5

func (r *AliexpressDsRecommendFeedGetAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter target language:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IN

type AliexpressDsRecommendFeedGetAPIResponse added in v1.2.5

type AliexpressDsRecommendFeedGetAPIResponse struct {
	model.CommonResponse
	AliexpressDsRecommendFeedGetAPIResponseModel
}

AliexpressDsRecommendFeedGetAPIResponse 获取推荐商品信息流接口 API返回值 aliexpress.ds.recommend.feed.get

获取推荐商品信息流

type AliexpressDsRecommendFeedGetAPIResponseModel added in v1.2.5

type AliexpressDsRecommendFeedGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_recommend_feed_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// System Error
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// result object
	Result *TrafficProductResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressDsRecommendFeedGetAPIResponseModel is 获取推荐商品信息流接口 成功返回结果

type AliexpressDsTradeOrderGetAPIRequest added in v1.2.5

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

AliexpressDsTradeOrderGetAPIRequest 交易订单查询 API请求 aliexpress.ds.trade.order.get

交易订单查询

func NewAliexpressDsTradeOrderGetRequest added in v1.2.5

func NewAliexpressDsTradeOrderGetRequest() *AliexpressDsTradeOrderGetAPIRequest

NewAliexpressDsTradeOrderGetRequest 初始化AliexpressDsTradeOrderGetAPIRequest对象

func (AliexpressDsTradeOrderGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AliexpressDsTradeOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressDsTradeOrderGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressDsTradeOrderGetAPIRequest) GetOrderId added in v1.2.5

GetOrderId OrderId Getter

func (AliexpressDsTradeOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressDsTradeOrderGetAPIRequest) SetOrderId added in v1.2.5

func (r *AliexpressDsTradeOrderGetAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter AE order id

type AliexpressDsTradeOrderGetAPIResponse added in v1.2.5

type AliexpressDsTradeOrderGetAPIResponse struct {
	model.CommonResponse
	AliexpressDsTradeOrderGetAPIResponseModel
}

AliexpressDsTradeOrderGetAPIResponse 交易订单查询 API返回值 aliexpress.ds.trade.order.get

交易订单查询

type AliexpressDsTradeOrderGetAPIResponseModel added in v1.2.5

type AliexpressDsTradeOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_ds_trade_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Error message
	RspMsg string `json:"rsp_msg,omitempty" xml:"rsp_msg,omitempty"`
	// Error code
	RspCode string `json:"rsp_code,omitempty" xml:"rsp_code,omitempty"`
	// Result object
	Result *AeOrderInfoResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressDsTradeOrderGetAPIResponseModel is 交易订单查询 成功返回结果

type AliexpressLogisticsBuyerFreightCalculateAPIRequest added in v1.2.0

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

AliexpressLogisticsBuyerFreightCalculateAPIRequest 提供给买家使用的运费计算接口 API请求 aliexpress.logistics.buyer.freight.calculate

提供给买家使用的运费计算接口

func NewAliexpressLogisticsBuyerFreightCalculateRequest

func NewAliexpressLogisticsBuyerFreightCalculateRequest() *AliexpressLogisticsBuyerFreightCalculateAPIRequest

NewAliexpressLogisticsBuyerFreightCalculateRequest 初始化AliexpressLogisticsBuyerFreightCalculateAPIRequest对象

func (AliexpressLogisticsBuyerFreightCalculateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLogisticsBuyerFreightCalculateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLogisticsBuyerFreightCalculateAPIRequest) GetParamAeopFreightCalculateForBuyerDTO added in v1.2.0

func (r AliexpressLogisticsBuyerFreightCalculateAPIRequest) GetParamAeopFreightCalculateForBuyerDTO() *AeopFreightCalculateForBuyerDto

GetParamAeopFreightCalculateForBuyerDTO ParamAeopFreightCalculateForBuyerDTO Getter

func (AliexpressLogisticsBuyerFreightCalculateAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLogisticsBuyerFreightCalculateAPIRequest) SetParamAeopFreightCalculateForBuyerDTO added in v1.2.0

func (r *AliexpressLogisticsBuyerFreightCalculateAPIRequest) SetParamAeopFreightCalculateForBuyerDTO(_paramAeopFreightCalculateForBuyerDTO *AeopFreightCalculateForBuyerDto) error

SetParamAeopFreightCalculateForBuyerDTO is ParamAeopFreightCalculateForBuyerDTO Setter 运费计算请求参数

type AliexpressLogisticsBuyerFreightCalculateAPIResponse

type AliexpressLogisticsBuyerFreightCalculateAPIResponse struct {
	model.CommonResponse
	AliexpressLogisticsBuyerFreightCalculateAPIResponseModel
}

AliexpressLogisticsBuyerFreightCalculateAPIResponse 提供给买家使用的运费计算接口 API返回值 aliexpress.logistics.buyer.freight.calculate

提供给买家使用的运费计算接口

type AliexpressLogisticsBuyerFreightCalculateAPIResponseModel added in v1.2.0

type AliexpressLogisticsBuyerFreightCalculateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_logistics_buyer_freight_calculate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AeopFreightCalculateResultListResponseForBuyer `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressLogisticsBuyerFreightCalculateAPIResponseModel is 提供给买家使用的运费计算接口 成功返回结果

type AliexpressLogisticsDsTrackinginfoQueryAPIRequest added in v1.2.0

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

AliexpressLogisticsDsTrackinginfoQueryAPIRequest 查询物流追踪信息 API请求 aliexpress.logistics.ds.trackinginfo.query

Dropshipper查询物流追踪信息

func NewAliexpressLogisticsDsTrackinginfoQueryRequest

func NewAliexpressLogisticsDsTrackinginfoQueryRequest() *AliexpressLogisticsDsTrackinginfoQueryAPIRequest

NewAliexpressLogisticsDsTrackinginfoQueryRequest 初始化AliexpressLogisticsDsTrackinginfoQueryAPIRequest对象

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetLogisticsNo added in v1.2.0

GetLogisticsNo LogisticsNo Getter

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetOrigin added in v1.2.0

GetOrigin Origin Getter

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetOutRef added in v1.2.0

GetOutRef OutRef Getter

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetServiceName added in v1.2.0

GetServiceName ServiceName Getter

func (AliexpressLogisticsDsTrackinginfoQueryAPIRequest) GetToArea added in v1.2.0

GetToArea ToArea Getter

func (*AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetLogisticsNo added in v1.2.0

func (r *AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetLogisticsNo(_logisticsNo string) error

SetLogisticsNo is LogisticsNo Setter Logistics tracking number

func (*AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetOrigin added in v1.2.0

SetOrigin is Origin Setter Order origin to be queried. The origin of the AE order is “ESCROW”.

func (*AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetOutRef added in v1.2.0

SetOutRef is OutRef Setter Order ID to be queried by the user

func (*AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetServiceName added in v1.2.0

func (r *AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetServiceName(_serviceName string) error

SetServiceName is ServiceName Setter Logistics service KEY

func (*AliexpressLogisticsDsTrackinginfoQueryAPIRequest) SetToArea added in v1.2.0

SetToArea is ToArea Setter Country for receiving goods in the trade order (FJ,Fiji;FI,Finland;FR,France;FX,FranceMetropolitan;GF,FrenchGuiana;PF,FrenchPolynesia;TF,FrenchSouthernTerritories;GA,Gabon;GM,Gambia;GE,Georgia;DE,Germany;GH,Ghana;GI,Gibraltar;GR,Greece;GL,Greenland;GD,Grenada;GP,Guadeloupe;GU,Guam;GT,Guatemala;GN,Guinea;GW,Guinea-Bissau;GY,Guyana;HT,Haiti;HM,HeardandMcDonaldIslands;HN,Honduras;HK,HongKong;HU,Hungary;IS,Iceland;IN,India;ID,Indonesia;IR,Iran(IslamicRepublicof);IQ,Iraq;IE,Ireland;IL,Israel;IT,Italy;JM,Jamaica;JP,Japan;JO,Jordan;KZ,Kazakhstan;KE,Kenya;KI,Kiribati;KW,Kuwait;KG,Kyrgyzstan;LA,LaoPeople'sDemocraticRepublic;LV,Latvia;LB,Lebanon;LS,Lesotho;LR,Liberia;LY,LibyanArabJamahiriya;AF,Afghanistan;AL,Albania;DZ,Algeria;AS,AmericanSamoa;AD,Andorra;AO,Angola;AI,Anguilla;AQ,Antarctica;AG,AntiguaandBarbuda;AR,Argentina;AM,Armenia;AW,Aruba;AU,Australia;AT,Austria;AZ,Azerbaijan;BS,Bahamas;BH,Bahrain;BD,Bangladesh;BB,Barbados;BY,Belarus;BE,Belgium;BZ,Belize;BJ,Benin;BM,Bermuda;BT,Bhutan;BO,Bolivia;BA,BosniaandHerzegovina;BW,Botswana;BV,BouvetIsland;BR,Brazil;IO,BritishIndianOceanTerritory;BN,BruneiDarussalam;BG,Bulgaria;BF,BurkinaFaso;BI,Burundi;KH,Cambodia;CM,Cameroon;CA,Canada;CV,CapeVerde;KY,CaymanIslands;CF,CentralAfricanRepublic;TD,Chad;CL,Chile;CN,China(Mainland);CX,ChristmasIsland;CC,Cocos(Keeling)Islands;CO,Colombia;KM,Comoros;CG,Congo,TheRepublicofCongo;ZR,Congo,TheDemocraticRepublicOfThe;CK,CookIslands;CR,CostaRica;CI,CoteD'Ivoire;HR,Croatia(localname:Hrvatska);CU,Cuba;CY,Cyprus;CZ,CzechRepublic;DK,Denmark;DJ,Djibouti;DM,Dominica;DO,DominicanRepublic;TP,EastTimor;EC,Ecuador;EG,Egypt;SV,ElSalvador;GQ,EquatorialGuinea;ER,Eritrea;EE,Estonia;ET,Ethiopia;FK,FalklandIslands(Malvinas);FO,FaroeIslands;LI,Liechtenstein;LT,Lithuania;LU,Luxembourg;MO,Macau;MK,Macedonia;MG,Madagascar;MW,Malawi;MY,Malaysia;MV,Maldives;ML,Mali;MT,Malta;MH,MarshallIslands;MQ,Martinique;MR,Mauritania;MU,Mauritius;YT,Mayotte;MX,Mexico;FM,Micronesia;MD,Moldova;MC,Monaco;MN,Mongolia;MS,Montserrat;MA,Morocco;MZ,Mozambique;MM,Myanmar;NA,Namibia;NR,Nauru;NP,Nepal;NL,Netherlands;AN,NetherlandsAntilles;NC,NewCaledonia;NZ,NewZealand;NI,Nicaragua;NE,Niger;NG,Nigeria;NU,Niue;NF,NorfolkIsland;KP,NorthKorea;MP,NorthernMarianaIslands;NO,Norway;OM,Oman;Other,OtherCountry;PK,Pakistan;PW,Palau;PS,Palestine;PA,Panama;PG,PapuaNewGuinea;PY,Paraguay;PE,Peru;PH,Philippines;PN,Pitcairn;PL,Poland;PT,Portugal;PR,PuertoRico;QA,Qatar;RE,Reunion;RO,Romania;RU,RussianFederation;RW,Rwanda;KN,SaintKittsandNevis;LC,SaintLucia;VC,SaintVincentandtheGrenadines;WS,Samoa;SM,SanMarino;ST,SaoTomeandPrincipe;SA,SaudiArabia;SN,Senegal;SC,Seychelles;SL,SierraLeone;SG,Singapore;SK,Slovakia(SlovakRepublic);SI,Slovenia;SB,SolomonIslands;SO,Somalia;ZA,SouthAfrica;KR,SouthKorea;ES,Spain;LK,SriLanka;SH,St.Helena;PM,St.PierreandMiquelon;SD,Sudan;SR,Suriname;SJ,SvalbardandJanMayenIslands;SZ,Swaziland;SE,Sweden;CH,Switzerland;SY,SyrianArabRepublic;TW,T aiwan;TJ,Tajikistan;TZ,Tanzania;TH,Thailand;TG,Togo;TK,Tokelau;TO,Tonga;TT,TrinidadandTobago;TN,Tunisia;TR,Turkey;TM,Turkmenistan;TC,TurksandCaicosIslands;TV,Tuvalu;UG,Uganda;UA,Ukraine;AE,UnitedArabEmirates;IM,IsleofMan;UK,UnitedKingdom;US,UnitedStates;UM,UnitedStatesMinorOutlyingIslands;UY,Uruguay;UZ,Uzbekistan;VU,Vanuatu;VA,VaticanCityState(HolySee);VE,Venezuela;VN,Vietnam;VG,VirginIslands(British);VI,VirginIslands(U.S.);WF,WallisAndFutunaIslands;EH,WesternSahara;YE,Yemen;YU,Yugoslavia;ZM,Zambia;ZW,Zimbabwe;SRB,Serbia;MNE,Montenegro;KS,Kosovo;EAZ,Zanzibar;BLM,SaintBarthelemy;MAF,SaintMartin;GGY,Guernsey;JEY,Jersey;SGS,SouthGeorgiaandtheSouthSandwichIslands;TLS,Timor-Leste;ALA,AlandIslands;GBA,Alderney;ASC,AscensionIsland;)

type AliexpressLogisticsDsTrackinginfoQueryAPIResponse

type AliexpressLogisticsDsTrackinginfoQueryAPIResponse struct {
	model.CommonResponse
	AliexpressLogisticsDsTrackinginfoQueryAPIResponseModel
}

AliexpressLogisticsDsTrackinginfoQueryAPIResponse 查询物流追踪信息 API返回值 aliexpress.logistics.ds.trackinginfo.query

Dropshipper查询物流追踪信息

type AliexpressLogisticsDsTrackinginfoQueryAPIResponseModel added in v1.2.0

type AliexpressLogisticsDsTrackinginfoQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_logistics_ds_trackinginfo_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 追踪详细信息列表
	Details []Details `json:"details,omitempty" xml:"details>details,omitempty"`
	// 追踪网址
	OfficialWebsite string `json:"official_website,omitempty" xml:"official_website,omitempty"`
	// error description
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AliexpressLogisticsDsTrackinginfoQueryAPIResponseModel is 查询物流追踪信息 成功返回结果

type AliexpressOfferDsProductSimplequeryAPIRequest added in v1.2.0

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

AliexpressOfferDsProductSimplequeryAPIRequest Dropshipper查询单个商品的简易信息 API请求 aliexpress.offer.ds.product.simplequery

提供给Dropshipper的通过商品ID查找商品简易信息(包括SKU-价格/库存、产品状态等)的接口,只有特定买家可以使用

func NewAliexpressOfferDsProductSimplequeryRequest

func NewAliexpressOfferDsProductSimplequeryRequest() *AliexpressOfferDsProductSimplequeryAPIRequest

NewAliexpressOfferDsProductSimplequeryRequest 初始化AliexpressOfferDsProductSimplequeryAPIRequest对象

func (AliexpressOfferDsProductSimplequeryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressOfferDsProductSimplequeryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressOfferDsProductSimplequeryAPIRequest) GetLocalCountry added in v1.2.0

GetLocalCountry LocalCountry Getter

func (AliexpressOfferDsProductSimplequeryAPIRequest) GetLocalLanguage added in v1.2.0

GetLocalLanguage LocalLanguage Getter

func (AliexpressOfferDsProductSimplequeryAPIRequest) GetProductId added in v1.2.0

GetProductId ProductId Getter

func (AliexpressOfferDsProductSimplequeryAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressOfferDsProductSimplequeryAPIRequest) SetLocalCountry added in v1.2.0

func (r *AliexpressOfferDsProductSimplequeryAPIRequest) SetLocalCountry(_localCountry string) error

SetLocalCountry is LocalCountry Setter 国家

func (*AliexpressOfferDsProductSimplequeryAPIRequest) SetLocalLanguage added in v1.2.0

func (r *AliexpressOfferDsProductSimplequeryAPIRequest) SetLocalLanguage(_localLanguage string) error

SetLocalLanguage is LocalLanguage Setter 语言

func (*AliexpressOfferDsProductSimplequeryAPIRequest) SetProductId added in v1.2.0

func (r *AliexpressOfferDsProductSimplequeryAPIRequest) SetProductId(_productId int64) error

SetProductId is ProductId Setter 商品ID

type AliexpressOfferDsProductSimplequeryAPIResponse

type AliexpressOfferDsProductSimplequeryAPIResponse struct {
	model.CommonResponse
	AliexpressOfferDsProductSimplequeryAPIResponseModel
}

AliexpressOfferDsProductSimplequeryAPIResponse Dropshipper查询单个商品的简易信息 API返回值 aliexpress.offer.ds.product.simplequery

提供给Dropshipper的通过商品ID查找商品简易信息(包括SKU-价格/库存、产品状态等)的接口,只有特定买家可以使用

type AliexpressOfferDsProductSimplequeryAPIResponseModel added in v1.2.0

type AliexpressOfferDsProductSimplequeryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_offer_ds_product_simplequery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品的SKU信息
	AeopAeProductSKUs []AeopAeProductSku `json:"aeop_ae_product_s_k_us,omitempty" xml:"aeop_ae_product_s_k_us>aeop_ae_product_sku,omitempty"`
	// 网站折扣后价格
	ItemOfferSiteSalePrice string `json:"item_offer_site_sale_price,omitempty" xml:"item_offer_site_sale_price,omitempty"`
	// 产品的状态
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
	// 库存
	TotalAvailableStock int64 `json:"total_available_stock,omitempty" xml:"total_available_stock,omitempty"`
}

AliexpressOfferDsProductSimplequeryAPIResponseModel is Dropshipper查询单个商品的简易信息 成功返回结果

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest added in v1.2.0

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

AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest Dropshipper查找商品信息接口 API请求 aliexpress.postproduct.redefining.findaeproductbyidfordropshipper

提供给Dropshipper的通过商品ID查找商品信息的接口,只有特定买家可以使用

func NewAliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest

func NewAliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest() *AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest

NewAliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest 初始化AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest对象

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) GetLocalCountry added in v1.2.0

GetLocalCountry LocalCountry Getter

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) GetLocalLanguage added in v1.2.0

GetLocalLanguage LocalLanguage Getter

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) GetProductId added in v1.2.0

GetProductId ProductId Getter

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) SetLocalCountry added in v1.2.0

SetLocalCountry is LocalCountry Setter 国家

func (*AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) SetLocalLanguage added in v1.2.0

SetLocalLanguage is LocalLanguage Setter 语言

func (*AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIRequest) SetProductId added in v1.2.0

SetProductId is ProductId Setter 商品ID

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponse

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponse struct {
	model.CommonResponse
	AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponseModel
}

AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponse Dropshipper查找商品信息接口 API返回值 aliexpress.postproduct.redefining.findaeproductbyidfordropshipper

提供给Dropshipper的通过商品ID查找商品信息的接口,只有特定买家可以使用

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponseModel added in v1.2.0

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_postproduct_redefining_findaeproductbyidfordropshipper_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AeopFindProductResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponseModel is Dropshipper查找商品信息接口 成功返回结果

type AliexpressTradeBuyPlaceorderAPIRequest added in v1.2.0

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

AliexpressTradeBuyPlaceorderAPIRequest AE下单API API请求 aliexpress.trade.buy.placeorder

150欧欧盟税改

func NewAliexpressTradeBuyPlaceorderRequest

func NewAliexpressTradeBuyPlaceorderRequest() *AliexpressTradeBuyPlaceorderAPIRequest

NewAliexpressTradeBuyPlaceorderRequest 初始化AliexpressTradeBuyPlaceorderAPIRequest对象

func (AliexpressTradeBuyPlaceorderAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressTradeBuyPlaceorderAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressTradeBuyPlaceorderAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressTradeBuyPlaceorderAPIRequest) GetParamPlaceOrderRequest4OpenApiDTO added in v1.2.0

func (r AliexpressTradeBuyPlaceorderAPIRequest) GetParamPlaceOrderRequest4OpenApiDTO() *PlaceOrderRequest4OpenApiDto

GetParamPlaceOrderRequest4OpenApiDTO ParamPlaceOrderRequest4OpenApiDTO Getter

func (AliexpressTradeBuyPlaceorderAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressTradeBuyPlaceorderAPIRequest) SetParamPlaceOrderRequest4OpenApiDTO added in v1.2.0

func (r *AliexpressTradeBuyPlaceorderAPIRequest) SetParamPlaceOrderRequest4OpenApiDTO(_paramPlaceOrderRequest4OpenApiDTO *PlaceOrderRequest4OpenApiDto) error

SetParamPlaceOrderRequest4OpenApiDTO is ParamPlaceOrderRequest4OpenApiDTO Setter 下单具体参数

type AliexpressTradeBuyPlaceorderAPIResponse

type AliexpressTradeBuyPlaceorderAPIResponse struct {
	model.CommonResponse
	AliexpressTradeBuyPlaceorderAPIResponseModel
}

AliexpressTradeBuyPlaceorderAPIResponse AE下单API API返回值 aliexpress.trade.buy.placeorder

150欧欧盟税改

type AliexpressTradeBuyPlaceorderAPIResponseModel added in v1.2.0

type AliexpressTradeBuyPlaceorderAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_trade_buy_placeorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *PlaceOrderRes4OpenApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressTradeBuyPlaceorderAPIResponseModel is AE下单API 成功返回结果

type AliexpressTradeDsOrderGetAPIRequest added in v1.2.0

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

AliexpressTradeDsOrderGetAPIRequest 买家查询订单详情 API请求 aliexpress.trade.ds.order.get

买家查询订单详情,用于dropshipper

func NewAliexpressTradeDsOrderGetRequest

func NewAliexpressTradeDsOrderGetRequest() *AliexpressTradeDsOrderGetAPIRequest

NewAliexpressTradeDsOrderGetRequest 初始化AliexpressTradeDsOrderGetAPIRequest对象

func (AliexpressTradeDsOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressTradeDsOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressTradeDsOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressTradeDsOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressTradeDsOrderGetAPIRequest) GetSingleOrderQuery added in v1.2.0

GetSingleOrderQuery SingleOrderQuery Getter

func (*AliexpressTradeDsOrderGetAPIRequest) SetSingleOrderQuery added in v1.2.0

func (r *AliexpressTradeDsOrderGetAPIRequest) SetSingleOrderQuery(_singleOrderQuery *AeopSingleOrderQuery) error

SetSingleOrderQuery is SingleOrderQuery Setter 订单查询条件

type AliexpressTradeDsOrderGetAPIResponse

type AliexpressTradeDsOrderGetAPIResponse struct {
	model.CommonResponse
	AliexpressTradeDsOrderGetAPIResponseModel
}

AliexpressTradeDsOrderGetAPIResponse 买家查询订单详情 API返回值 aliexpress.trade.ds.order.get

买家查询订单详情,用于dropshipper

type AliexpressTradeDsOrderGetAPIResponseModel added in v1.2.0

type AliexpressTradeDsOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_trade_ds_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单信息
	Result *AeopOrderInfo `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressTradeDsOrderGetAPIResponseModel is 买家查询订单详情 成功返回结果

type BigDecimal

type BigDecimal struct {
}

BigDecimal 结构体

type Details

type Details struct {
	// eventDesc
	EventDesc string `json:"event_desc,omitempty" xml:"event_desc,omitempty"`
	// signedName
	SignedName string `json:"signed_name,omitempty" xml:"signed_name,omitempty"`
	// status
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// address
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// eventDate
	EventDate string `json:"event_date,omitempty" xml:"event_date,omitempty"`
}

Details 结构体

type DropShipperReq added in v1.2.5

type DropShipperReq struct {
	// Store address
	StoreUrl string `json:"store_url,omitempty" xml:"store_url,omitempty"`
}

DropShipperReq 结构体

type Integer added in v1.2.5

type Integer struct {
	// product small image urls
	ProductSmallImageUrls []string `json:"product_small_image_urls,omitempty" xml:"product_small_image_urls>string,omitempty"`
	// target sale price
	TargetSalePrice string `json:"target_sale_price,omitempty" xml:"target_sale_price,omitempty"`
	// evaluate rate
	EvaluateRate string `json:"evaluate_rate,omitempty" xml:"evaluate_rate,omitempty"`
	// target original price
	TargetOriginalPrice string `json:"target_original_price,omitempty" xml:"target_original_price,omitempty"`
	// second level category name
	SecondLevelCategoryName string `json:"second_level_category_name,omitempty" xml:"second_level_category_name,omitempty"`
	// product video url
	ProductVideoUrl string `json:"product_video_url,omitempty" xml:"product_video_url,omitempty"`
	// sale price
	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
	// sale price in target currency
	TargetSalePriceCurrency string `json:"target_sale_price_currency,omitempty" xml:"target_sale_price_currency,omitempty"`
	// shop url
	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
	// product detail url
	ProductDetailUrl string `json:"product_detail_url,omitempty" xml:"product_detail_url,omitempty"`
	// product title
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// first level category name
	FirstLevelCategoryName string `json:"first_level_category_name,omitempty" xml:"first_level_category_name,omitempty"`
	// product main image url
	ProductMainImageUrl string `json:"product_main_image_url,omitempty" xml:"product_main_image_url,omitempty"`
	// platform product type:ALL,PLAZA,TMALL
	PlatformProductType string `json:"platform_product_type,omitempty" xml:"platform_product_type,omitempty"`
	// target original price currency
	TargetOriginalPriceCurrency string `json:"target_original_price_currency,omitempty" xml:"target_original_price_currency,omitempty"`
	// ship to days
	ShipToDays string `json:"ship_to_days,omitempty" xml:"ship_to_days,omitempty"`
	// sale price currency
	SalePriceCurrency string `json:"sale_price_currency,omitempty" xml:"sale_price_currency,omitempty"`
	// original price
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// original price currency
	OriginalPriceCurrency string `json:"original_price_currency,omitempty" xml:"original_price_currency,omitempty"`
	// discount
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// lastest volume
	LastestVolume int64 `json:"lastest_volume,omitempty" xml:"lastest_volume,omitempty"`
	// seller id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// shop id
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// first level category id
	FirstLevelCategoryId int64 `json:"first_level_category_id,omitempty" xml:"first_level_category_id,omitempty"`
	// product id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// second level category id
	SecondLevelCategoryId int64 `json:"second_level_category_id,omitempty" xml:"second_level_category_id,omitempty"`
}

Integer 结构体

type LogisticsInfoDto added in v1.2.5

type LogisticsInfoDto struct {
	// Country
	ShipToCountry string `json:"ship_to_country,omitempty" xml:"ship_to_country,omitempty"`
	// Goods lead time
	DeliveryTime int64 `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
}

LogisticsInfoDto 结构体

type MaillingAddressRequestDto

type MaillingAddressRequestDto struct {
	// 地址信息
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 地址扩展信息
	Address2 string `json:"address2,omitempty" xml:"address2,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 联系人
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// cpf税号
	Cpf string `json:"cpf,omitempty" xml:"cpf,omitempty"`
	// 收货人全称
	FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"`
	// 国际化locale
	Locale string `json:"locale,omitempty" xml:"locale,omitempty"`
	// 电话号码
	MobileNo string `json:"mobile_no,omitempty" xml:"mobile_no,omitempty"`
	// 护照号
	PassportNo string `json:"passport_no,omitempty" xml:"passport_no,omitempty"`
	// 护照日期
	PassportNoDate string `json:"passport_no_date,omitempty" xml:"passport_no_date,omitempty"`
	// 护照签发机构
	PassportOrganization string `json:"passport_organization,omitempty" xml:"passport_organization,omitempty"`
	// 电话所在国家区号
	PhoneCountry string `json:"phone_country,omitempty" xml:"phone_country,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 税号
	TaxNumber string `json:"tax_number,omitempty" xml:"tax_number,omitempty"`
	// 邮政编码
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// 智利税号
	RutNo string `json:"rut_no,omitempty" xml:"rut_no,omitempty"`
	// 外籍税号(韩国外籍须填登陆证号或者护照号)
	ForeignerPassportNo string `json:"foreigner_passport_no,omitempty" xml:"foreigner_passport_no,omitempty"`
	// 是否是外籍
	IsForeigner string `json:"is_foreigner,omitempty" xml:"is_foreigner,omitempty"`
	// vat税号
	VatNo string `json:"vat_no,omitempty" xml:"vat_no,omitempty"`
	// 公司名称
	TaxCompany string `json:"tax_company,omitempty" xml:"tax_company,omitempty"`
	// 地址树ID
	LocationTreeAddressId string `json:"location_tree_address_id,omitempty" xml:"location_tree_address_id,omitempty"`
}

MaillingAddressRequestDto 结构体

type Money

type Money struct {
	// currencyCode
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// amount
	Amount *BigDecimal `json:"amount,omitempty" xml:"amount,omitempty"`
	// cent
	Cent int64 `json:"cent,omitempty" xml:"cent,omitempty"`
}

Money 结构体

type PackageInfoDto added in v1.2.5

type PackageInfoDto struct {
	// The gross weight of the product
	GrossWeight string `json:"gross_weight,omitempty" xml:"gross_weight,omitempty"`
	// The length of the product
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// Product height
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// Product width
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// Number of basic products for custom weighing
	BaseUnit int64 `json:"base_unit,omitempty" xml:"base_unit,omitempty"`
	// Unit of commodity
	ProductUnit int64 `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
	// Type of packaging
	PackageType bool `json:"package_type,omitempty" xml:"package_type,omitempty"`
}

PackageInfoDto 结构体

type PlaceOrderRequest4OpenApiDto

type PlaceOrderRequest4OpenApiDto struct {
	// 商品属性
	ProductItems []ProductBaseItem `json:"product_items,omitempty" xml:"product_items>product_base_item,omitempty"`
	// 物流地址信息
	LogisticsAddress *MaillingAddressRequestDto `json:"logistics_address,omitempty" xml:"logistics_address,omitempty"`
}

PlaceOrderRequest4OpenApiDto 结构体

type PlaceOrderRes4OpenApiDto

type PlaceOrderRes4OpenApiDto struct {
	// orderList
	OrderList []int64 `json:"order_list,omitempty" xml:"order_list>int64,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

PlaceOrderRes4OpenApiDto 结构体

type ProductBaseItem

type ProductBaseItem struct {
	// 商品sku
	SkuAttr string `json:"sku_attr,omitempty" xml:"sku_attr,omitempty"`
	// 物流服务名称
	LogisticsServiceName string `json:"logistics_service_name,omitempty" xml:"logistics_service_name,omitempty"`
	// 用户留言
	OrderMemo string `json:"order_memo,omitempty" xml:"order_memo,omitempty"`
	// 商品数量
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

ProductBaseItem 结构体

type ProductIdConverterResultDto added in v1.2.5

type ProductIdConverterResultDto struct {
	// sub productId
	SubProductId string `json:"sub_product_id,omitempty" xml:"sub_product_id,omitempty"`
	// main productId
	MainProductId int64 `json:"main_product_id,omitempty" xml:"main_product_id,omitempty"`
}

ProductIdConverterResultDto 结构体

type SimpleMoney

type SimpleMoney struct {
	// Amount
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// Currency
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
}

SimpleMoney 结构体

type TrafficImageProductDto added in v1.2.5

type TrafficImageProductDto struct {
	// commodity thumbnail address list
	ProductSmallImageUrls []string `json:"product_small_image_urls,omitempty" xml:"product_small_image_urls>string,omitempty"`
	// original price
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// original price currency
	OriginalPriceCurrency string `json:"original_price_currency,omitempty" xml:"original_price_currency,omitempty"`
	// discount
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// latest volume
	LastestVolume string `json:"lastest_volume,omitempty" xml:"lastest_volume,omitempty"`
	// target sale price
	TargetSalePrice string `json:"target_sale_price,omitempty" xml:"target_sale_price,omitempty"`
	// evaluate rate
	EvaluateRate string `json:"evaluate_rate,omitempty" xml:"evaluate_rate,omitempty"`
	// target original price
	TargetOriginalPrice string `json:"target_original_price,omitempty" xml:"target_original_price,omitempty"`
	// second level category name
	SecondLevelCategoryName string `json:"second_level_category_name,omitempty" xml:"second_level_category_name,omitempty"`
	// first level category id
	FirstLevelCategoryId string `json:"first_level_category_id,omitempty" xml:"first_level_category_id,omitempty"`
	// product vedio url
	ProductVideoUrl string `json:"product_video_url,omitempty" xml:"product_video_url,omitempty"`
	// product id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// sale price
	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
	// target sale price currency
	TargetSalePriceCurrency string `json:"target_sale_price_currency,omitempty" xml:"target_sale_price_currency,omitempty"`
	// second level category id
	SecondLevelCategoryId string `json:"second_level_category_id,omitempty" xml:"second_level_category_id,omitempty"`
	// shop url
	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
	// product title
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// product detail url
	ProductDetailUrl string `json:"product_detail_url,omitempty" xml:"product_detail_url,omitempty"`
	// first level category name
	FirstLevelCategoryName string `json:"first_level_category_name,omitempty" xml:"first_level_category_name,omitempty"`
	// product main image url
	ProductMainImageUrl string `json:"product_main_image_url,omitempty" xml:"product_main_image_url,omitempty"`
	// platform product type
	PlatformProductType string `json:"platform_product_type,omitempty" xml:"platform_product_type,omitempty"`
	// target original price currency
	TargetOriginalPriceCurrency string `json:"target_original_price_currency,omitempty" xml:"target_original_price_currency,omitempty"`
	// sale price currency
	SalePriceCurrency string `json:"sale_price_currency,omitempty" xml:"sale_price_currency,omitempty"`
	// seller id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// shop id
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
}

TrafficImageProductDto 结构体

type TrafficImageSearchResultDto added in v1.2.5

type TrafficImageSearchResultDto struct {
	// products
	Products []TrafficImageProductDto `json:"products,omitempty" xml:"products>traffic_image_product_dto,omitempty"`
}

TrafficImageSearchResultDto 结构体

type TrafficOrderEffectDto added in v1.2.5

type TrafficOrderEffectDto struct {
	// commission rate
	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`
	// finished amount of the order, unit cent
	FinishedAmount string `json:"finished_amount,omitempty" xml:"finished_amount,omitempty"`
	// is affiliate product
	IsAffiliateProduct string `json:"is_affiliate_product,omitempty" xml:"is_affiliate_product,omitempty"`
	// is new buyer
	IsNewBuyer string `json:"is_new_buyer,omitempty" xml:"is_new_buyer,omitempty"`
	// item title
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// Additional order status, eg: full refund order, antispam order
	EffectDetailStatus string `json:"effect_detail_status,omitempty" xml:"effect_detail_status,omitempty"`
	// estimated commission for finished incentive order
	EstimatedIncentiveFinishedCommission string `json:"estimated_incentive_finished_commission,omitempty" xml:"estimated_incentive_finished_commission,omitempty"`
	// estimated commission for paid incentive order
	EstimatedIncentivePaidCommission string `json:"estimated_incentive_paid_commission,omitempty" xml:"estimated_incentive_paid_commission,omitempty"`
	// is hot product
	IsHotProduct string `json:"is_hot_product,omitempty" xml:"is_hot_product,omitempty"`
	// item detail url
	ItemDetailUrl string `json:"item_detail_url,omitempty" xml:"item_detail_url,omitempty"`
	// created time of this order
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// publisher settled currency
	PublisherSettledCurrency string `json:"publisher_settled_currency,omitempty" xml:"publisher_settled_currency,omitempty"`
	// product shipping country
	ShipToCountry string `json:"ship_to_country,omitempty" xml:"ship_to_country,omitempty"`
	// item main image url
	ItemMainImageUrl string `json:"item_main_image_url,omitempty" xml:"item_main_image_url,omitempty"`
	// paid time
	PaidTime string `json:"paid_time,omitempty" xml:"paid_time,omitempty"`
	// item count
	ItemCount string `json:"item_count,omitempty" xml:"item_count,omitempty"`
	// effect status
	EffectStatus string `json:"effect_status,omitempty" xml:"effect_status,omitempty"`
	// estimated commission for finished order
	EstimatedFinishedCommission string `json:"estimated_finished_commission,omitempty" xml:"estimated_finished_commission,omitempty"`
	// Order finish time
	FinishedTime string `json:"finished_time,omitempty" xml:"finished_time,omitempty"`
	// incentive commission rate
	IncentiveCommissionRate string `json:"incentive_commission_rate,omitempty" xml:"incentive_commission_rate,omitempty"`
	// order number
	OrderNumber int64 `json:"order_number,omitempty" xml:"order_number,omitempty"`
	// publisher id
	PublisherId int64 `json:"publisher_id,omitempty" xml:"publisher_id,omitempty"`
	// parent order number
	ParentOrderNumber int64 `json:"parent_order_number,omitempty" xml:"parent_order_number,omitempty"`
	// order id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// item id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// sub order id
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// estimated commission for paid order
	EstimatedPaidCommission int64 `json:"estimated_paid_commission,omitempty" xml:"estimated_paid_commission,omitempty"`
	// payment amount of the order, unit cent
	PaidAmount int64 `json:"paid_amount,omitempty" xml:"paid_amount,omitempty"`
	// category id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
}

TrafficOrderEffectDto 结构体

type TrafficOrderResultDto added in v1.2.5

type TrafficOrderResultDto struct {
	// orders object list
	Orders []TrafficOrderEffectDto `json:"orders,omitempty" xml:"orders>traffic_order_effect_dto,omitempty"`
	// max query index start value: if not passed, You can only check the first page
	MaxQueryIndexId string `json:"max_query_index_id,omitempty" xml:"max_query_index_id,omitempty"`
	// min query index start value: if not passed, You can only check the first page
	MinQueryIndexId string `json:"min_query_index_id,omitempty" xml:"min_query_index_id,omitempty"`
	// current record count
	CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
	// current page number
	CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
}

TrafficOrderResultDto 结构体

type TrafficProductResultDto added in v1.2.5

type TrafficProductResultDto struct {
	// products
	Products []Integer `json:"products,omitempty" xml:"products>integer,omitempty"`
	// total record count
	TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"`
	// current record count
	CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
	// total page number
	TotalPageNo int64 `json:"total_page_no,omitempty" xml:"total_page_no,omitempty"`
	// count page number
	CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
	// is finished
	IsFinished bool `json:"is_finished,omitempty" xml:"is_finished,omitempty"`
}

TrafficProductResultDto 结构体

Source Files

Jump to

Keyboard shortcuts

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