Class RefundRequest
Class RefundRequest
A refund transaction.
- PayPal\Common\PayPalModel
- PayPal\Api\RefundRequest
Methods summary
public
|
#
setAmount(
Details including both refunded amount (to payer) and refunded fee (to payee). |
public
|
|
public
|
#
setDescription( string $description )
Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters. |
public
string
|
#
getDescription( )
Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters. |
public
|
#
setRefundSource( string $refund_source )
Type of PayPal funding source (balance or eCheck) that can be used for auto refund. Valid Values: ["INSTANT_FUNDING_SOURCE", "ECHECK", "UNRESTRICTED"] |
public
string
|
#
getRefundSource( )
Type of PayPal funding source (balance or eCheck) that can be used for auto refund. |
public
|
|
public
string
|
|
public
|
#
setInvoiceNumber( string $invoice_number )
The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters. |
public
string
|
#
getInvoiceNumber( )
The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters. |
public
|
#
setRefundAdvice( boolean $refund_advice )
Flag to indicate that the buyer was already given store credit for a given transaction. |
public
boolean
|
#
getRefundAdvice( )
Flag to indicate that the buyer was already given store credit for a given transaction. |
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()