Documentation ¶
Index ¶
- func TrackingNumberResponseOptionalFields() string
- type AddressEntity
- type AddressTypeConfigEntity
- type BatchShipOrderRequestDropoffEntity
- type BatchShipOrderRequestNonIntegratedEntity
- type BatchShipOrderRequestOrderListEntity
- type BatchShipOrderRequestPickupEntity
- type BatchShipOrderResult
- type BatchShipOrderResultEntity
- type BatchShipOrderResultResponse
- type BranchEntity
- type BranchListEntity
- type CreateShippingDocumentRequestOrderListEntity
- type CreateShippingDocumentResult
- type CreateShippingDocumentResultEntity
- type CreateShippingDocumentResultResponse
- type DeleteAddressResult
- type DownloadShippingDocumentRequestOrderListEntity
- type DownloadShippingDocumentResult
- type DropoffEntity
- type GetAddressListResponse
- type GetAddressListResult
- type GetChannelListResponse
- type GetChannelListResult
- type GetShippingDocumentInfoResponse
- type GetShippingDocumentInfoResult
- type GetShippingDocumentParameterResult
- type GetShippingDocumentParameterResultEntity
- type GetShippingDocumentParameterResultResponse
- type GetShippingDocumentResult
- type GetShippingDocumentResultEntity
- type GetShippingDocumentResultRequestOrderListEntity
- type GetShippingDocumentResultResponse
- type GetShippingParameterResponse
- type GetShippingParameterResult
- type GetTrackingInfoResponse
- type GetTrackingInfoResult
- type GetTrackingNumberResult
- type InfoNeededEntity
- type ItemMaxDimensionEntity
- type LogisticsChannelEntity
- type PickupEntity
- type RecipientAddressEntity
- type RecipientSortCodeEntity
- type SenderSortCodeEntity
- type SetAddressConfigResult
- type ShipOrderRequestDropoffEntity
- type ShipOrderRequestNonIntegratedEntity
- type ShipOrderRequestPickupEntity
- type ShipOrderResult
- type ShippingDocumentInfoEntity
- type ShippingDocumentParameterRequestOrderListEntity
- type SizeEntity
- type ThirdPartyLogisticInfoEntity
- type TimeSlotEntity
- type TrackingInfoEntity
- type TrackingNumberEntity
- type UpdateChannelResponse
- type UpdateChannelResult
- type UpdateShippingOrderRequestPickupEntity
- type UpdateShippingOrderResult
- type VolumeLimitEntity
- type WeightLimitEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrackingNumberResponseOptionalFields ¶
func TrackingNumberResponseOptionalFields() string
TrackingNumberResponseOptionalFields
Types ¶
type AddressEntity ¶
type AddressEntity struct { AddressID int64 `json:"address_id"` Region string `json:"region"` State string `json:"state"` City string `json:"city"` Address string `json:"address"` ZipCode string `json:"zipcode"` District string `json:"district"` Town string `json:"town"` AddressFlag []string `json:"address_flag"` TimeSlotList []TimeSlotEntity `json:"time_slot_list"` AddressType []string `json:"address_type"` }
AddressEntity
type AddressTypeConfigEntity ¶
type AddressTypeConfigEntity struct { AddressID int64 `json:"address_id"` AddressType []string `json:"address_type"` }
AddressTypeConfigEntity
type BatchShipOrderRequestDropoffEntity ¶
type BatchShipOrderRequestDropoffEntity struct { BranchID int64 `json:"branch_id"` SenderRealName string `json:"sender_real_name"` TrackingNumber string `json:"tracking_number"` }
BatchShipOrderRequestDropoffEntity
func (BatchShipOrderRequestDropoffEntity) String ¶
func (b BatchShipOrderRequestDropoffEntity) String() string
String
type BatchShipOrderRequestNonIntegratedEntity ¶
type BatchShipOrderRequestNonIntegratedEntity struct {
TrackingNumber string `json:"tracking_number"`
}
BatchShipOrderRequestNonIntegratedEntity
func (BatchShipOrderRequestNonIntegratedEntity) String ¶
func (b BatchShipOrderRequestNonIntegratedEntity) String() string
String
type BatchShipOrderRequestOrderListEntity ¶
type BatchShipOrderRequestOrderListEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` }
BatchShipOrderRequestOrderListEntity
func (BatchShipOrderRequestOrderListEntity) String ¶
func (b BatchShipOrderRequestOrderListEntity) String() string
String
type BatchShipOrderRequestPickupEntity ¶
type BatchShipOrderRequestPickupEntity struct { AddressID int64 `json:"address_id"` PickupTimeID string `json:"pickup_time_id"` TrackingNumber string `json:"tracking_number"` }
BatchShipOrderRequestPickupEntity
func (BatchShipOrderRequestPickupEntity) String ¶
func (b BatchShipOrderRequestPickupEntity) String() string
String
type BatchShipOrderResult ¶
type BatchShipOrderResult struct { commonentity.Result Warning []ShippingDocumentParameterRequestOrderListEntity `json:"warning"` Response BatchShipOrderResultResponse `json:"response"` }
BatchShipOrderResult
type BatchShipOrderResultEntity ¶
type BatchShipOrderResultEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` FailError string `json:"fail_error"` FailMessage string `json:"fail_message"` }
BatchShipOrderResultEntity
func (BatchShipOrderResultEntity) String ¶
func (b BatchShipOrderResultEntity) String() string
String
type BatchShipOrderResultResponse ¶
type BatchShipOrderResultResponse struct {
ResultList []BatchShipOrderResultEntity `json:"result_list"`
}
BatchShipOrderResultResponse
type BranchEntity ¶
type BranchEntity struct { BranchID int64 `json:"branch_id"` Region string `json:"region"` State string `json:"state"` City string `json:"city"` Address string `json:"address"` ZipCode string `json:"zipcode"` District string `json:"district"` Town string `json:"town"` }
BranchEntity
type BranchListEntity ¶
type BranchListEntity struct { BranchID int64 `json:"branch_id"` Region string `json:"region"` State string `json:"state"` City string `json:"city"` Address string `json:"address"` ZipCode string `json:"zipcode"` District string `json:"district"` Town string `json:"town"` }
BranchListEntity
type CreateShippingDocumentRequestOrderListEntity ¶
type CreateShippingDocumentRequestOrderListEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` TrackingNumber string `json:"tracking_number"` ShippingDocumentType string `json:"shipping_document_type"` }
CreateShippingDocumentRequestOrderListEntity
func (CreateShippingDocumentRequestOrderListEntity) String ¶
func (c CreateShippingDocumentRequestOrderListEntity) String() string
String
type CreateShippingDocumentResult ¶
type CreateShippingDocumentResult struct { commonentity.Result Warning []ShippingDocumentParameterRequestOrderListEntity `json:"warning"` Response CreateShippingDocumentResultResponse `json:"response"` }
CreateShippingDocumentResult
func (CreateShippingDocumentResult) String ¶
func (c CreateShippingDocumentResult) String() string
String
type CreateShippingDocumentResultEntity ¶
type CreateShippingDocumentResultEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` FailError string `json:"fail_error"` FailMessage string `json:"fail_message"` }
CreateShippingDocumentResultEntity
func (CreateShippingDocumentResultEntity) String ¶
func (c CreateShippingDocumentResultEntity) String() string
String
type CreateShippingDocumentResultResponse ¶
type CreateShippingDocumentResultResponse struct {
ResultList []CreateShippingDocumentResultEntity `json:"result_list"`
}
CreateShippingDocumentResultResponse
func (CreateShippingDocumentResultResponse) String ¶
func (c CreateShippingDocumentResultResponse) String() string
String
type DeleteAddressResult ¶
type DeleteAddressResult struct {
commonentity.Result
}
DeleteAddressResult
type DownloadShippingDocumentRequestOrderListEntity ¶
type DownloadShippingDocumentRequestOrderListEntity struct {
ShippingDocumentParameterRequestOrderListEntity
}
DownloadShippingDocumentRequestOrderListEntity
func (DownloadShippingDocumentRequestOrderListEntity) String ¶
func (d DownloadShippingDocumentRequestOrderListEntity) String() string
String
type DownloadShippingDocumentResult ¶
type DownloadShippingDocumentResult struct { commonentity.Result File []byte }
DownloadShippingDocumentResult
func (DownloadShippingDocumentResult) String ¶
func (d DownloadShippingDocumentResult) String() string
String
type DropoffEntity ¶
type DropoffEntity struct {
BranchList []BranchEntity `json:"branch_list"`
}
DropoffEntity
type GetAddressListResponse ¶
type GetAddressListResponse struct { ShowPickupAddress bool `json:"show_pickup_address"` AddressList []AddressEntity `json:"address_list"` }
GetAddressListResponse
type GetAddressListResult ¶
type GetAddressListResult struct { commonentity.Result Response GetAddressListResponse `json:"response"` }
GetAddressListResult
type GetChannelListResponse ¶
type GetChannelListResponse struct { LogisticsChannelList []LogisticsChannelEntity `json:"logistics_channel_list"` LogisticsDescription string `json:"logistics_description"` ForceEnabled bool `json:"force_enabled"` MaskChannelID int64 `json:"mask_channel_id"` }
GetChannelListResponse
type GetChannelListResult ¶
type GetChannelListResult struct { commonentity.Result Response GetChannelListResponse `json:"response"` }
GetChannelListResult
type GetShippingDocumentInfoResponse ¶
type GetShippingDocumentInfoResponse struct {
ShippingDocumentInfo ShippingDocumentInfoEntity `json:"shipping_document_info"`
}
GetShippingDocumentInfoResponse
func (GetShippingDocumentInfoResponse) String ¶
func (g GetShippingDocumentInfoResponse) String() string
String
type GetShippingDocumentInfoResult ¶
type GetShippingDocumentInfoResult struct { commonentity.Result Response GetShippingDocumentInfoResponse `json:"response"` }
GetShippingDocumentInfoResult
func (GetShippingDocumentInfoResult) String ¶
func (g GetShippingDocumentInfoResult) String() string
String
type GetShippingDocumentParameterResult ¶
type GetShippingDocumentParameterResult struct { commonentity.Result Warning []ShippingDocumentParameterRequestOrderListEntity `json:"warning"` Response GetShippingDocumentParameterResultResponse `json:"response"` }
GetShippingDocumentParameterResult
func (GetShippingDocumentParameterResult) String ¶
func (g GetShippingDocumentParameterResult) String() string
String
type GetShippingDocumentParameterResultEntity ¶
type GetShippingDocumentParameterResultEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` SuggestShippingDocumentType string `json:"suggest_shipping_document_type"` SelectableShippingDocumentType []string `json:"selectable_shipping_document_type"` FailError string `json:"fail_error"` FailMessage string `json:"fail_message"` }
GetShippingDocumentParameterResultEntity
func (GetShippingDocumentParameterResultEntity) String ¶
func (g GetShippingDocumentParameterResultEntity) String() string
String
type GetShippingDocumentParameterResultResponse ¶
type GetShippingDocumentParameterResultResponse struct {
ResultList []GetShippingDocumentParameterResultEntity `json:"result_list"`
}
GetShippingDocumentParameterResultResponse
func (GetShippingDocumentParameterResultResponse) String ¶
func (g GetShippingDocumentParameterResultResponse) String() string
String
type GetShippingDocumentResult ¶
type GetShippingDocumentResult struct { commonentity.Result Warning []ShippingDocumentParameterRequestOrderListEntity `json:"warning"` Response GetShippingDocumentResultResponse `json:"response"` }
GetShippingDocumentResult
type GetShippingDocumentResultEntity ¶
type GetShippingDocumentResultEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` Status string `json:"status"` FailError string `json:"fail_error"` FailMessage string `json:"fail_message"` }
GetShippingDocumentResultEntity
func (GetShippingDocumentResultEntity) String ¶
func (g GetShippingDocumentResultEntity) String() string
String
type GetShippingDocumentResultRequestOrderListEntity ¶
type GetShippingDocumentResultRequestOrderListEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` ShippingDocumentType string `json:"shipping_document_type"` }
GetShippingDocumentResultRequestOrderListEntity
func (GetShippingDocumentResultRequestOrderListEntity) String ¶
func (c GetShippingDocumentResultRequestOrderListEntity) String() string
String
type GetShippingDocumentResultResponse ¶
type GetShippingDocumentResultResponse struct {
ResultList []GetShippingDocumentResultEntity `json:"result_list"`
}
GetShippingDocumentResultResponse
func (GetShippingDocumentResultResponse) String ¶
func (g GetShippingDocumentResultResponse) String() string
String
type GetShippingParameterResponse ¶
type GetShippingParameterResponse struct { InfoNeeded InfoNeededEntity `json:"info_needed"` Dropoff DropoffEntity `json:"dropoff"` Pickup PickupEntity `json:"pickup"` }
GetShippingParameterResponse
func (GetShippingParameterResponse) String ¶
func (g GetShippingParameterResponse) String() string
String
type GetShippingParameterResult ¶
type GetShippingParameterResult struct { commonentity.Result Response GetShippingParameterResponse `json:"response"` }
GetShippingParameterResult
func (GetShippingParameterResult) String ¶
func (g GetShippingParameterResult) String() string
String
type GetTrackingInfoResponse ¶
type GetTrackingInfoResponse struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` LogisticsStatus string `json:"logistics_status"` TrackingInfo []TrackingInfoEntity `json:"tracking_info"` }
GetShippingParameterResponse
type GetTrackingInfoResult ¶
type GetTrackingInfoResult struct { commonentity.Result Response GetTrackingInfoResponse `json:"response"` }
GetTrackingInfoResult
type GetTrackingNumberResult ¶
type GetTrackingNumberResult struct { commonentity.Result Response TrackingNumberEntity `json:"response"` }
GetTrackingNumberResult
type InfoNeededEntity ¶
type InfoNeededEntity struct { Dropoff []string `json:"dropoff"` Pickup []string `json:"pickup"` NonIntegrated []string `json:"non_integrated"` }
InfoNeededEntity
type ItemMaxDimensionEntity ¶
type ItemMaxDimensionEntity struct { Height float32 `json:"height"` Width float32 `json:"width"` Length float32 `json:"length"` Unit string `json:"unit"` }
ItemMaxDimensionEntity
type LogisticsChannelEntity ¶
type LogisticsChannelEntity struct { LogisticsChannelID int64 `json:"logistics_channel_id"` Preferred bool `json:"preferred"` LogisticsChannelName string `json:"logistics_channel_name"` CodEnabled bool `json:"cod_enabled"` Enabled bool `json:"enabled"` FeeType string `json:"fee_type"` SizeList []SizeEntity `json:"size_list"` WeightLimit WeightLimitEntity `json:"weight_limit"` ItemMaxDimension ItemMaxDimensionEntity `json:"item_max_dimension"` VolumeLimit VolumeLimitEntity `json:"volume_limit"` }
LogisticsChannelEntity
type PickupEntity ¶
type PickupEntity struct {
AddressList []AddressEntity `json:"address_list"`
}
PickupEntity
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"` }
RecipientAddressEntity
type RecipientSortCodeEntity ¶
type RecipientSortCodeEntity struct { FirstRecipientSortCode string `json:"first_recipient_sort_code"` SecondRecipientSortCode string `json:"second_recipient_sort_code"` ThirdRecipientSortCode string `json:"third_recipient_sort_code"` }
RecipientSortCodeEntity
type SenderSortCodeEntity ¶
type SenderSortCodeEntity struct { FirstSenderSortCode string `json:"first_sender_sort_code"` SecondSenderSortCode string `json:"second_sender_sort_code"` ThirdSenderSortCode string `json:"third_sender_sort_code"` }
SenderSortCodeEntity
type SetAddressConfigResult ¶
type SetAddressConfigResult struct {
commonentity.Result
}
AddressTypeConfigEntity
type ShipOrderRequestDropoffEntity ¶
type ShipOrderRequestDropoffEntity struct { BranchID int64 `json:"branch_id"` SenderRealName string `json:"sender_real_name"` TrackingNumber string `json:"tracking_number"` }
ShipOrderRequestDropoffEntity
func (ShipOrderRequestDropoffEntity) String ¶
func (s ShipOrderRequestDropoffEntity) String() string
String
type ShipOrderRequestNonIntegratedEntity ¶
type ShipOrderRequestNonIntegratedEntity struct {
TrackingNumber string `json:"tracking_number"`
}
NonIntegratedEntity
func (ShipOrderRequestNonIntegratedEntity) String ¶
func (n ShipOrderRequestNonIntegratedEntity) String() string
String
type ShipOrderRequestPickupEntity ¶
type ShipOrderRequestPickupEntity struct { AddressID int64 `json:"address_id"` PickupTimeID string `json:"pickup_time_id"` TrackingNumber string `json:"tracking_number"` }
ShipOrderRequestPickupEntity
func (ShipOrderRequestPickupEntity) String ¶
func (s ShipOrderRequestPickupEntity) String() string
String
type ShippingDocumentInfoEntity ¶
type ShippingDocumentInfoEntity struct { LogisticsChannelID int64 `json:"logistics_channel_id"` ShippingCarrier string `json:"shipping_carrier"` ServiceCode string `json:"service_code"` FirstMileName string `json:"first_mile_name"` LastMileName string `json:"last_mile_name"` GoodsToDeclare bool `json:"goods_to_declare"` TrackingNumber string `json:"tracking_number"` Zone string `json:"zone"` LaneCode string `json:"lane_code"` WarehouseAddress string `json:"warehouse_address"` WarehouseID string `json:"warehouse_id"` RecipientAddress RecipientAddressEntity `json:"recipient_address"` Cod bool `json:"cod"` RecipientSortCode RecipientSortCodeEntity `json:"recipient_sort_code"` SenderSortCode SenderSortCodeEntity `json:"sender_sort_code"` ThirdPartyLogisticInfo ThirdPartyLogisticInfoEntity `json:"third_party_logistic_info"` BuyerCpfID string `json:"buyer_cpf_id"` ShopeeTrackingNumber string `json:"shopee_tracking_number"` LastMileTrackingNumber string `json:"last_mile_tracking_number"` }
ShippingDocumentInfoEntity
func (ShippingDocumentInfoEntity) String ¶
func (s ShippingDocumentInfoEntity) String() string
String
type ShippingDocumentParameterRequestOrderListEntity ¶
type ShippingDocumentParameterRequestOrderListEntity struct { OrderSn string `json:"order_sn"` PackageNumber string `json:"package_number"` }
ShippingDocumentParameterRequestOrderListEntity
func (ShippingDocumentParameterRequestOrderListEntity) String ¶
func (s ShippingDocumentParameterRequestOrderListEntity) String() string
String
type SizeEntity ¶
type SizeEntity struct { SizeID string `json:"size_id"` Name string `json:"name"` DefaultPrice float32 `json:"default_price"` }
SizeEntity
type ThirdPartyLogisticInfoEntity ¶
type ThirdPartyLogisticInfoEntity struct { ServiceDescription string `json:"service_description"` Barcode string `json:"barcode"` PurchaseTime string `json:"purchase_time"` ReturnTime string `json:"return_time"` ManufacturersName string `json:"manufacturers_name"` ManufacturersWebsite string `json:"manufacturers_website"` RecipientArea string `json:"recipient_area"` RouteStep string `json:"route_step"` Suda5Code string `json:"suda5_code"` LargeLogisticsID string `json:"large_logistics_id"` ParentID string `json:"parent_id"` ReturnCycle string `json:"return_cycle"` ReturnMode string `json:"return_mode"` Prompt string `json:"prompt"` OrderSn string `json:"order_sn"` Qrcode string `json:"qrcode"` EcSupplierName string `json:"ec_supplier_name"` EcBarCode16 string `json:"ec_bar_code16"` EquipmentID string `json:"equipment_id"` EshopID string `json:"eshop_id"` EcBarCode9 string `json:"ec_bar_code9"` PelicanTrackingNo string `json:"pelican_tracking_no"` PrintDate string `json:"print_date"` Pzip string `json:"pzip"` PzipC string `json:"pzip_c"` DeliverAreaTxt string `json:"deliver_area_txt"` DeliverDateYmd string `json:"deliver_date_ymd"` SdDriverCode string `json:"sd_driver_code"` MdDriverCode string `json:"md_driver_code"` PutorderStackzoneCode string `json:"putorder_stackzone_code"` CustomerCode string `json:"customer_code"` }
ThirdPartyLogisticInfoEntity
func (ThirdPartyLogisticInfoEntity) String ¶
func (t ThirdPartyLogisticInfoEntity) String() string
String
type TimeSlotEntity ¶
type TimeSlotEntity struct { Date int `json:"date"` TimeText string `json:"time_text"` PickupTimeID string `json:"pickup_time_id"` }
TimeSlotEntity
type TrackingInfoEntity ¶
type TrackingInfoEntity struct { UpdateTime int `json:"update_time"` Description string `json:"description"` }
TrackingInfoEntity
type TrackingNumberEntity ¶
type TrackingNumberEntity struct { TrackingNumber string `json:"tracking_number"` PlpNumber string `json:"plp_number"` FirstMileTrackingNumber string `json:"first_mile_tracking_number"` LastMileTrackingNumber string `json:"last_mile_tracking_number"` }
TrackingNumberEntity
type UpdateChannelResponse ¶
type UpdateChannelResponse struct { ShopID int64 `json:"shop_id"` Enabled bool `json:"enabled"` Preferred bool `json:"preferred"` CodEnabled bool `json:"cod_enabled"` LogisticsChannelID int64 `json:"logistics_channel_id"` }
UpdateChannelResponse
type UpdateChannelResult ¶
type UpdateChannelResult struct { commonentity.Result Response UpdateChannelResponse `json:"response"` }
UpdateChannelResult
type UpdateShippingOrderRequestPickupEntity ¶
type UpdateShippingOrderRequestPickupEntity struct { AddressID int64 `json:"address_id"` PickupTimeID string `json:"pickup_time_id"` }
UpdateShippingOrderRequestPickupEntity
func (UpdateShippingOrderRequestPickupEntity) String ¶
func (u UpdateShippingOrderRequestPickupEntity) String() string
String
type UpdateShippingOrderResult ¶
type UpdateShippingOrderResult struct {
commonentity.Result
}
UpdateShippingOrderResult
type VolumeLimitEntity ¶
type VolumeLimitEntity struct { ItemMaxVolume float32 `json:"item_max_volume"` ItemMinVolume float32 `json:"item_min_volume"` }
VolumeLimitEntity
type WeightLimitEntity ¶
type WeightLimitEntity struct { ItemMaxWeight float32 `json:"item_max_weight"` ItemMinWeight float32 `json:"item_min_weight"` }
WeightLimitEntity
Source Files ¶
- addressentity.go
- addresstypeconfigentity.go
- batchshiporderresult.go
- branchentity.go
- branchlistentity.go
- createshippingdocumentresult.go
- deleteaddressresult.go
- downloadshippingdocumentresult.go
- dropoffentity.go
- getaddresslistresult.go
- getchannellistresult.go
- getshippingdocumentinforesult.go
- getshippingdocumentparameterresult.go
- getshippingdocumentresult.go
- getshippingparameterresult.go
- gettrackinginforesult.go
- gettrackingnumberresult.go
- infoneededentity.go
- itemmaxdimensionentity.go
- logisticschannelentity.go
- nonintegratedentity.go
- orderlistentity.go
- pickupentity.go
- recipientaddressentity.go
- recipientsortcodeentity.go
- sendersortcodeentity.go
- setaddressconfigresult.go
- shiporderresult.go
- shippingdocumentinfoentity.go
- sizeentity.go
- thirdpartylogisticinfoentity.go
- timeslotentity.go
- trackinginfoentity.go
- trackingnumberentity.go
- updatechannelresult.go
- updateshippingorderresult.go
- volumelimitentity.go
- weightlimitentity.go