Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Date ¶
func (Date) MarshalXML ¶
type Order ¶
type Order struct {
XMLName xml.Name `xml:"Order"`
OrderID CDATA
OrderNumber int
OrderDate Date
OrderStatus CDATA
LastModified Date
ShippingMethod CDATA
PaymentMethod CDATA
OrderTotal string
TaxAmount string
ShippingAmount string
CustomerNotes CDATA
InternalNotes CDATA
// Need to nest items slice so we can have a proper XML node here
Items struct {
Items []Item
}
Customer *Customer
// Order Id
CustomField1 string
// Payment Ids
CustomField2 string
// User Id
CustomField3 string
}
Click to show internal directories.
Click to hide internal directories.