Documentation ¶
Index ¶
- func OrderResponseOptionalFields() string
- type AddInvoiceDataResult
- type CancelOrderRequestEntity
- type CancelOrderResult
- type GetOrderDetailResponse
- type GetOrderDetailResult
- type GetOrderListResponse
- type GetOrderListResult
- type GetShipmentListResponse
- type GetShipmentListResult
- type HandleBuyerCancellationResult
- type InvoiceDataEntity
- type ItemListEntity
- type OrderEntity
- type OrderUpdateTimeResponse
- type PackageListEntity
- type PackageListRequestEntity
- type PackageListRequestItemListEntity
- type RecipientAddressEntity
- type SetNoteResult
- type ShipmentOrders
- type SplitOrderResponse
- type SplitOrderResult
- type UnSplitOrderResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddInvoiceDataResult ¶
type AddInvoiceDataResult struct {
commonentity.Result
}
UnSplitOrderResult
type CancelOrderRequestEntity ¶
type CancelOrderRequestEntity struct { ItemID int64 `json:"item_id"` ModelID int64 `json:"model_id"` }
CancelOrderRequestEntity
type CancelOrderResult ¶
type CancelOrderResult struct { commonentity.Result Response OrderUpdateTimeResponse `json:"response"` }
CancelOrderResult
type GetOrderDetailResponse ¶
type GetOrderDetailResponse struct {
OrderList []OrderEntity `json:"order_list"`
}
GetOrderDetailResponse
type GetOrderDetailResult ¶
type GetOrderDetailResult struct { commonentity.Result Response GetOrderDetailResponse `json:"response"` Warning []string `json:"warning"` }
GetOrderDetailResult
type GetOrderListResponse ¶
type GetOrderListResponse struct { More bool `json:"more"` NextCursor string `json:"next_cursor"` OrderList []OrderEntity `json:"order_list"` }
GetOrderListResponse
type GetOrderListResult ¶
type GetOrderListResult struct { commonentity.Result Response GetOrderListResponse `json:"response"` }
GetOrderListResult
type GetShipmentListResponse ¶
type GetShipmentListResponse struct { More bool `json:"more"` NextCursor string `json:"next_cursor"` OrderList []ShipmentOrders `json:"order_list"` }
GetShipmentListResponse
type GetShipmentListResult ¶
type GetShipmentListResult struct { commonentity.Result Response GetShipmentListResponse `json:"response"` }
GetShipmentListResult
type HandleBuyerCancellationResult ¶
type HandleBuyerCancellationResult struct {
commonentity.Result
}
HandleBuyerCancellationResult
func (HandleBuyerCancellationResult) String ¶
func (h HandleBuyerCancellationResult) String() string
String
type InvoiceDataEntity ¶
type InvoiceDataEntity struct { Number string `json:"number"` SeriesNumber string `json:"series_number"` AccessKey string `json:"access_key"` IssueDate int `json:"issue_date"` TotalValue float32 `json:"total_value"` ProductsTotalValue float32 `json:"products_total_value"` TaxCode string `json:"tax_code"` }
InvoiceDataEntity
type ItemListEntity ¶
type ItemListEntity struct { ItemID int64 `json:"item_id"` OrderItemID int64 `json:"order_item_id"` ItemName string `json:"item_name"` ItemSku string `json:"item_sku"` ModelID int64 `json:"model_id"` ModelName string `json:"model_name"` ModelSku string `json:"model_sku"` ModelQuantityPurchased int64 `json:"model_quantity_purchased"` ModelOriginalPrice float32 `json:"model_original_price"` ModelDiscountedPrice float32 `json:"model_discounted_price"` Wholesale bool `json:"wholesale"` Weight float32 `json:"weight"` AddOnDeal bool `json:"add_on_deal"` MainItem bool `json:"main_item"` AddOnDealID int64 `json:"add_on_deal_id"` PromotionType string `json:"promotion_type"` PromotionID int64 `json:"promotion_id"` PromotionGroupID int64 `json:"promotion_group_id"` }
ItemListEntity
type OrderEntity ¶
type OrderEntity struct { OrderSN string `json:"order_sn"` Region string `json:"region"` Currency string `json:"currency"` Cod bool `json:"cod"` TotalAmount float32 `json:"total_amount"` OrderStatus string `json:"order_status"` ShippingCarrier string `json:"shipping_carrier"` PaymentMethod string `json:"payment_method"` EstimatedShippingFee float32 `json:"estimated_shipping_fee"` MessageToSeller string `json:"message_to_seller"` CreateTime int `json:"create_time"` UpdateTime int `json:"update_time"` DaysToShip int `json:"days_to_ship"` ShipByDate int `json:"ship_by_date"` BuyerUserID int `json:"buyer_user_id"` BuyerUsername string `json:"buyer_username"` RecipientAddress RecipientAddressEntity `json:"recipient_address"` ActualShippingFee float32 `json:"actual_shipping_fee"` GoodsToDeclare bool `json:"goods_to_declare"` Note string `json:"note"` NoteUpdateTime int `json:"note_update_time"` ItemList []ItemListEntity `json:"item_list"` PayTime int `json:"pay_time"` Dropshipper string `json:"dropshipper"` CreditCardNumber string `json:"credit_card_number"` DropshipperPhone string `json:"dropshipper_phone"` SplitUp bool `json:"split_up"` BuyerCancelReason string `json:"buyer_cancel_reason"` CancelBy string `json:"cancel_by"` CancelReason string `json:"cancel_reason"` ActualShippingFeeConfirmed bool `json:"actual_shipping_fee_confirmed"` BuyerCpfID string `json:"buyer_cpf_id"` FulfillmentFlag string `json:"fulfillment_flag"` PickupDoneTime int `json:"pickup_done_time"` PackageList []PackageListEntity `json:"package_list"` InvoiceData InvoiceDataEntity `json:"invoice_data"` CheckoutShippingCarrier string `json:"checkout_shipping_carrier"` }
OrderEntity
type OrderUpdateTimeResponse ¶
type OrderUpdateTimeResponse struct {
UpdateTime int `json:"update_time"`
}
type PackageListEntity ¶
type PackageListEntity struct { PackageNumber string `json:"package_number"` LogisticsStatus string `json:"logistics_status"` ShippingCarrier string `json:"shipping_carrier"` ItemList []ItemListEntity `json:"item_list"` }
PackageListEntity
type PackageListRequestEntity ¶
type PackageListRequestEntity struct {
ItemList []PackageListRequestItemListEntity `json:"item_list"`
}
PackageListRequestEntity
type PackageListRequestItemListEntity ¶
type PackageListRequestItemListEntity struct { ItemID int64 `json:"item_id"` ModelID int64 `json:"model_id"` OrderItemID int64 `json:"order_item_id"` PromotionGroupID int64 `json:"promotion_group_id"` }
ItemListEntity
func (PackageListRequestItemListEntity) String ¶
func (p PackageListRequestItemListEntity) String() string
String
type RecipientAddressEntity ¶
type RecipientAddressEntity struct { Name string `json:"name"` Phone string `json:"phone"` Town string `json:"town"` District string `json:"district"` City string `json:"city"` State string `json:"state"` Region string `json:"region"` Zipcode string `json:"zipcode"` FullAddress string `json:"full_address"` }
RecipientAddress
type ShipmentOrders ¶
type ShipmentOrders struct { OrderSN string `json:"order_sn"` PackageNumber string `json:"package_number"` }
ShipmentOrders
type SplitOrderResponse ¶
type SplitOrderResponse struct { OrderSn string `json:"order_sn"` PackageList []PackageListEntity `json:"package_list"` }
SplitOrderResponse
type SplitOrderResult ¶
type SplitOrderResult struct { commonentity.Result Response SplitOrderResponse `json:"response"` }
SplitOrderResult
type UnSplitOrderResult ¶
type UnSplitOrderResult struct { commonentity.Result Response OrderUpdateTimeResponse `json:"response"` }
UnSplitOrderResult
Source Files ¶
- addinvoicedataresult.go
- cancelorderresult.go
- getorderdetailresult.go
- getorderlistresult.go
- getshipmentlistresult.go
- handlebuyercancellationresult.go
- invoicedataentity.go
- itemlistentity.go
- orderentity.go
- packagelistentity.go
- recipientaddressentity.go
- setnoteresult.go
- splitorderresult.go
- unsplitorderresult.go
Click to show internal directories.
Click to hide internal directories.