PHP Класс PayPal\Api\Error

Наследование: extends PayPal\Common\PPModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addDetail ( ErrorDetails $errorDetails ) Append Details to the list.
addLink ( PayPal\Api\Links $links ) Append Links to the list.
getCode ( ) : string PayPal internal error code.
getDebugId ( ) : string PayPal internal identifier used for correlation purposes.
getDetails ( ) : ErrorDetails[] Additional details of the error
getFmfDetails ( ) : FmfDetails Fraud filter details. Only supported when the payment_method is set to credit_card
getInformationLink ( ) : string URI for detailed information related to this error for the developer.
getLinks ( ) : PayPal\Api\Links[] Gets Links
getMessage ( ) : string Message describing the error.
getName ( ) : string Human readable, unique name of the error.
getProcessorResponse ( ) : PayPal\Api\ProcessorResponse response codes returned from a payment processor such as avs, cvv, etc. Only supported when the payment_method is set to credit_card.
getPurchaseUnitReferenceId ( ) : string Reference ID of the purchase_unit associated with this error
removeDetail ( ErrorDetails $errorDetails ) Remove Details from the list.
removeLink ( PayPal\Api\Links $links ) Remove Links from the list.
setCode ( string $code ) PayPal internal error code.
setDebugId ( string $debug_id ) PayPal internal identifier used for correlation purposes.
setDetails ( ErrorDetails[] $details ) Additional details of the error
setFmfDetails ( FmfDetails $fmf_details ) Fraud filter details. Only supported when the payment_method is set to credit_card
setInformationLink ( string $information_link ) URI for detailed information related to this error for the developer.
setLinks ( PayPal\Api\Links[] $links ) Sets Links
setMessage ( string $message ) Message describing the error.
setName ( string $name ) Human readable, unique name of the error.
setProcessorResponse ( PayPal\Api\ProcessorResponse $processor_response ) response codes returned from a payment processor such as avs, cvv, etc. Only supported when the payment_method is set to credit_card.
setPurchaseUnitReferenceId ( string $purchase_unit_reference_id ) Reference ID of the purchase_unit associated with this error

Описание методов

addDetail() публичный Метод

Append Details to the list.
public addDetail ( ErrorDetails $errorDetails )
$errorDetails ErrorDetails

getCode() публичный Метод

PayPal internal error code.
Устаревший: Not publicly available
public getCode ( ) : string
Результат string

getDebugId() публичный Метод

PayPal internal identifier used for correlation purposes.
public getDebugId ( ) : string
Результат string

getDetails() публичный Метод

Additional details of the error
public getDetails ( ) : ErrorDetails[]
Результат ErrorDetails[]

getFmfDetails() публичный Метод

Fraud filter details. Only supported when the payment_method is set to credit_card
Устаревший: Not publicly available
public getFmfDetails ( ) : FmfDetails
Результат FmfDetails

getMessage() публичный Метод

Message describing the error.
public getMessage ( ) : string
Результат string

getName() публичный Метод

Human readable, unique name of the error.
public getName ( ) : string
Результат string

getProcessorResponse() публичный Метод

response codes returned from a payment processor such as avs, cvv, etc. Only supported when the payment_method is set to credit_card.
Устаревший: Not publicly available
public getProcessorResponse ( ) : PayPal\Api\ProcessorResponse
Результат PayPal\Api\ProcessorResponse

getPurchaseUnitReferenceId() публичный Метод

Reference ID of the purchase_unit associated with this error
Устаревший: Not publicly available
public getPurchaseUnitReferenceId ( ) : string
Результат string

removeDetail() публичный Метод

Remove Details from the list.
public removeDetail ( ErrorDetails $errorDetails )
$errorDetails ErrorDetails

setCode() публичный Метод

PayPal internal error code.
Устаревший: Not publicly available
public setCode ( string $code )
$code string

setDebugId() публичный Метод

PayPal internal identifier used for correlation purposes.
public setDebugId ( string $debug_id )
$debug_id string

setDetails() публичный Метод

Additional details of the error
public setDetails ( ErrorDetails[] $details )
$details ErrorDetails[]

setFmfDetails() публичный Метод

Fraud filter details. Only supported when the payment_method is set to credit_card
Устаревший: Not publicly available
public setFmfDetails ( FmfDetails $fmf_details )
$fmf_details FmfDetails

setMessage() публичный Метод

Message describing the error.
public setMessage ( string $message )
$message string

setName() публичный Метод

Human readable, unique name of the error.
public setName ( string $name )
$name string

setProcessorResponse() публичный Метод

response codes returned from a payment processor such as avs, cvv, etc. Only supported when the payment_method is set to credit_card.
Устаревший: Not publicly available
public setProcessorResponse ( PayPal\Api\ProcessorResponse $processor_response )
$processor_response PayPal\Api\ProcessorResponse

setPurchaseUnitReferenceId() публичный Метод

Reference ID of the purchase_unit associated with this error
Устаревший: Not publicly available
public setPurchaseUnitReferenceId ( string $purchase_unit_reference_id )
$purchase_unit_reference_id string