Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b586a3184c | ||
|
|
805491571c | ||
|
|
10a9427598 |
@@ -40,6 +40,6 @@ type CustomField struct {
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Options []string `json:"options,omitempty"`
|
||||
Options string `json:"options,omitempty"`
|
||||
Required bool `json:"required"`
|
||||
}
|
||||
|
||||
@@ -37,11 +37,13 @@ type Order struct {
|
||||
Token string `json:"token"`
|
||||
Created time.Time `json:"creationDate"`
|
||||
Modified time.Time `json:"modificationDate"`
|
||||
Completed time.Time `json:"completionDate"`
|
||||
Invoice string `json:"invoiceNumber"`
|
||||
Subtotal float64 `json:"subtotal,omitempty"`
|
||||
Currency string `json:"currency,omitempty"`
|
||||
Total float64 `json:"grandTotal,omitempty"`
|
||||
TotalTaxable float64 `json:"taxableTotal,omitempty"`
|
||||
TotalTaxes float64 `json:"taxesTotal,omitempty"`
|
||||
Status string `json:"status"`
|
||||
TotalWeight float64 `json:"totalWeight"`
|
||||
ShippingAddress Address `json:"shippingAddress,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user