tmallhk

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwdcHrd

type AwdcHrd struct {
	ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"`

	In string `json:"in,omitempty" xml:"in,omitempty"`

	Out string `json:"out,omitempty" xml:"out,omitempty"`

	ReportInfo string `json:"report_info,omitempty" xml:"report_info,omitempty"`

	ReportNo string `json:"report_no,omitempty" xml:"report_no,omitempty"`
}

AwdcHrd

type AwdcInfo

type AwdcInfo struct {
	Hrd *AwdcHrd `json:"hrd,omitempty" xml:"hrd,omitempty"`

	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`

	Ngtc *AwdcNgtc `json:"ngtc,omitempty" xml:"ngtc,omitempty"`

	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`

	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`

	Shipment *AwdcShipment `json:"shipment,omitempty" xml:"shipment,omitempty"`

	SubOrderNo string `json:"sub_order_no,omitempty" xml:"sub_order_no,omitempty"`

	TraceCode string `json:"trace_code,omitempty" xml:"trace_code,omitempty"`

	TraceCodeTime string `json:"trace_code_time,omitempty" xml:"trace_code_time,omitempty"`
}

AwdcInfo

type AwdcNgtc

type AwdcNgtc struct {
	In string `json:"in,omitempty" xml:"in,omitempty"`

	Out string `json:"out,omitempty" xml:"out,omitempty"`

	ReportDate string `json:"report_date,omitempty" xml:"report_date,omitempty"`

	ReportNo string `json:"report_no,omitempty" xml:"report_no,omitempty"`
}

AwdcNgtc

type AwdcShipment

type AwdcShipment struct {
	ArrivalCity string `json:"arrival_city,omitempty" xml:"arrival_city,omitempty"`

	ArrivalDate string `json:"arrival_date,omitempty" xml:"arrival_date,omitempty"`

	DepartureCity string `json:"departure_city,omitempty" xml:"departure_city,omitempty"`

	DepartureDate string `json:"departure_date,omitempty" xml:"departure_date,omitempty"`

	DoIn string `json:"do_in,omitempty" xml:"do_in,omitempty"`

	DoNumber string `json:"do_number,omitempty" xml:"do_number,omitempty"`

	DoOut string `json:"do_out,omitempty" xml:"do_out,omitempty"`

	LogisticNumber string `json:"logistic_number,omitempty" xml:"logistic_number,omitempty"`

	ShipmentNumber string `json:"shipment_number,omitempty" xml:"shipment_number,omitempty"`

	Shipper string `json:"shipper,omitempty" xml:"shipper,omitempty"`
}

AwdcShipment

type CCICCheckCodeDO

type CCICCheckCodeDO struct {
	Enterable bool `json:"enterable,omitempty" xml:"enterable,omitempty"`

	EnterUrl string `json:"enter_url,omitempty" xml:"enter_url,omitempty"`
}

CCICCheckCodeDO

type CertifyQueryResult

type CertifyQueryResult struct {
	Module *ConsigneeCertifyInfo `json:"module,omitempty" xml:"module,omitempty"`

	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`

	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CertifyQueryResult

type ClearanceBizOrderDo

type ClearanceBizOrderDo struct {
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`

	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`

	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`

	OrderLineList []ClearanceOrderLineDo `json:"order_line_list,omitempty" xml:"order_line_list,omitempty"`

	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`

	PostFee int64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"`

	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`

	SellerWangWangId string `json:"seller_wang_wang_id,omitempty" xml:"seller_wang_wang_id,omitempty"`

	TaxDO *ClearanceTaxDo `json:"tax_d_o,omitempty" xml:"tax_d_o,omitempty"`

	Tf int64 `json:"tf,omitempty" xml:"tf,omitempty"`
}

ClearanceBizOrderDo

type ClearanceDataDo

type ClearanceDataDo struct {
	BizOrderDO *ClearanceBizOrderDo `json:"biz_order_d_o,omitempty" xml:"biz_order_d_o,omitempty"`

	PayOrderDO *ClearancePayOrderDo `json:"pay_order_d_o,omitempty" xml:"pay_order_d_o,omitempty"`
}

ClearanceDataDo

type ClearanceOrderLineDo

type ClearanceOrderLineDo struct {
	ActualValue int64 `json:"actual_value,omitempty" xml:"actual_value,omitempty"`

	AuctionPrice int64 `json:"auction_price,omitempty" xml:"auction_price,omitempty"`

	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`

	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`

	Declaration string `json:"declaration,omitempty" xml:"declaration,omitempty"`

	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`

	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`

	ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"`

	OriginalCountry string `json:"original_country,omitempty" xml:"original_country,omitempty"`

	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`

	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`

	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`

	RootCat string `json:"root_cat,omitempty" xml:"root_cat,omitempty"`

	SaleUnit string `json:"sale_unit,omitempty" xml:"sale_unit,omitempty"`

	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`

	SellProperty string `json:"sell_property,omitempty" xml:"sell_property,omitempty"`

	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`

	TaxDO *ClearanceTaxDo `json:"tax_d_o,omitempty" xml:"tax_d_o,omitempty"`

	UnitDO *ClearanceUnitDo `json:"unit_d_o,omitempty" xml:"unit_d_o,omitempty"`

	VirtualItemId string `json:"virtual_item_id,omitempty" xml:"virtual_item_id,omitempty"`
}

ClearanceOrderLineDo

type ClearancePayOrderDo

type ClearancePayOrderDo struct {
	AlipayBuyerId string `json:"alipay_buyer_id,omitempty" xml:"alipay_buyer_id,omitempty"`

	PayOrderId int64 `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"`
}

ClearancePayOrderDo

type ClearanceTaxDo

type ClearanceTaxDo struct {
	CustomDutyFee int64 `json:"custom_duty_fee,omitempty" xml:"custom_duty_fee,omitempty"`

	CustomsCouponFee int64 `json:"customs_coupon_fee,omitempty" xml:"customs_coupon_fee,omitempty"`

	CustomsInsuranceFee int64 `json:"customs_insurance_fee,omitempty" xml:"customs_insurance_fee,omitempty"`

	CustomsSubTotalFee int64 `json:"customs_sub_total_fee,omitempty" xml:"customs_sub_total_fee,omitempty"`

	CustomsTotalFee int64 `json:"customs_total_fee,omitempty" xml:"customs_total_fee,omitempty"`

	ExciseDutyFee int64 `json:"excise_duty_fee,omitempty" xml:"excise_duty_fee,omitempty"`

	Hscode string `json:"hscode,omitempty" xml:"hscode,omitempty"`

	OrderLineTotalTaxFee int64 `json:"order_line_total_tax_fee,omitempty" xml:"order_line_total_tax_fee,omitempty"`

	OrderTotalTaxFee int64 `json:"order_total_tax_fee,omitempty" xml:"order_total_tax_fee,omitempty"`

	PostFee int64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"`

	TariffCustomFee int64 `json:"tariff_custom_fee,omitempty" xml:"tariff_custom_fee,omitempty"`

	TariffExciseFee int64 `json:"tariff_excise_fee,omitempty" xml:"tariff_excise_fee,omitempty"`

	TariffFee int64 `json:"tariff_fee,omitempty" xml:"tariff_fee,omitempty"`

	TariffVatFee int64 `json:"tariff_vat_fee,omitempty" xml:"tariff_vat_fee,omitempty"`

	VatFee int64 `json:"vat_fee,omitempty" xml:"vat_fee,omitempty"`
}

ClearanceTaxDo

type ClearanceUnitDo

type ClearanceUnitDo struct {
	FirstQuantity string `json:"first_quantity,omitempty" xml:"first_quantity,omitempty"`

	FirstUnit string `json:"first_unit,omitempty" xml:"first_unit,omitempty"`

	SecondQuantity string `json:"second_quantity,omitempty" xml:"second_quantity,omitempty"`

	SecondUnit string `json:"second_unit,omitempty" xml:"second_unit,omitempty"`
}

ClearanceUnitDo

type ConsigneeCertifyInfo

type ConsigneeCertifyInfo struct {
	Credential1 string `json:"credential1,omitempty" xml:"credential1,omitempty"`

	Credential2 string `json:"credential2,omitempty" xml:"credential2,omitempty"`

	OcrExp string `json:"ocr_exp,omitempty" xml:"ocr_exp,omitempty"`

	OcrId string `json:"ocr_id,omitempty" xml:"ocr_id,omitempty"`

	OcrName string `json:"ocr_name,omitempty" xml:"ocr_name,omitempty"`

	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`

	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

ConsigneeCertifyInfo

type CtsCarriage

type CtsCarriage struct {
	Begin string `json:"begin,omitempty" xml:"begin,omitempty"`

	CarriageNo string `json:"carriage_no,omitempty" xml:"carriage_no,omitempty"`

	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`

	End string `json:"end,omitempty" xml:"end,omitempty"`
}

CtsCarriage

type CtsDelivery

type CtsDelivery struct {
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`

	DeliveryNo string `json:"delivery_no,omitempty" xml:"delivery_no,omitempty"`

	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
}

CtsDelivery

type CtsInfo

type CtsInfo struct {
	Carriage *CtsCarriage `json:"carriage,omitempty" xml:"carriage,omitempty"`

	CompletedNgtc *CtsNgtc `json:"completed_ngtc,omitempty" xml:"completed_ngtc,omitempty"`

	Delivery *CtsDelivery `json:"delivery,omitempty" xml:"delivery,omitempty"`

	DiamondNgtc *CtsNgtc `json:"diamond_ngtc,omitempty" xml:"diamond_ngtc,omitempty"`

	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`

	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`

	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`

	Ring *CtsRing `json:"ring,omitempty" xml:"ring,omitempty"`

	Shipment *CtsShipment `json:"shipment,omitempty" xml:"shipment,omitempty"`

	SubOrderNo string `json:"sub_order_no,omitempty" xml:"sub_order_no,omitempty"`

	TraceCode string `json:"trace_code,omitempty" xml:"trace_code,omitempty"`
}

CtsInfo

type CtsNgtc

type CtsNgtc struct {
	ReportNo string `json:"report_no,omitempty" xml:"report_no,omitempty"`

	ReportVerifyNo string `json:"report_verify_no,omitempty" xml:"report_verify_no,omitempty"`
}

CtsNgtc

type CtsRing

type CtsRing struct {
	CompletedTime string `json:"completed_time,omitempty" xml:"completed_time,omitempty"`

	ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"`

	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`

	MountTime string `json:"mount_time,omitempty" xml:"mount_time,omitempty"`

	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`

	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`

	RingTime string `json:"ring_time,omitempty" xml:"ring_time,omitempty"`

	SubOrderNo string `json:"sub_order_no,omitempty" xml:"sub_order_no,omitempty"`
}

CtsRing

type CtsShipment

type CtsShipment struct {
	Begin string `json:"begin,omitempty" xml:"begin,omitempty"`

	End string `json:"end,omitempty" xml:"end,omitempty"`

	ShipmentNo string `json:"shipment_no,omitempty" xml:"shipment_no,omitempty"`
}

CtsShipment

type DataResult

type DataResult struct {
	Code string `json:"code,omitempty" xml:"code,omitempty"`

	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`

	Obj *CCICCheckCodeDO `json:"obj,omitempty" xml:"obj,omitempty"`
}

DataResult

type TicketOrderUpdator

type TicketOrderUpdator struct {
	AgentName string `json:"agent_name,omitempty" xml:"agent_name,omitempty"`

	AgentPassportExpDate string `json:"agent_passport_exp_date,omitempty" xml:"agent_passport_exp_date,omitempty"`

	AgentPassportsArrList []string `json:"agent_passports_arr_list,omitempty" xml:"agent_passports_arr_list>string,omitempty"`

	AgentPayTime string `json:"agent_pay_time,omitempty" xml:"agent_pay_time,omitempty"`

	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`

	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`

	Locker int64 `json:"locker,omitempty" xml:"locker,omitempty"`

	LockerPicturesArrList []string `json:"locker_pictures_arr_list,omitempty" xml:"locker_pictures_arr_list>string,omitempty"`

	PaymentRecordsArrList []string `json:"payment_records_arr_list,omitempty" xml:"payment_records_arr_list>string,omitempty"`

	PurchasedPlace string `json:"purchased_place,omitempty" xml:"purchased_place,omitempty"`

	PurchasedPlacePicturesArrList []string `json:"purchased_place_pictures_arr_list,omitempty" xml:"purchased_place_pictures_arr_list>string,omitempty"`

	TicketsArrList []string `json:"tickets_arr_list,omitempty" xml:"tickets_arr_list>string,omitempty"`
}

TicketOrderUpdator

type TmallHkClearanceDistributionGetAPIResponse

type TmallHkClearanceDistributionGetAPIResponse struct {
	model.CommonResponse
	TmallHkClearanceDistributionGetResponse
}

分销供应商获取清关材料 APIResponse tmall.hk.clearance.distribution.get

供销体系下,提供供应商可以直接获取其订单身份证信息的接口,以使其完成清关。

type TmallHkClearanceDistributionGetRequest

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

分销供应商获取清关材料 APIRequest tmall.hk.clearance.distribution.get

供销体系下,提供供应商可以直接获取其订单身份证信息的接口,以使其完成清关。

func NewTmallHkClearanceDistributionGetRequest

func NewTmallHkClearanceDistributionGetRequest() *TmallHkClearanceDistributionGetRequest

func (TmallHkClearanceDistributionGetRequest) GetApiMethodName

func (r TmallHkClearanceDistributionGetRequest) GetApiMethodName() string

func (TmallHkClearanceDistributionGetRequest) GetApiParams

func (TmallHkClearanceDistributionGetRequest) GetNeedImage

func (TmallHkClearanceDistributionGetRequest) GetOrderId

func (*TmallHkClearanceDistributionGetRequest) SetNeedImage

func (r *TmallHkClearanceDistributionGetRequest) SetNeedImage(needImage bool) error

func (*TmallHkClearanceDistributionGetRequest) SetOrderId

func (r *TmallHkClearanceDistributionGetRequest) SetOrderId(orderId int64) error

type TmallHkClearanceDistributionGetResponse

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

	Result *CertifyQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallHkClearanceGetAPIResponse

type TmallHkClearanceGetAPIResponse struct {
	model.CommonResponse
	TmallHkClearanceGetResponse
}

天猫国际-清关材料查询 APIResponse tmall.hk.clearance.get

提供订单收货人身份信息查询功能。

type TmallHkClearanceGetRequest

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

天猫国际-清关材料查询 APIRequest tmall.hk.clearance.get

提供订单收货人身份信息查询功能。

func NewTmallHkClearanceGetRequest

func NewTmallHkClearanceGetRequest() *TmallHkClearanceGetRequest

func (TmallHkClearanceGetRequest) GetApiMethodName

func (r TmallHkClearanceGetRequest) GetApiMethodName() string

func (TmallHkClearanceGetRequest) GetApiParams

func (r TmallHkClearanceGetRequest) GetApiParams() url.Values

func (TmallHkClearanceGetRequest) GetNeedImage

func (r TmallHkClearanceGetRequest) GetNeedImage() bool

func (TmallHkClearanceGetRequest) GetOrderId

func (r TmallHkClearanceGetRequest) GetOrderId() int64

func (*TmallHkClearanceGetRequest) SetNeedImage

func (r *TmallHkClearanceGetRequest) SetNeedImage(needImage bool) error

func (*TmallHkClearanceGetRequest) SetOrderId

func (r *TmallHkClearanceGetRequest) SetOrderId(orderId int64) error

type TmallHkClearanceGetResponse

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

	Result *CertifyQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallHkOrderClearanceQueryAPIResponse

type TmallHkOrderClearanceQueryAPIResponse struct {
	model.CommonResponse
	TmallHkOrderClearanceQueryResponse
}

天猫国际订单清关信息 APIResponse tmall.hk.order.clearance.query

天猫国际订单清关信息查询

type TmallHkOrderClearanceQueryRequest

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

天猫国际订单清关信息 APIRequest tmall.hk.order.clearance.query

天猫国际订单清关信息查询

func NewTmallHkOrderClearanceQueryRequest

func NewTmallHkOrderClearanceQueryRequest() *TmallHkOrderClearanceQueryRequest

func (TmallHkOrderClearanceQueryRequest) GetApiMethodName

func (r TmallHkOrderClearanceQueryRequest) GetApiMethodName() string

func (TmallHkOrderClearanceQueryRequest) GetApiParams

func (r TmallHkOrderClearanceQueryRequest) GetApiParams() url.Values

func (TmallHkOrderClearanceQueryRequest) GetBizOrderId

func (r TmallHkOrderClearanceQueryRequest) GetBizOrderId() int64

func (TmallHkOrderClearanceQueryRequest) GetBusinessSymbol

func (r TmallHkOrderClearanceQueryRequest) GetBusinessSymbol() string

func (*TmallHkOrderClearanceQueryRequest) SetBizOrderId

func (r *TmallHkOrderClearanceQueryRequest) SetBizOrderId(bizOrderId int64) error

func (*TmallHkOrderClearanceQueryRequest) SetBusinessSymbol

func (r *TmallHkOrderClearanceQueryRequest) SetBusinessSymbol(businessSymbol string) error

type TmallHkOrderClearanceQueryResponse

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

	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`

	ResponseMessage string `json:"response_message,omitempty" xml:"response_message,omitempty"`

	Obj *ClearanceDataDo `json:"obj,omitempty" xml:"obj,omitempty"`

	Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"`
}

