From 06ba9b3e492ca47f6f966bd7bd6044809b989c30 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 21 May 2026 18:13:15 -0400 Subject: tidy --- cost.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cost.go') diff --git a/cost.go b/cost.go index ac7ad7d..de2080e 100644 --- a/cost.go +++ b/cost.go @@ -60,7 +60,9 @@ type printJobCostReq struct { ShipOpt ShippingLevel `json:"shipping_option"` } -// TODO: just use ShippingAddress? +// printJobCostReqShipAddr is a subset of a shipping address. It is +// necessary because the API returns an error if the address in a +// /print-job-cost-calculations/ request has any extra fields. type printJobCostReqShipAddr struct { City string `json:"city"` Country string `json:"country_code"` -- cgit v1.2.3