-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_customer.go
36 lines (35 loc) · 1.46 KB
/
model_customer.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
33
34
35
36
/*
* BillaBear
*
* The REST API provided by BillaBear
*
* API version: 1.1.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package billabear
type Customer struct {
Id string `json:"id,omitempty"`
Email string `json:"email"`
// The tax number for the customer <strong>Since 1.1</strong>
TaxNumber string `json:"tax_number,omitempty"`
// The tax rate for the customer on for standard services a <strong>Since 1.1</strong>
StandardTaxRate float32 `json:"standard_tax_rate,omitempty"`
// The tax rate for the customer on digital services <strong>Since 1.1</strong>
DigitalTaxRate float32 `json:"digital_tax_rate,omitempty"`
// Choice between card and invoice
BillingType string `json:"billing_type,omitempty"`
// Choice between 'individual' and 'business'. When not provided 'individual' is used. <strong>Since 1.1</strong>
Type_ string `json:"type,omitempty"`
Reference string `json:"reference,omitempty"`
ExternalReference string `json:"external_reference,omitempty"`
Address *Address `json:"address,omitempty"`
// Defaults to 'en' if not sent.
Locale string `json:"locale,omitempty"`
// Defaults to 'default' if not sent.
Brand string `json:"brand,omitempty"`
// Choice between 'pdf' and 'xrechnung'. <strong>Since 2024.02.01</strong>
InvoiceFormat string `json:"invoice_format,omitempty"`
// If the customer has opted in for marketing
MarketingOptIn bool `json:"marketing_opt_in,omitempty"`
}