diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-08 17:44:16 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-08 17:44:16 -0400 |
| commit | 8e1e1b0b71cea0705bb2ab7ed9b4c25379b92a77 (patch) | |
| tree | 130a8e83d94ceef4a239336a32fa1a8b9ee7f697 /print.go | |
| parent | ace7694bad5752aa38fec3a13c071cf7b2bebfce (diff) | |
| download | lulu-8e1e1b0b71cea0705bb2ab7ed9b4c25379b92a77.zip | |
shipping address and speed
Diffstat (limited to 'print.go')
| -rw-r--r-- | print.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/print.go b/print.go new file mode 100644 index 0000000..829a5ef --- /dev/null +++ b/print.go @@ -0,0 +1,14 @@ +package lulu + +// printJobCostReq is the json body of a /print-job-cost-calculations/ request. +type printJobCostReq struct { + LineItems []CostCalcLineItem `json:"line_items"` + ShipAddr ShippingAddress `json:"shipping_address"` + ShipOpt ShippingLevel `json:"shipping_option"` +} + +type CostCalcLineItem struct { + NPages uint `json:"page_count"` + Mfg PkgId `json:"pod_package_id"` + Quantity uint +} |