Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84941b7acd | ||
|
|
28f77f63b9 | ||
|
|
2a97bca474 |
@@ -37,6 +37,7 @@ type SnipcartItem struct {
|
||||
Name string `json:"name"`
|
||||
Quantity int `json:"quantity"`
|
||||
TotalWeight float64 `json:"totalWeight,omitempty"`
|
||||
TotalPrice float64 `json:"totalPrice,omitempty"`
|
||||
CustomFields []SnipcartCustomField `json:"customFields"`
|
||||
Length float64 `json:"length,omitempty"`
|
||||
Width float64 `json:"width,omitempty"`
|
||||
@@ -48,6 +49,8 @@ type SnipcartItem struct {
|
||||
type SnipcartOrder struct {
|
||||
Token string `json:"token"`
|
||||
Invoice string `json:"invoiceNumber"`
|
||||
Subtotal float64 `json:"subtotal,omitempty"`
|
||||
Total float64 `json:"grandTotal,omitempty"`
|
||||
Status string `json:"status"`
|
||||
TotalWeight float64 `json:"totalWeight"`
|
||||
Email string `json:"email"`
|
||||
|
||||
Reference in New Issue
Block a user