-
Notifications
You must be signed in to change notification settings - Fork 6
/
pending_line_items.go
32 lines (29 loc) · 1.48 KB
/
pending_line_items.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package invoiced
type PendingLineItems []PendingLineItem
type PendingLineItemRequest struct {
Description *string `json:"description,omitempty"`
Discountable *bool `json:"discountable,omitempty"`
Discounts []*DiscountRequest `json:"discounts,omitempty"`
Item *string `json:"catalog_item,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
Quantity *float64 `json:"quantity,omitempty"`
Taxable *bool `json:"taxable,omitempty"`
Taxes []*TaxRequest `json:"taxes,omitempty"`
Type *string `json:"type,omitempty"`
UnitCost *float64 `json:"unit_cost,omitempty"`
}
type PendingLineItem struct {
Description string `json:"description"`
Discountable bool `json:"discountable"`
Discounts []Discount `json:"discounts"`
Id int64 `json:"id"`
Item string `json:"catalog_item"`
Metadata map[string]interface{} `json:"metadata"`
Name string `json:"name"`
Quantity float64 `json:"quantity"`
Taxable bool `json:"taxable"`
Taxes []Tax `json:"taxes"`
Type string `json:"type"`
UnitCost float64 `json:"unit_cost"`
}