Compare commits

..

2 Commits

Author SHA1 Message Date
Bastian de Byl
e1adf8cf4f added Offset and Limit to Orders struct 2023-07-03 12:14:40 -04:00
Bastian de Byl
73195a090f added ShippingError and ShippingErrors struct 2023-06-06 19:54:21 -04:00
2 changed files with 11 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ type OrderUpdate struct {
type Orders struct {
TotalItems int
Offest int
Limit int
Items []Order
}

View File

@@ -6,6 +6,15 @@ import (
"net/http"
)
type ShippingError struct {
Key string `json:"key"`
Message string `json:"message"`
}
type ShippingErrors struct {
Errors []ShippingError `json:"errors"`
}
type TaxShippingInfo struct {
Fees float64 `json:"fees"`
Method string `json:"method"`