PHP Class PayPal\Api\ErrorDetails

Details about a specific error.
Inheritance: extends PayPal\Common\PayPalModel
Datei anzeigen Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getCode ( ) : string PayPal internal error code.
getField ( ) : string Name of the field that caused the error.
getIssue ( ) : string Reason for the error.
getPurchaseUnitReferenceId ( ) : string Reference ID of the purchase_unit associated with this error
setCode ( string $code ) PayPal internal error code.
setField ( string $field ) Name of the field that caused the error.
setIssue ( string $issue ) Reason for the error.
setPurchaseUnitReferenceId ( string $purchase_unit_reference_id ) Reference ID of the purchase_unit associated with this error

Method Details

getCode() public method

PayPal internal error code.
Deprecation: Not publicly available
public getCode ( ) : string
return string

getField() public method

Name of the field that caused the error.
public getField ( ) : string
return string

getIssue() public method

Reason for the error.
public getIssue ( ) : string
return string

getPurchaseUnitReferenceId() public method

Reference ID of the purchase_unit associated with this error
Deprecation: Not publicly available

setCode() public method

PayPal internal error code.
Deprecation: Not publicly available
public setCode ( string $code )
$code string

setField() public method

Name of the field that caused the error.
public setField ( string $field )
$field string

setIssue() public method

Reason for the error.
public setIssue ( string $issue )
$issue string

setPurchaseUnitReferenceId() public method

Reference ID of the purchase_unit associated with this error
Deprecation: Not publicly available
public setPurchaseUnitReferenceId ( string $purchase_unit_reference_id )
$purchase_unit_reference_id string