This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Auth/Openid/PPOpenIdAddress.php
japatel dc2ac0fd63 Updated Identity Support from SDK Core
- Moved PPModels required for Identity Support
2014-10-14 14:15:41 -05:00

120 lines
2.1 KiB
PHP

<?php
namespace PayPal\Auth\Openid;
use PayPal\Common\PPModel;
/**
* End-User's preferred address.
*/
class PPOpenIdAddress extends PPModel
{
/**
* Full street address component, which may include house number, street name.
*
* @param string $street_address
*/
public function setStreetAddress($street_address)
{
$this->street_address = $street_address;
return $this;
}
/**
* Full street address component, which may include house number, street name.
*
* @return string
*/
public function getStreetAddress()
{
return $this->street_address;
}
/**
* City or locality component.
*
* @param string $locality
*/
public function setLocality($locality)
{
$this->locality = $locality;
return $this;
}
/**
* City or locality component.
*
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* State, province, prefecture or region component.
*
* @param string $region
*/
public function setRegion($region)
{
$this->region = $region;
return $this;
}
/**
* State, province, prefecture or region component.
*
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* Zip code or postal code component.
*
* @param string $postal_code
*/
public function setPostalCode($postal_code)
{
$this->postal_code = $postal_code;
return $this;
}
/**
* Zip code or postal code component.
*
* @return string
*/
public function getPostalCode()
{
return $this->postal_code;
}
/**
* Country name component.
*
* @param string $country
*/
public function setCountry($country)
{
$this->country = $country;
return $this;
}
/**
* Country name component.
*
* @return string
*/
public function getCountry()
{
return $this->country;
}
}