aboutsummaryrefslogtreecommitdiffstats
path: root/print.go
blob: 829a5ef9cb2ffedc4f82d698d579d270374cd461 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}