forked from 1f991/patreon-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddress.php
More file actions
70 lines (61 loc) · 1.16 KB
/
Address.php
File metadata and controls
70 lines (61 loc) · 1.16 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
<?php declare(strict_types=1);
namespace Squid\Patreon\Entities;
class Address extends Entity
{
/**
* Resource type (from Patreon).
*
* @var string
*/
protected $type = 'address';
/**
* Name of the person to deliver to at this address.
* Example: John Doe
*
* @var
*/
public $addressee;
/**
* Name of the city.
* Example: London
*
* @var string
*/
public $city;
/**
* ISO 3166-1 Alpha-2 Code representing the country.
* Example: GB
*
* @var string
*/
public $country;
/**
* First line of the street address.
* Example: Aldgate Tower
*
* @var string
*/
public $line_1;
/**
* Second line of the street address.
* Example: 2 Leman Street
*
* @var string
*/
public $line_2;
/**
* Postal / Zip Code of the street address.
* Example: E1 8FA
*
* @var string
*/
public $postal_code;
/**
* ANSI standard INCITS 38:2009 US State code if address is in the United
* States.
* Example: CA
*
* @var string
*/
public $state;
}