Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
506 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,237 @@ | ||
<?php | ||
namespace AmazonPayApiSdkExtension\Struct; | ||
|
||
class AddressDetails extends StructBase { | ||
/** | ||
* @var string | ||
*/ | ||
protected $name; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $addressLine1; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $addressLine2; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $addressLine3; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $city; | ||
|
||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $districtOrCounty; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $stateOrRegion; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $postalCode; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $countryCode; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $phoneNumber; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getName() | ||
{ | ||
return $this->name; | ||
} | ||
|
||
/** | ||
* @param string $name | ||
* @return AddressDetails | ||
*/ | ||
public function setName($name) | ||
{ | ||
$this->name = $name; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAddressLine1() | ||
{ | ||
return $this->addressLine1; | ||
} | ||
|
||
/** | ||
* @param string $addressLine1 | ||
* @return AddressDetails | ||
*/ | ||
public function setAddressLine1($addressLine1) | ||
{ | ||
$this->addressLine1 = $addressLine1; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAddressLine2() | ||
{ | ||
return $this->addressLine2; | ||
} | ||
|
||
/** | ||
* @param string $addressLine2 | ||
* @return AddressDetails | ||
*/ | ||
public function setAddressLine2($addressLine2) | ||
{ | ||
$this->addressLine2 = $addressLine2; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAddressLine3() | ||
{ | ||
return $this->addressLine3; | ||
} | ||
|
||
/** | ||
* @param string $addressLine3 | ||
* @return AddressDetails | ||
*/ | ||
public function setAddressLine3($addressLine3) | ||
{ | ||
$this->addressLine3 = $addressLine3; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getCity() | ||
{ | ||
return $this->city; | ||
} | ||
|
||
/** | ||
* @param string $city | ||
* @return AddressDetails | ||
*/ | ||
public function setCity($city) | ||
{ | ||
$this->city = $city; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getDistrictOrCounty() | ||
{ | ||
return $this->districtOrCounty; | ||
} | ||
|
||
/** | ||
* @param string $districtOrCounty | ||
* @return AddressDetails | ||
*/ | ||
public function setDistrictOrCounty($districtOrCounty) | ||
{ | ||
$this->districtOrCounty = $districtOrCounty; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStateOrRegion() | ||
{ | ||
return $this->stateOrRegion; | ||
} | ||
|
||
/** | ||
* @param string $stateOrRegion | ||
* @return AddressDetails | ||
*/ | ||
public function setStateOrRegion($stateOrRegion) | ||
{ | ||
$this->stateOrRegion = $stateOrRegion; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPostalCode() | ||
{ | ||
return $this->postalCode; | ||
} | ||
|
||
/** | ||
* @param string $postalCode | ||
* @return AddressDetails | ||
*/ | ||
public function setPostalCode($postalCode) | ||
{ | ||
$this->postalCode = $postalCode; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getCountryCode() | ||
{ | ||
return $this->countryCode; | ||
} | ||
|
||
/** | ||
* @param string $countryCode | ||
* @return AddressDetails | ||
*/ | ||
public function setCountryCode($countryCode) | ||
{ | ||
$this->countryCode = $countryCode; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPhoneNumber() | ||
{ | ||
return $this->phoneNumber; | ||
} | ||
|
||
/** | ||
* @param string $phoneNumber | ||
* @return AddressDetails | ||
*/ | ||
public function setPhoneNumber($phoneNumber) | ||
{ | ||
$this->phoneNumber = $phoneNumber; | ||
return $this; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.