Skip to content

Commit 904c18f

Browse files
committed
Use better name for postal code.
1 parent dae91af commit 904c18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PleskX/Api/Struct/Customer/GeneralInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class GeneralInfo extends \PleskX\Api\Struct
3030
public $address;
3131

3232
/** @var string */
33-
public $pcode;
33+
public $postalCode;
3434

3535
/** @var string */
3636
public $city;
@@ -58,7 +58,7 @@ public function __construct($apiResponse)
5858
'phone',
5959
'fax',
6060
'address',
61-
'pcode',
61+
['pcode' => 'postalCode'],
6262
'city',
6363
'state',
6464
'country',

0 commit comments

Comments
 (0)