| Total Complexity | 1 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class BillingAddressResource extends Ressource |
||
| 8 | { |
||
| 9 | /** @var array */ |
||
| 10 | protected $keys = [ |
||
| 11 | 'civility', |
||
| 12 | 'name', |
||
| 13 | 'firstName', |
||
| 14 | 'lastName', |
||
| 15 | 'middleName', |
||
| 16 | 'address', |
||
| 17 | 'addressLine1', |
||
| 18 | 'addressLine2', |
||
| 19 | 'addressLine3', |
||
| 20 | 'city', |
||
| 21 | 'postalCode', |
||
| 22 | 'country', |
||
| 23 | 'stateOrProvince', |
||
| 24 | 'countrySubdivision', |
||
| 25 | 'email', |
||
| 26 | 'phone', |
||
| 27 | 'mobilePhone', |
||
| 28 | 'homePhone', |
||
| 29 | 'workPhone', |
||
| 30 | ]; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Client constructor. |
||
| 34 | * |
||
| 35 | * @param string $addressLine |
||
| 36 | * @param string $city |
||
| 37 | * @param string $postalCode |
||
| 38 | * @param string $country |
||
| 39 | * @throws Exception |
||
| 40 | */ |
||
| 41 | public function __construct(string $addressLine, string $city, string $postalCode, string $country) |
||
| 51 |