Compare commits

...

2 Commits

Author SHA1 Message Date
Bastian de Byl
e039b583e2 fixed Curreny to Currency typo 2023-03-13 00:26:11 -04:00
Bastian de Byl
26571a41fa changed ShippingAddress State to Province 2023-03-13 00:16:22 -04:00

View File

@@ -11,7 +11,7 @@ type SnipcartShippingAddress struct {
City string `json:"city"`
Country string `json:"country"`
PostalCode string `json:"postalCode"`
State string `json:"province"`
Province string `json:"province"`
Phone string `json:"phone"`
VatNumber string `json:"vatNumber,omitempty"`
}
@@ -22,7 +22,7 @@ type SnipcartOrderEventContent struct {
Status string `json:"status"`
PaymentStatus string `json:"paymentStatus"`
Email string `json:"email"`
Curreny string `json:"currency"`
Currency string `json:"currency"`
TotalWeight float64 `json:"totalWeight"`
Items []SnipcartItem `json:"items"`
ShippingAddress SnipcartShippingAddress `json:"shippingAddress"`