aboutsummaryrefslogtreecommitdiffstats
path: root/cost.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-05-21 18:13:15 -0400
committerSam Anthony <sam@samanthony.xyz>2026-05-21 18:21:54 -0400
commit06ba9b3e492ca47f6f966bd7bd6044809b989c30 (patch)
tree8077af89b899ca57be8d688380c36bbc70534103 /cost.go
parent9d5cc798f82ff4a899984fa73014bd604d44ee32 (diff)
downloadlulu-0.1.0.zip
tidyv0.1.0
Diffstat (limited to 'cost.go')
-rw-r--r--cost.go4
1 files changed, 3 insertions, 1 deletions
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"`