Repository navigation
Expand file tree
/
Copy pathaddress.ts
More file actions
76 lines (71 loc) · 1.68 KB
/
Copy pathaddress.ts
File metadata and controls
76 lines (71 loc) · 1.68 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/**
* Klaviyo API
* The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.
*
* Contact: developers@klaviyo.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
export class Address {
/**
* Street address line 1.
*/
'streetAddress1': string;
/**
* City.
*/
'city': string;
/**
* State, province, or region.
*/
'region': string;
/**
* Postal code.
*/
'postalCode': string;
/**
* ISO 3166-1 alpha-2 country code for the business address.
*/
'country': string;
/**
* Street address line 2.
*/
'streetAddress2'?: string | null;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "streetAddress1",
"baseName": "street_address_1",
"type": "string"
},
{
"name": "city",
"baseName": "city",
"type": "string"
},
{
"name": "region",
"baseName": "region",
"type": "string"
},
{
"name": "postalCode",
"baseName": "postal_code",
"type": "string"
},
{
"name": "country",
"baseName": "country",
"type": "string"
},
{
"name": "streetAddress2",
"baseName": "street_address_2",
"type": "string"
} ];
static getAttributeTypeMap() {
return Address.attributeTypeMap;
}
}