type TmallTraceplatformAwdcInfoUploadAPIResponse

type TmallTraceplatformAwdcInfoUploadAPIResponse struct {
	model.CommonResponse
	TmallTraceplatformAwdcInfoUploadResponse
}

AWDC提交溯源信息 APIResponse tmall.traceplatform.awdc.info.upload

天猫溯源-AWDC-上传溯源信息

type TmallTraceplatformAwdcInfoUploadRequest

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

AWDC提交溯源信息 APIRequest tmall.traceplatform.awdc.info.upload

天猫溯源-AWDC-上传溯源信息

func NewTmallTraceplatformAwdcInfoUploadRequest

func NewTmallTraceplatformAwdcInfoUploadRequest() *TmallTraceplatformAwdcInfoUploadRequest

func (TmallTraceplatformAwdcInfoUploadRequest) GetApiMethodName

func (r TmallTraceplatformAwdcInfoUploadRequest) GetApiMethodName() string

func (TmallTraceplatformAwdcInfoUploadRequest) GetApiParams

func (TmallTraceplatformAwdcInfoUploadRequest) GetTraceInfo

func (*TmallTraceplatformAwdcInfoUploadRequest) SetTraceInfo

func (r *TmallTraceplatformAwdcInfoUploadRequest) SetTraceInfo(traceInfo *AwdcInfo) error

