aboutsummaryrefslogtreecommitdiffstats
path: root/cost.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-05-11 16:45:09 -0400
committerSam Anthony <sam@samanthony.xyz>2026-05-11 16:45:09 -0400
commit329257be8d9fb05d3dcea49823acea0f878ed52c (patch)
tree8d51639a3fd9184e1c56fa0f11dc614230fe7d38 /cost.go
parent6f2c582f691c6984d5296b714ae41477a102a77b (diff)
downloadlulu-329257be8d9fb05d3dcea49823acea0f878ed52c.zip
validate email and phone number
Diffstat (limited to 'cost.go')
-rw-r--r--cost.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/cost.go b/cost.go
index ab605ce..c0d340a 100644
--- a/cost.go
+++ b/cost.go
@@ -19,12 +19,12 @@ type PrintJobCostLineItem struct {
}
type printJobCostReqShipAddr struct {
- City string `json:"city"`
- Country string `json:"country_code"`
- PostCode string `json:"postcode"`
- State string `json:"state_code"`
- Street1 string `json:"street1"`
- Phone string `json:"phone_number"`
+ City string `json:"city"`
+ Country string `json:"country_code"`
+ PostCode string `json:"postcode"`
+ State string `json:"state_code"`
+ Street1 string `json:"street1"`
+ Phone PhoneNumber `json:"phone_number"`
}
// PrintJobCost is the response from /print-job-cost-calculations/.