-
Notifications
You must be signed in to change notification settings - Fork 6
/
tax_rates.go
26 lines (23 loc) · 1.02 KB
/
tax_rates.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
package invoiced
type TaxRateRequest struct {
Currency *string `json:"currency,omitempty"`
Id *string `json:"id,omitempty"`
Inclusive *bool `json:"inclusive,omitempty"`
IsPercent *bool `json:"is_percent,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
Value *float64 `json:"value,omitempty"`
}
type TaxRate struct {
CreatedAt int64 `json:"created_at"`
Currency string `json:"currency"`
Id string `json:"id"`
Inclusive bool `json:"inclusive"`
IsPercent bool `json:"is_percent"`
Metadata map[string]interface{} `json:"metadata"`
Name string `json:"name"`
Object string `json:"object"`
UpdatedAt int64 `json:"updated_at"`
Value float64 `json:"value"`
}
type TaxRates []*TaxRate