type TmallTraceplatformAwdcInfoUploadResponse

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

	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTraceplatformCcicTracecodeCheckAPIResponse

type TmallTraceplatformCcicTracecodeCheckAPIResponse struct {
	model.CommonResponse
	TmallTraceplatformCcicTracecodeCheckResponse
}

ccic校验溯源码 APIResponse tmall.traceplatform.ccic.tracecode.check

天猫国际溯源业务,需要将溯源码校验的功能输出到ccic官方主页中以增强溯源码的可信度,故需要提供api给ccic使用以校验溯源码的正确性。

type TmallTraceplatformCcicTracecodeCheckRequest

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

ccic校验溯源码 APIRequest tmall.traceplatform.ccic.tracecode.check

天猫国际溯源业务,需要将溯源码校验的功能输出到ccic官方主页中以增强溯源码的可信度,故需要提供api给ccic使用以校验溯源码的正确性。

func NewTmallTraceplatformCcicTracecodeCheckRequest

func NewTmallTraceplatformCcicTracecodeCheckRequest() *TmallTraceplatformCcicTracecodeCheckRequest

func (TmallTraceplatformCcicTracecodeCheckRequest) GetApiMethodName

func (TmallTraceplatformCcicTracecodeCheckRequest) GetApiParams

func (TmallTraceplatformCcicTracecodeCheckRequest) GetHideCode

