PHP Класс PayPal\Api\ErrorDetails

Details about a specific error.
Наследование: extends PayPal\Common\PayPalModel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

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

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

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

Name of the field that caused the error.
public getField ( ) : string
Результат string

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

Reason for the error.
public getIssue ( ) : string
Результат string

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

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

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

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

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

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

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

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

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