Updated Payment APIs

- Updated SDK Models to latest Payment APIs
- Updated Unit Tests
This commit is contained in:
Jay Patel
2015-02-26 15:03:59 -06:00
parent 241d80cd17
commit 3e43f93f9b
93 changed files with 6079 additions and 1735 deletions

View File

@@ -17,6 +17,8 @@ use PayPal\Common\PayPalModel;
* @property string country_code
* @property string postal_code
* @property string state
* @property string normalization_status
* @property string status
*/
class BaseAddress extends PayPalModel
{
@@ -158,4 +160,52 @@ class BaseAddress extends PayPalModel
return $this->state;
}
/**
* Address normalization status
* Valid Values: ["UNKNOWN", "UNNORMALIZED_USER_PREFERRED", "NORMALIZED", "UNNORMALIZED"]
*
* @param string $normalization_status
*
* @return $this
*/
public function setNormalizationStatus($normalization_status)
{
$this->normalization_status = $normalization_status;
return $this;
}
/**
* Address normalization status
*
* @return string
*/
public function getNormalizationStatus()
{
return $this->normalization_status;
}
/**
* Address status
* Valid Values: ["CONFIRMED", "UNCONFIRMED"]
*
* @param string $status
*
* @return $this
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Address status
*
* @return string
*/
public function getStatus()
{
return $this->status;
}
}