func (TmallTraceplatformCcicTracecodeCheckRequest) GetShortTracecode

func (*TmallTraceplatformCcicTracecodeCheckRequest) SetHideCode

func (r *TmallTraceplatformCcicTracecodeCheckRequest) SetHideCode(hideCode string) error

func (*TmallTraceplatformCcicTracecodeCheckRequest) SetShortTracecode

func (r *TmallTraceplatformCcicTracecodeCheckRequest) SetShortTracecode(shortTracecode string) error

type TmallTraceplatformCcicTracecodeCheckResponse

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

	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTraceplatformCtsInfoUploadAPIResponse

type TmallTraceplatformCtsInfoUploadAPIResponse struct {
	model.CommonResponse
	TmallTraceplatformCtsInfoUploadResponse
}

CTS提交溯源信息 APIResponse tmall.traceplatform.cts.info.upload

cts上传溯源信息

type TmallTraceplatformCtsInfoUploadRequest

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

CTS提交溯源信息 APIRequest tmall.traceplatform.cts.info.upload

cts上传溯源信息

func NewTmallTraceplatformCtsInfoUploadRequest

func NewTmallTraceplatformCtsInfoUploadRequest() *TmallTraceplatformCtsInfoUploadRequest

func (TmallTraceplatformCtsInfoUploadRequest) GetApiMethodName

