From 5319e2af4c4a11c90323db7359e8edced6edc1fc Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 9 May 2026 15:45:32 -0400 Subject: unmarshal /print-job-cost-calculations response --- ship.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'ship.go') 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"` } -- cgit v1.2.3