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