func (r TmallTraceplatformCtsInfoUploadRequest) GetApiMethodName() string

func (TmallTraceplatformCtsInfoUploadRequest) GetApiParams

func (TmallTraceplatformCtsInfoUploadRequest) GetTraceInfo

func (*TmallTraceplatformCtsInfoUploadRequest) SetTraceInfo

func (r *TmallTraceplatformCtsInfoUploadRequest) SetTraceInfo(traceInfo *CtsInfo) error

type TmallTraceplatformCtsInfoUploadResponse

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

	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTraceplatformCtsOrderStopAPIResponse

type TmallTraceplatformCtsOrderStopAPIResponse struct {
	model.CommonResponse
	TmallTraceplatformCtsOrderStopResponse
}

CTS截断订单 APIResponse tmall.traceplatform.cts.order.stop

截断CTS订单

type TmallTraceplatformCtsOrderStopRequest

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

CTS截断订单 APIRequest tmall.traceplatform.cts.order.stop

截断CTS订单

func NewTmallTraceplatformCtsOrderStopRequest

func NewTmallTraceplatformCtsOrderStopRequest() *TmallTraceplatformCtsOrderStopRequest

func (TmallTraceplatformCtsOrderStopRequest) GetApiMethodName

func (r TmallTraceplatformCtsOrderStopRequest) GetApiMethodName() string

