Documentation ¶
Overview ¶
Package tmallhk 包含天猫国际API相关结构体
Index ¶
- type AwdcHrd
- type AwdcInfo
- type AwdcNgtc
- type AwdcShipment
- type CCICCheckCodeDo
- type CertifyQueryResult
- type ClearanceBizOrderDo
- type ClearanceDataDo
- type ClearanceOrderLineDo
- type ClearancePayOrderDo
- type ClearanceTaxDo
- type ClearanceUnitDo
- type ConsigneeCertifyInfo
- type CtsCarriage
- type CtsDelivery
- type CtsInfo
- type CtsNgtc
- type CtsRing
- type CtsShipment
- type DataResult
- type TicketOrderUpdator
- type TmallHkClearanceDistributionGetAPIRequest
- func (r TmallHkClearanceDistributionGetAPIRequest) GetApiMethodName() string
- func (r TmallHkClearanceDistributionGetAPIRequest) GetApiParams() url.Values
- func (r TmallHkClearanceDistributionGetAPIRequest) GetNeedImage() bool
- func (r TmallHkClearanceDistributionGetAPIRequest) GetOrderId() int64
- func (r *TmallHkClearanceDistributionGetAPIRequest) SetNeedImage(_needImage bool) error
- func (r *TmallHkClearanceDistributionGetAPIRequest) SetOrderId(_orderId int64) error
- type TmallHkClearanceDistributionGetAPIResponse
- type TmallHkClearanceDistributionGetAPIResponseModel
- type TmallHkClearanceGetAPIRequest
- func (r TmallHkClearanceGetAPIRequest) GetApiMethodName() string
- func (r TmallHkClearanceGetAPIRequest) GetApiParams() url.Values
- func (r TmallHkClearanceGetAPIRequest) GetNeedImage() bool
- func (r TmallHkClearanceGetAPIRequest) GetOrderId() int64
- func (r *TmallHkClearanceGetAPIRequest) SetNeedImage(_needImage bool) error
- func (r *TmallHkClearanceGetAPIRequest) SetOrderId(_orderId int64) error
- type TmallHkClearanceGetAPIResponse
- type TmallHkClearanceGetAPIResponseModel
- type TmallHkOrderClearanceQueryAPIRequest
- func (r TmallHkOrderClearanceQueryAPIRequest) GetApiMethodName() string
- func (r TmallHkOrderClearanceQueryAPIRequest) GetApiParams() url.Values
- func (r TmallHkOrderClearanceQueryAPIRequest) GetBizOrderId() int64
- func (r TmallHkOrderClearanceQueryAPIRequest) GetBusinessSymbol() string
- func (r *TmallHkOrderClearanceQueryAPIRequest) SetBizOrderId(_bizOrderId int64) error
- func (r *TmallHkOrderClearanceQueryAPIRequest) SetBusinessSymbol(_businessSymbol string) error
- type TmallHkOrderClearanceQueryAPIResponse
- type TmallHkOrderClearanceQueryAPIResponseModel
- type TmallTraceplatformAwdcInfoUploadAPIRequest
- func (r TmallTraceplatformAwdcInfoUploadAPIRequest) GetApiMethodName() string
- func (r TmallTraceplatformAwdcInfoUploadAPIRequest) GetApiParams() url.Values
- func (r TmallTraceplatformAwdcInfoUploadAPIRequest) GetTraceInfo() *AwdcInfo
- func (r *TmallTraceplatformAwdcInfoUploadAPIRequest) SetTraceInfo(_traceInfo *AwdcInfo) error
- type TmallTraceplatformAwdcInfoUploadAPIResponse
- type TmallTraceplatformAwdcInfoUploadAPIResponseModel
- type TmallTraceplatformCcicTracecodeCheckAPIRequest
- func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetApiMethodName() string
- func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetApiParams() url.Values
- func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetHideCode() string
- func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetShortTracecode() string
- func (r *TmallTraceplatformCcicTracecodeCheckAPIRequest) SetHideCode(_hideCode string) error
- func (r *TmallTraceplatformCcicTracecodeCheckAPIRequest) SetShortTracecode(_shortTracecode string) error
- type TmallTraceplatformCcicTracecodeCheckAPIResponse
- type TmallTraceplatformCcicTracecodeCheckAPIResponseModel
- type TmallTraceplatformCtsInfoUploadAPIRequest
- func (r TmallTraceplatformCtsInfoUploadAPIRequest) GetApiMethodName() string
- func (r TmallTraceplatformCtsInfoUploadAPIRequest) GetApiParams() url.Values
- func (r TmallTraceplatformCtsInfoUploadAPIRequest) GetTraceInfo() *CtsInfo
- func (r *TmallTraceplatformCtsInfoUploadAPIRequest) SetTraceInfo(_traceInfo *CtsInfo) error
- type TmallTraceplatformCtsInfoUploadAPIResponse
- type TmallTraceplatformCtsInfoUploadAPIResponseModel
- type TmallTraceplatformCtsOrderStopAPIRequest
- func (r TmallTraceplatformCtsOrderStopAPIRequest) GetApiMethodName() string
- func (r TmallTraceplatformCtsOrderStopAPIRequest) GetApiParams() url.Values
- func (r TmallTraceplatformCtsOrderStopAPIRequest) GetTraceInfo() *TraceInfo
- func (r *TmallTraceplatformCtsOrderStopAPIRequest) SetTraceInfo(_traceInfo *TraceInfo) error
- type TmallTraceplatformCtsOrderStopAPIResponse
- type TmallTraceplatformCtsOrderStopAPIResponseModel
- type TmallTraceplatformTicketOrderUploadAPIRequest
- func (r TmallTraceplatformTicketOrderUploadAPIRequest) GetApiMethodName() string
- func (r TmallTraceplatformTicketOrderUploadAPIRequest) GetApiParams() url.Values
- func (r TmallTraceplatformTicketOrderUploadAPIRequest) GetTicketOrder() *TicketOrderUpdator
- func (r *TmallTraceplatformTicketOrderUploadAPIRequest) SetTicketOrder(_ticketOrder *TicketOrderUpdator) error
- type TmallTraceplatformTicketOrderUploadAPIResponse
- type TmallTraceplatformTicketOrderUploadAPIResponseModel
- type TmallTraceplatformTicketPictureUploadAPIRequest
- func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetApiMethodName() string
- func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetApiParams() url.Values
- func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetBizOrderId() int64
- func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetFile() *model.File
- func (r *TmallTraceplatformTicketPictureUploadAPIRequest) SetBizOrderId(_bizOrderId int64) error
- func (r *TmallTraceplatformTicketPictureUploadAPIRequest) SetFile(_file *model.File) error
- type TmallTraceplatformTicketPictureUploadAPIResponse
- type TmallTraceplatformTicketPictureUploadAPIResponseModel
- type TraceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwdcHrd ¶
type AwdcHrd struct { // 参数extInfo ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 参数in In string `json:"in,omitempty" xml:"in,omitempty"` // 参数out Out string `json:"out,omitempty" xml:"out,omitempty"` // hrd证书信息 ReportInfo string `json:"report_info,omitempty" xml:"report_info,omitempty"` // 参数reportNo ReportNo string `json:"report_no,omitempty" xml:"report_no,omitempty"` }
AwdcHrd 结构体
type AwdcInfo ¶
type AwdcInfo struct { // 货品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` // 商品ID 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"` // 溯源码镭射时间 TraceCodeTime string `json:"trace_code_time,omitempty" xml:"trace_code_time,omitempty"` // hrd info Hrd *AwdcHrd `json:"hrd,omitempty" xml:"hrd,omitempty"` // ngtc info Ngtc *AwdcNgtc `json:"ngtc,omitempty" xml:"ngtc,omitempty"` // shipment Shipment *AwdcShipment `json:"shipment,omitempty" xml:"shipment,omitempty"` }
AwdcInfo 结构体
type AwdcNgtc ¶
type AwdcNgtc struct { // 参数in In string `json:"in,omitempty" xml:"in,omitempty"` // 参数out Out string `json:"out,omitempty" xml:"out,omitempty"` // 参数reportDate ReportDate string `json:"report_date,omitempty" xml:"report_date,omitempty"` // 参数reportNo 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 ¶ added in v1.2.0
type CCICCheckCodeDo struct { // enterUrl EnterUrl string `json:"enter_url,omitempty" xml:"enter_url,omitempty"` // enterable Enterable bool `json:"enterable,omitempty" xml:"enterable,omitempty"` }
CCICCheckCodeDo 结构体
type CertifyQueryResult ¶
type CertifyQueryResult struct { // 错误原因 ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"` // 错误代码 ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"` // 清关对象 Module *ConsigneeCertifyInfo `json:"module,omitempty" xml:"module,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CertifyQueryResult 结构体
type ClearanceBizOrderDo ¶
type ClearanceBizOrderDo struct { // 子订单列表封装 OrderLineList []ClearanceOrderLineDo `json:"order_line_list,omitempty" xml:"order_line_list>clearance_order_line_do,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,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"` // 淘系订单id BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 淘系买家id BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,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"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_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 { // 品牌名称 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"` // 商品名称 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"` // 主类目 RootCat string `json:"root_cat,omitempty" xml:"root_cat,omitempty"` // 销售单位 SaleUnit string `json:"sale_unit,omitempty" xml:"sale_unit,omitempty"` // 销售属性 SellProperty string `json:"sell_property,omitempty" xml:"sell_property,omitempty"` // 镜像商品ID VirtualItemId string `json:"virtual_item_id,omitempty" xml:"virtual_item_id,omitempty"` // 货款 ActualValue int64 `json:"actual_value,omitempty" xml:"actual_value,omitempty"` // 商品单价 AuctionPrice int64 `json:"auction_price,omitempty" xml:"auction_price,omitempty"` // 淘系商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,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"` // 货品id ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 子订单id 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"` }
ClearanceOrderLineDo 结构体
type ClearancePayOrderDo ¶
type ClearancePayOrderDo struct { // 支付宝买家ID 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 { // 海关税收编码 Hscode string `json:"hscode,omitempty" xml:"hscode,omitempty"` // 关税,主&子 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"` // 税费,子订单 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 { // 第一数量,最多4位小数 FirstQuantity string `json:"first_quantity,omitempty" xml:"first_quantity,omitempty"` // 第一单位,单位编码 FirstUnit string `json:"first_unit,omitempty" xml:"first_unit,omitempty"` // 第二数量,最多4位小数 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 { // 货品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` // 商品ID 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"` // 托运 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"` // 戒托信息 Ring *CtsRing `json:"ring,omitempty" xml:"ring,omitempty"` // 国内报关 Shipment *CtsShipment `json:"shipment,omitempty" xml:"shipment,omitempty"` }
CtsInfo 结构体
type CtsNgtc ¶
type CtsNgtc struct { // ngtc证书编号 ReportNo string `json:"report_no,omitempty" xml:"report_no,omitempty"` // ngtc证书防伪码 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"` // 戒托货品ID 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"` // 戒托商品Id 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 Code string `json:"code,omitempty" xml:"code,omitempty"` // 参数msg Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // obj Obj *CCICCheckCodeDo `json:"obj,omitempty" xml:"obj,omitempty"` // 是否正常 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
DataResult 结构体
type TicketOrderUpdator ¶
type TicketOrderUpdator struct { // 买手护照截图 AgentPassportsArrList []string `json:"agent_passports_arr_list,omitempty" xml:"agent_passports_arr_list>string,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"` // 购买地照片 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"` // 买手姓名 AgentName string `json:"agent_name,omitempty" xml:"agent_name,omitempty"` // 买手护照过期时间 AgentPassportExpDate string `json:"agent_passport_exp_date,omitempty" xml:"agent_passport_exp_date,omitempty"` // 买手付款时间 AgentPayTime string `json:"agent_pay_time,omitempty" xml:"agent_pay_time,omitempty"` // 品牌名 BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"` // 购买地 PurchasedPlace string `json:"purchased_place,omitempty" xml:"purchased_place,omitempty"` // 子订单号 BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 是否锁扣,1是0否 Locker int64 `json:"locker,omitempty" xml:"locker,omitempty"` }
TicketOrderUpdator 结构体
type TmallHkClearanceDistributionGetAPIRequest ¶ added in v1.2.0
type TmallHkClearanceDistributionGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallHkClearanceDistributionGetAPIRequest 分销供应商获取清关材料 API请求 tmall.hk.clearance.distribution.get
供销体系下,提供供应商可以直接获取其订单身份证信息的接口,以使其完成清关。
func NewTmallHkClearanceDistributionGetRequest ¶
func NewTmallHkClearanceDistributionGetRequest() *TmallHkClearanceDistributionGetAPIRequest
NewTmallHkClearanceDistributionGetRequest 初始化TmallHkClearanceDistributionGetAPIRequest对象
func (TmallHkClearanceDistributionGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallHkClearanceDistributionGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallHkClearanceDistributionGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallHkClearanceDistributionGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallHkClearanceDistributionGetAPIRequest) GetNeedImage ¶ added in v1.2.0
func (r TmallHkClearanceDistributionGetAPIRequest) GetNeedImage() bool
GetNeedImage NeedImage Getter
func (TmallHkClearanceDistributionGetAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TmallHkClearanceDistributionGetAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (*TmallHkClearanceDistributionGetAPIRequest) SetNeedImage ¶ added in v1.2.0
func (r *TmallHkClearanceDistributionGetAPIRequest) SetNeedImage(_needImage bool) error
SetNeedImage is NeedImage Setter 是否需要身份证图片,不需要可以缩短接口响应时间
func (*TmallHkClearanceDistributionGetAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TmallHkClearanceDistributionGetAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 订单号
type TmallHkClearanceDistributionGetAPIResponse ¶
type TmallHkClearanceDistributionGetAPIResponse struct { model.CommonResponse TmallHkClearanceDistributionGetAPIResponseModel }
TmallHkClearanceDistributionGetAPIResponse 分销供应商获取清关材料 API返回值 tmall.hk.clearance.distribution.get
供销体系下,提供供应商可以直接获取其订单身份证信息的接口,以使其完成清关。
type TmallHkClearanceDistributionGetAPIResponseModel ¶ added in v1.2.0
type TmallHkClearanceDistributionGetAPIResponseModel 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"` }
TmallHkClearanceDistributionGetAPIResponseModel is 分销供应商获取清关材料 成功返回结果
type TmallHkClearanceGetAPIRequest ¶ added in v1.2.0
type TmallHkClearanceGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallHkClearanceGetAPIRequest 天猫国际-清关材料查询 API请求 tmall.hk.clearance.get
提供订单收货人身份信息查询功能。
func NewTmallHkClearanceGetRequest ¶
func NewTmallHkClearanceGetRequest() *TmallHkClearanceGetAPIRequest
NewTmallHkClearanceGetRequest 初始化TmallHkClearanceGetAPIRequest对象
func (TmallHkClearanceGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallHkClearanceGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallHkClearanceGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallHkClearanceGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallHkClearanceGetAPIRequest) GetNeedImage ¶ added in v1.2.0
func (r TmallHkClearanceGetAPIRequest) GetNeedImage() bool
GetNeedImage NeedImage Getter
func (TmallHkClearanceGetAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TmallHkClearanceGetAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (*TmallHkClearanceGetAPIRequest) SetNeedImage ¶ added in v1.2.0
func (r *TmallHkClearanceGetAPIRequest) SetNeedImage(_needImage bool) error
SetNeedImage is NeedImage Setter 是否需要身份证图片,不需要可以缩短接口响应时间
func (*TmallHkClearanceGetAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TmallHkClearanceGetAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 天猫国际订单号
type TmallHkClearanceGetAPIResponse ¶
type TmallHkClearanceGetAPIResponse struct { model.CommonResponse TmallHkClearanceGetAPIResponseModel }
TmallHkClearanceGetAPIResponse 天猫国际-清关材料查询 API返回值 tmall.hk.clearance.get
提供订单收货人身份信息查询功能。
type TmallHkClearanceGetAPIResponseModel ¶ added in v1.2.0
type TmallHkClearanceGetAPIResponseModel 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"` }
TmallHkClearanceGetAPIResponseModel is 天猫国际-清关材料查询 成功返回结果
type TmallHkOrderClearanceQueryAPIRequest ¶ added in v1.2.0
type TmallHkOrderClearanceQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallHkOrderClearanceQueryAPIRequest 天猫国际订单清关信息 API请求 tmall.hk.order.clearance.query
天猫国际订单清关信息查询
func NewTmallHkOrderClearanceQueryRequest ¶
func NewTmallHkOrderClearanceQueryRequest() *TmallHkOrderClearanceQueryAPIRequest
NewTmallHkOrderClearanceQueryRequest 初始化TmallHkOrderClearanceQueryAPIRequest对象
func (TmallHkOrderClearanceQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallHkOrderClearanceQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallHkOrderClearanceQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallHkOrderClearanceQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallHkOrderClearanceQueryAPIRequest) GetBizOrderId ¶ added in v1.2.0
func (r TmallHkOrderClearanceQueryAPIRequest) GetBizOrderId() int64
GetBizOrderId BizOrderId Getter
func (TmallHkOrderClearanceQueryAPIRequest) GetBusinessSymbol ¶ added in v1.2.0
func (r TmallHkOrderClearanceQueryAPIRequest) GetBusinessSymbol() string
GetBusinessSymbol BusinessSymbol Getter
func (*TmallHkOrderClearanceQueryAPIRequest) SetBizOrderId ¶ added in v1.2.0
func (r *TmallHkOrderClearanceQueryAPIRequest) SetBizOrderId(_bizOrderId int64) error
SetBizOrderId is BizOrderId Setter 交易主订单号
func (*TmallHkOrderClearanceQueryAPIRequest) SetBusinessSymbol ¶ added in v1.2.0
func (r *TmallHkOrderClearanceQueryAPIRequest) SetBusinessSymbol(_businessSymbol string) error
SetBusinessSymbol is BusinessSymbol Setter 调用方业务身份(由国际侧配置提供给调用方)
type TmallHkOrderClearanceQueryAPIResponse ¶
type TmallHkOrderClearanceQueryAPIResponse struct { model.CommonResponse TmallHkOrderClearanceQueryAPIResponseModel }
TmallHkOrderClearanceQueryAPIResponse 天猫国际订单清关信息 API返回值 tmall.hk.order.clearance.query
天猫国际订单清关信息查询
type TmallHkOrderClearanceQueryAPIResponseModel ¶ added in v1.2.0
type TmallHkOrderClearanceQueryAPIResponseModel 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"` }
TmallHkOrderClearanceQueryAPIResponseModel is 天猫国际订单清关信息 成功返回结果
type TmallTraceplatformAwdcInfoUploadAPIRequest ¶ added in v1.2.0
type TmallTraceplatformAwdcInfoUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallTraceplatformAwdcInfoUploadAPIRequest AWDC提交溯源信息 API请求 tmall.traceplatform.awdc.info.upload
天猫溯源-AWDC-上传溯源信息
func NewTmallTraceplatformAwdcInfoUploadRequest ¶
func NewTmallTraceplatformAwdcInfoUploadRequest() *TmallTraceplatformAwdcInfoUploadAPIRequest
NewTmallTraceplatformAwdcInfoUploadRequest 初始化TmallTraceplatformAwdcInfoUploadAPIRequest对象
func (TmallTraceplatformAwdcInfoUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTraceplatformAwdcInfoUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTraceplatformAwdcInfoUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTraceplatformAwdcInfoUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTraceplatformAwdcInfoUploadAPIRequest) GetTraceInfo ¶ added in v1.2.0
func (r TmallTraceplatformAwdcInfoUploadAPIRequest) GetTraceInfo() *AwdcInfo
GetTraceInfo TraceInfo Getter
func (*TmallTraceplatformAwdcInfoUploadAPIRequest) SetTraceInfo ¶ added in v1.2.0
func (r *TmallTraceplatformAwdcInfoUploadAPIRequest) SetTraceInfo(_traceInfo *AwdcInfo) error
SetTraceInfo is TraceInfo Setter 入参traceInfo
type TmallTraceplatformAwdcInfoUploadAPIResponse ¶
type TmallTraceplatformAwdcInfoUploadAPIResponse struct { model.CommonResponse TmallTraceplatformAwdcInfoUploadAPIResponseModel }
TmallTraceplatformAwdcInfoUploadAPIResponse AWDC提交溯源信息 API返回值 tmall.traceplatform.awdc.info.upload
天猫溯源-AWDC-上传溯源信息
type TmallTraceplatformAwdcInfoUploadAPIResponseModel ¶ added in v1.2.0
type TmallTraceplatformAwdcInfoUploadAPIResponseModel struct { XMLName xml.Name `xml:"tmall_traceplatform_awdc_info_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *DataResult `json:"result,omitempty" xml:"result,omitempty"` }
TmallTraceplatformAwdcInfoUploadAPIResponseModel is AWDC提交溯源信息 成功返回结果
type TmallTraceplatformCcicTracecodeCheckAPIRequest ¶ added in v1.2.0
type TmallTraceplatformCcicTracecodeCheckAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallTraceplatformCcicTracecodeCheckAPIRequest ccic校验溯源码 API请求 tmall.traceplatform.ccic.tracecode.check
天猫国际溯源业务,需要将溯源码校验的功能输出到ccic官方主页中以增强溯源码的可信度,故需要提供api给ccic使用以校验溯源码的正确性。
func NewTmallTraceplatformCcicTracecodeCheckRequest ¶
func NewTmallTraceplatformCcicTracecodeCheckRequest() *TmallTraceplatformCcicTracecodeCheckAPIRequest
NewTmallTraceplatformCcicTracecodeCheckRequest 初始化TmallTraceplatformCcicTracecodeCheckAPIRequest对象
func (TmallTraceplatformCcicTracecodeCheckAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTraceplatformCcicTracecodeCheckAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTraceplatformCcicTracecodeCheckAPIRequest) GetHideCode ¶ added in v1.2.0
func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetHideCode() string
GetHideCode HideCode Getter
func (TmallTraceplatformCcicTracecodeCheckAPIRequest) GetShortTracecode ¶ added in v1.2.0
func (r TmallTraceplatformCcicTracecodeCheckAPIRequest) GetShortTracecode() string
GetShortTracecode ShortTracecode Getter
func (*TmallTraceplatformCcicTracecodeCheckAPIRequest) SetHideCode ¶ added in v1.2.0
func (r *TmallTraceplatformCcicTracecodeCheckAPIRequest) SetHideCode(_hideCode string) error
SetHideCode is HideCode Setter 6位暗码,必选
func (*TmallTraceplatformCcicTracecodeCheckAPIRequest) SetShortTracecode ¶ added in v1.2.0
func (r *TmallTraceplatformCcicTracecodeCheckAPIRequest) SetShortTracecode(_shortTracecode string) error
SetShortTracecode is ShortTracecode Setter 15为溯源短码,必选
type TmallTraceplatformCcicTracecodeCheckAPIResponse ¶
type TmallTraceplatformCcicTracecodeCheckAPIResponse struct { model.CommonResponse TmallTraceplatformCcicTracecodeCheckAPIResponseModel }
TmallTraceplatformCcicTracecodeCheckAPIResponse ccic校验溯源码 API返回值 tmall.traceplatform.ccic.tracecode.check
天猫国际溯源业务,需要将溯源码校验的功能输出到ccic官方主页中以增强溯源码的可信度,故需要提供api给ccic使用以校验溯源码的正确性。
type TmallTraceplatformCcicTracecodeCheckAPIResponseModel ¶ added in v1.2.0
type TmallTraceplatformCcicTracecodeCheckAPIResponseModel struct { XMLName xml.Name `xml:"tmall_traceplatform_ccic_tracecode_check_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *DataResult `json:"result,omitempty" xml:"result,omitempty"` }
TmallTraceplatformCcicTracecodeCheckAPIResponseModel is ccic校验溯源码 成功返回结果
type TmallTraceplatformCtsInfoUploadAPIRequest ¶ added in v1.2.0
type TmallTraceplatformCtsInfoUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallTraceplatformCtsInfoUploadAPIRequest CTS提交溯源信息 API请求 tmall.traceplatform.cts.info.upload
cts上传溯源信息
func NewTmallTraceplatformCtsInfoUploadRequest ¶
func NewTmallTraceplatformCtsInfoUploadRequest() *TmallTraceplatformCtsInfoUploadAPIRequest
NewTmallTraceplatformCtsInfoUploadRequest 初始化TmallTraceplatformCtsInfoUploadAPIRequest对象
func (TmallTraceplatformCtsInfoUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTraceplatformCtsInfoUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTraceplatformCtsInfoUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTraceplatformCtsInfoUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTraceplatformCtsInfoUploadAPIRequest) GetTraceInfo ¶ added in v1.2.0
func (r TmallTraceplatformCtsInfoUploadAPIRequest) GetTraceInfo() *CtsInfo
GetTraceInfo TraceInfo Getter
func (*TmallTraceplatformCtsInfoUploadAPIRequest) SetTraceInfo ¶ added in v1.2.0
func (r *TmallTraceplatformCtsInfoUploadAPIRequest) SetTraceInfo(_traceInfo *CtsInfo) error
SetTraceInfo is TraceInfo Setter 入参traceInfo
type TmallTraceplatformCtsInfoUploadAPIResponse ¶
type TmallTraceplatformCtsInfoUploadAPIResponse struct { model.CommonResponse TmallTraceplatformCtsInfoUploadAPIResponseModel }
TmallTraceplatformCtsInfoUploadAPIResponse CTS提交溯源信息 API返回值 tmall.traceplatform.cts.info.upload
cts上传溯源信息
type TmallTraceplatformCtsInfoUploadAPIResponseModel ¶ added in v1.2.0
type TmallTraceplatformCtsInfoUploadAPIResponseModel struct { XMLName xml.Name `xml:"tmall_traceplatform_cts_info_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *DataResult `json:"result,omitempty" xml:"result,omitempty"` }
TmallTraceplatformCtsInfoUploadAPIResponseModel is CTS提交溯源信息 成功返回结果
type TmallTraceplatformCtsOrderStopAPIRequest ¶ added in v1.2.0
type TmallTraceplatformCtsOrderStopAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallTraceplatformCtsOrderStopAPIRequest CTS截断订单 API请求 tmall.traceplatform.cts.order.stop
截断CTS订单
func NewTmallTraceplatformCtsOrderStopRequest ¶
func NewTmallTraceplatformCtsOrderStopRequest() *TmallTraceplatformCtsOrderStopAPIRequest
NewTmallTraceplatformCtsOrderStopRequest 初始化TmallTraceplatformCtsOrderStopAPIRequest对象
func (TmallTraceplatformCtsOrderStopAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTraceplatformCtsOrderStopAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTraceplatformCtsOrderStopAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTraceplatformCtsOrderStopAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTraceplatformCtsOrderStopAPIRequest) GetTraceInfo ¶ added in v1.2.0
func (r TmallTraceplatformCtsOrderStopAPIRequest) GetTraceInfo() *TraceInfo
GetTraceInfo TraceInfo Getter
func (*TmallTraceplatformCtsOrderStopAPIRequest) SetTraceInfo ¶ added in v1.2.0
func (r *TmallTraceplatformCtsOrderStopAPIRequest) SetTraceInfo(_traceInfo *TraceInfo) error
SetTraceInfo is TraceInfo Setter 入参traceInfo
type TmallTraceplatformCtsOrderStopAPIResponse ¶
type TmallTraceplatformCtsOrderStopAPIResponse struct { model.CommonResponse TmallTraceplatformCtsOrderStopAPIResponseModel }
TmallTraceplatformCtsOrderStopAPIResponse CTS截断订单 API返回值 tmall.traceplatform.cts.order.stop
截断CTS订单
type TmallTraceplatformCtsOrderStopAPIResponseModel ¶ added in v1.2.0
type TmallTraceplatformCtsOrderStopAPIResponseModel struct { XMLName xml.Name `xml:"tmall_traceplatform_cts_order_stop_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *DataResult `json:"result,omitempty" xml:"result,omitempty"` }
TmallTraceplatformCtsOrderStopAPIResponseModel is CTS截断订单 成功返回结果
type TmallTraceplatformTicketOrderUploadAPIRequest ¶ added in v1.2.0
type TmallTraceplatformTicketOrderUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallTraceplatformTicketOrderUploadAPIRequest 上传小票数据 API请求 tmall.traceplatform.ticket.order.upload
upsertOrderBySeller
func NewTmallTraceplatformTicketOrderUploadRequest ¶
func NewTmallTraceplatformTicketOrderUploadRequest() *TmallTraceplatformTicketOrderUploadAPIRequest
NewTmallTraceplatformTicketOrderUploadRequest 初始化TmallTraceplatformTicketOrderUploadAPIRequest对象
func (TmallTraceplatformTicketOrderUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTraceplatformTicketOrderUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTraceplatformTicketOrderUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTraceplatformTicketOrderUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTraceplatformTicketOrderUploadAPIRequest) GetTicketOrder ¶ added in v1.2.0
func (r TmallTraceplatformTicketOrderUploadAPIRequest) GetTicketOrder() *TicketOrderUpdator
GetTicketOrder TicketOrder Getter
func (*TmallTraceplatformTicketOrderUploadAPIRequest) SetTicketOrder ¶ added in v1.2.0
func (r *TmallTraceplatformTicketOrderUploadAPIRequest) SetTicketOrder(_ticketOrder *TicketOrderUpdator) error
SetTicketOrder is TicketOrder Setter 上传小票参数
type TmallTraceplatformTicketOrderUploadAPIResponse ¶
type TmallTraceplatformTicketOrderUploadAPIResponse struct { model.CommonResponse TmallTraceplatformTicketOrderUploadAPIResponseModel }
TmallTraceplatformTicketOrderUploadAPIResponse 上传小票数据 API返回值 tmall.traceplatform.ticket.order.upload
upsertOrderBySeller
type TmallTraceplatformTicketOrderUploadAPIResponseModel ¶ added in v1.2.0
type TmallTraceplatformTicketOrderUploadAPIResponseModel 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"` }
TmallTraceplatformTicketOrderUploadAPIResponseModel is 上传小票数据 成功返回结果
type TmallTraceplatformTicketPictureUploadAPIRequest ¶ added in v1.2.0
type TmallTraceplatformTicketPictureUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallTraceplatformTicketPictureUploadAPIRequest 上传小票图片 API请求 tmall.traceplatform.ticket.picture.upload
uploadPicture
func NewTmallTraceplatformTicketPictureUploadRequest ¶
func NewTmallTraceplatformTicketPictureUploadRequest() *TmallTraceplatformTicketPictureUploadAPIRequest
NewTmallTraceplatformTicketPictureUploadRequest 初始化TmallTraceplatformTicketPictureUploadAPIRequest对象
func (TmallTraceplatformTicketPictureUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTraceplatformTicketPictureUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTraceplatformTicketPictureUploadAPIRequest) GetBizOrderId ¶ added in v1.2.0
func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetBizOrderId() int64
GetBizOrderId BizOrderId Getter
func (TmallTraceplatformTicketPictureUploadAPIRequest) GetFile ¶ added in v1.2.0
func (r TmallTraceplatformTicketPictureUploadAPIRequest) GetFile() *model.File
GetFile File Getter
func (*TmallTraceplatformTicketPictureUploadAPIRequest) SetBizOrderId ¶ added in v1.2.0
func (r *TmallTraceplatformTicketPictureUploadAPIRequest) SetBizOrderId(_bizOrderId int64) error
SetBizOrderId is BizOrderId Setter 子订单号
type TmallTraceplatformTicketPictureUploadAPIResponse ¶
type TmallTraceplatformTicketPictureUploadAPIResponse struct { model.CommonResponse TmallTraceplatformTicketPictureUploadAPIResponseModel }
TmallTraceplatformTicketPictureUploadAPIResponse 上传小票图片 API返回值 tmall.traceplatform.ticket.picture.upload
uploadPicture
type TmallTraceplatformTicketPictureUploadAPIResponseModel ¶ added in v1.2.0
type TmallTraceplatformTicketPictureUploadAPIResponseModel 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"` }
TmallTraceplatformTicketPictureUploadAPIResponseModel is 上传小票图片 成功返回结果
type TraceInfo ¶
type TraceInfo struct { // 货品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` // 商品ID 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 结构体
Source Files ¶
- AwdcHrd.go
- AwdcInfo.go
- AwdcNgtc.go
- AwdcShipment.go
- CCICCheckCodeDO.go
- CertifyQueryResult.go
- ClearanceBizOrderDo.go
- ClearanceDataDo.go
- ClearanceOrderLineDo.go
- ClearancePayOrderDo.go
- ClearanceTaxDo.go
- ClearanceUnitDo.go
- ConsigneeCertifyInfo.go
- CtsCarriage.go
- CtsDelivery.go
- CtsInfo.go
- CtsNgtc.go
- CtsRing.go
- CtsShipment.go
- DataResult.go
- TicketOrderUpdator.go
- TmallHkClearanceDistributionGetAPIRequest.go
- TmallHkClearanceDistributionGetAPIResponse.go
- TmallHkClearanceGetAPIRequest.go
- TmallHkClearanceGetAPIResponse.go
- TmallHkOrderClearanceQueryAPIRequest.go
- TmallHkOrderClearanceQueryAPIResponse.go
- TmallTraceplatformAwdcInfoUploadAPIRequest.go
- TmallTraceplatformAwdcInfoUploadAPIResponse.go
- TmallTraceplatformCcicTracecodeCheckAPIRequest.go
- TmallTraceplatformCcicTracecodeCheckAPIResponse.go
- TmallTraceplatformCtsInfoUploadAPIRequest.go
- TmallTraceplatformCtsInfoUploadAPIResponse.go
- TmallTraceplatformCtsOrderStopAPIRequest.go
- TmallTraceplatformCtsOrderStopAPIResponse.go
- TmallTraceplatformTicketOrderUploadAPIRequest.go
- TmallTraceplatformTicketOrderUploadAPIResponse.go
- TmallTraceplatformTicketPictureUploadAPIRequest.go
- TmallTraceplatformTicketPictureUploadAPIResponse.go
- TraceInfo.go
- doc.go