PHP Класс PayPal\Api\RefundRequest

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

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

Метод Описание
getAmount ( ) : Amount Details including both refunded amount (to payer) and refunded fee (to payee).
getDescription ( ) : string Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
getInvoiceNumber ( ) : string The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
getReason ( ) : string Reason description for the Sale transaction being refunded.
getRefundAdvice ( ) : boolean Flag to indicate that the buyer was already given store credit for a given transaction.
getRefundSource ( ) : string Type of PayPal funding source (balance or eCheck) that can be used for auto refund.
setAmount ( Amount $amount ) Details including both refunded amount (to payer) and refunded fee (to payee).
setDescription ( string $description ) Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
setInvoiceNumber ( string $invoice_number ) The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
setReason ( string $reason ) Reason description for the Sale transaction being refunded.
setRefundAdvice ( boolean $refund_advice ) Flag to indicate that the buyer was already given store credit for a given transaction.
setRefundSource ( string $refund_source ) Type of PayPal funding source (balance or eCheck) that can be used for auto refund.

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

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

Details including both refunded amount (to payer) and refunded fee (to payee).
public getAmount ( ) : Amount
Результат Amount

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

Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
public getDescription ( ) : string
Результат string

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

The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
public getInvoiceNumber ( ) : string
Результат string

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

Reason description for the Sale transaction being refunded.
public getReason ( ) : string
Результат string

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

Flag to indicate that the buyer was already given store credit for a given transaction.
public getRefundAdvice ( ) : boolean
Результат boolean

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

Type of PayPal funding source (balance or eCheck) that can be used for auto refund.
public getRefundSource ( ) : string
Результат string

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

Details including both refunded amount (to payer) and refunded fee (to payee).
public setAmount ( Amount $amount )
$amount Amount

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

Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
public setDescription ( string $description )
$description string

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

The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
public setInvoiceNumber ( string $invoice_number )
$invoice_number string

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

Reason description for the Sale transaction being refunded.
public setReason ( string $reason )
$reason string

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

Flag to indicate that the buyer was already given store credit for a given transaction.
public setRefundAdvice ( boolean $refund_advice )
$refund_advice boolean

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

Valid Values: ["INSTANT_FUNDING_SOURCE", "ECHECK", "UNRESTRICTED"]
public setRefundSource ( string $refund_source )
$refund_source string