func (TmallTraceplatformCtsOrderStopRequest) GetApiParams

func (TmallTraceplatformCtsOrderStopRequest) GetTraceInfo

func (*TmallTraceplatformCtsOrderStopRequest) SetTraceInfo

func (r *TmallTraceplatformCtsOrderStopRequest) SetTraceInfo(traceInfo *TraceInfo) error

type TmallTraceplatformCtsOrderStopResponse

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

	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTraceplatformTicketOrderUploadAPIResponse

type TmallTraceplatformTicketOrderUploadAPIResponse struct {
	model.CommonResponse
	TmallTraceplatformTicketOrderUploadResponse
}

上传小票数据 APIResponse tmall.traceplatform.ticket.order.upload

upsertOrderBySeller

type TmallTraceplatformTicketOrderUploadRequest

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

上传小票数据 APIRequest tmall.traceplatform.ticket.order.upload

upsertOrderBySeller

func NewTmallTraceplatformTicketOrderUploadRequest

func NewTmallTraceplatformTicketOrderUploadRequest() *TmallTraceplatformTicketOrderUploadRequest

func (TmallTraceplatformTicketOrderUploadRequest) GetApiMethodName

func (TmallTraceplatformTicketOrderUploadRequest) GetApiParams

func (TmallTraceplatformTicketOrderUploadRequest) GetTicketOrder

func (*TmallTraceplatformTicketOrderUploadRequest) SetTicketOrder

type TmallTraceplatformTicketOrderUploadResponse

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

	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TmallTraceplatformTicketPictureUploadAPIResponse

type TmallTraceplatformTicketPictureUploadAPIResponse struct {
	model.CommonResponse
	TmallTraceplatformTicketPictureUploadResponse
}

上传小票图片 APIResponse tmall.traceplatform.ticket.picture.upload

uploadPicture

type TmallTraceplatformTicketPictureUploadRequest

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

上传小票图片 APIRequest tmall.traceplatform.ticket.picture.upload

uploadPicture

func NewTmallTraceplatformTicketPictureUploadRequest

func NewTmallTraceplatformTicketPictureUploadRequest() *TmallTraceplatformTicketPictureUploadRequest

func (TmallTraceplatformTicketPictureUploadRequest) GetApiMethodName

func (TmallTraceplatformTicketPictureUploadRequest) GetApiParams

func (TmallTraceplatformTicketPictureUploadRequest) GetBizOrderId

func (TmallTraceplatformTicketPictureUploadRequest) GetFile

func (*TmallTraceplatformTicketPictureUploadRequest) SetBizOrderId

func (r *TmallTraceplatformTicketPictureUploadRequest) SetBizOrderId(bizOrderId int64) error

func (*TmallTraceplatformTicketPictureUploadRequest) SetFile

type TmallTraceplatformTicketPictureUploadResponse

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

	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TraceInfo

type TraceInfo struct {
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`

	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`

	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`

	SubOrderNo string `json:"sub_order_no,omitempty" xml:"sub_order_no,omitempty"`

	TraceCode string `json:"trace_code,omitempty" xml:"trace_code,omitempty"`
}

TraceInfo

Jump to

Keyboard shortcuts

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