PHP 클래스 PayPal\Api\Error

상속: extends PayPal\Common\PPModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
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

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