forked from LiveCarta/PayPal-PHP-SDK
Payments API Updates
This commit is contained in:
@@ -13,8 +13,6 @@ use PayPal\Common\PayPalModel;
|
||||
*
|
||||
* @property string field
|
||||
* @property string issue
|
||||
* @property string purchase_unit_reference_id
|
||||
* @property string code
|
||||
*/
|
||||
class ErrorDetails extends PayPalModel
|
||||
{
|
||||
@@ -22,7 +20,7 @@ class ErrorDetails extends PayPalModel
|
||||
* Name of the field that caused the error.
|
||||
*
|
||||
* @param string $field
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setField($field)
|
||||
@@ -45,7 +43,7 @@ class ErrorDetails extends PayPalModel
|
||||
* Reason for the error.
|
||||
*
|
||||
* @param string $issue
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIssue($issue)
|
||||
@@ -67,8 +65,9 @@ class ErrorDetails extends PayPalModel
|
||||
/**
|
||||
* Reference ID of the purchase_unit associated with this error
|
||||
*
|
||||
* @deprecated Not publicly available
|
||||
* @param string $purchase_unit_reference_id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
|
||||
@@ -80,6 +79,7 @@ class ErrorDetails extends PayPalModel
|
||||
/**
|
||||
* Reference ID of the purchase_unit associated with this error
|
||||
*
|
||||
* @deprecated Not publicly available
|
||||
* @return string
|
||||
*/
|
||||
public function getPurchaseUnitReferenceId()
|
||||
@@ -90,8 +90,9 @@ class ErrorDetails extends PayPalModel
|
||||
/**
|
||||
* PayPal internal error code.
|
||||
*
|
||||
* @deprecated Not publicly available
|
||||
* @param string $code
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCode($code)
|
||||
@@ -103,6 +104,7 @@ class ErrorDetails extends PayPalModel
|
||||
/**
|
||||
* PayPal internal error code.
|
||||
*
|
||||
* @deprecated Not publicly available
|
||||
* @return string
|
||||
*/
|
||||
public function getCode()
|
||||
|
||||
Reference in New Issue
Block a user