Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConstConfigPathShipstation = "general.shipstation" ConstConfigPathShipstationEnabled = "general.shipstation.enabled" ConstConfigPathShipstationUsername = "general.shipstation.username" ConstConfigPathShipstationPassword = "general.shipstation.password" )
View Source
const ( ConstErrorModule = "shipstation" ConstErrorLevel = env.ConstErrorLevel )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingAddress ¶
type BillingAddress struct {
Name string
}
type Customer ¶
type Customer struct { CustomerCode string // We use email address here // Containers BillingAddress BillingAddress `xml:"BillTo"` ShippingAddress ShippingAddress `xml:"ShipTo"` }
type Order ¶
type Order struct { OrderId string `xml:"OrderID"` OrderNumber string OrderDate string // Set to string because we can't control the date formatting otherwise OrderStatus string LastModified string // Same formatting issue TaxAmount float64 ShippingAmount float64 OrderTotal float64 // Containers Customer Customer Items []OrderItem `xml:"Items>Item"` }
Click to show internal directories.
Click to hide internal directories.