aboutsummaryrefslogtreecommitdiffstats
path: root/ship.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-05-09 15:45:32 -0400
committerSam Anthony <sam@samanthony.xyz>2026-05-09 15:45:32 -0400
commit5319e2af4c4a11c90323db7359e8edced6edc1fc (patch)
treeb4bd6f09db3adf2d0174e175b466c59f445b0c9b /ship.go
parent8e1e1b0b71cea0705bb2ab7ed9b4c25379b92a77 (diff)
downloadlulu-5319e2af4c4a11c90323db7359e8edced6edc1fc.zip
unmarshal /print-job-cost-calculations response
Diffstat (limited to 'ship.go')
-rw-r--r--ship.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/ship.go b/ship.go
index a31724e..aef655e 100644
--- a/ship.go
+++ b/ship.go
@@ -14,10 +14,13 @@ const (
)
type ShippingAddress struct {
- City string `json:"city"` // Lübeck
- CountryCode string `json:"country_code"` // DE
- PostCode string `json:"postcode"` // 23552
+ Name string `json:"name"`
+ Phone string `json:"phone_number"`
+ CountryCode string `json:"country_code"`
+ PostCode string `json:"postcode"`
StateCode string `json:"state_code"`
- Street1 string `json:"street1"` // Holstenstr. 40
- Phone string `json:"phone_number"` // 844-212-0689
+ City string `json:"city"`
+ Street1 string `json:"street1"`
+ Street2 string `json:"street2"`
+ IsBusiness bool `json:"is_business"`
}