forked from LiveCarta/PayPal-PHP-SDK
Payments API Updates
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user