Payments API Updates

This commit is contained in:
Jay Patel
2015-10-02 14:25:46 -05:00
parent 02fca1bda4
commit a37b880e96
112 changed files with 3857 additions and 1495 deletions

View File

@@ -13,7 +13,6 @@ use PayPal\Common\PayPalModel;
*
* @property string id
* @property string type
* @property string terms
*/
class Credit extends PayPalModel
{
@@ -21,7 +20,7 @@ class Credit extends PayPalModel
* Unique identifier of credit resource.
*
* @param string $id
*
*
* @return $this
*/
public function setId($id)
@@ -41,11 +40,11 @@ class Credit extends PayPalModel
}
/**
* Specifies the type of credit.
* specifies type of credit
* Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"]
*
* @param string $type
*
*
* @return $this
*/
public function setType($type)
@@ -55,7 +54,7 @@ class Credit extends PayPalModel
}
/**
* Specifies the type of credit
* specifies type of credit
*
* @return string
*/
@@ -64,27 +63,4 @@ class Credit extends PayPalModel
return $this->type;
}
/**
* URI to the associated terms.
*
* @param string $terms
*
* @return $this
*/
public function setTerms($terms)
{
$this->terms = $terms;
return $this;
}
/**
* URI to the associated terms.
*
* @return string
*/
public function getTerms()
{
return $this->terms;
}
}