Class Refund
Class Refund
A refund transaction.
- PayPal\Common\PayPalModel
-
PayPal\Common\PayPalResourceModel
implements
PayPal\Rest\IResource
-
PayPal\Api\Refund
Direct known subclasses
Methods summary
public
|
|
public
string
|
|
public
|
#
setAmount(
Details including both refunded amount (to payer) and refunded fee (to payee). 10 characters max. |
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setInvoiceNumber( string $invoice_number )
Your own invoice or tracking ID number. Character length and limitations: 127 single-byte alphanumeric characters. |
public
string
|
#
getInvoiceNumber( )
Your own invoice or tracking ID number. Character length and limitations: 127 single-byte alphanumeric characters. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setParentPayment( string $parent_payment )
ID of the payment resource on which this transaction is based. |
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setReasonCode( string $reason_code )
The reason code for the refund state being pending Valid Values: ["ECHECK"] |
public
string
|
|
public static
|
#
get( string $refundId,
Shows details for a refund, by ID. |
Methods inherited from PayPal\Common\PayPalResourceModel
addLink(),
executeCall(),
getLink(),
getLinks(),
removeLink(),
setLinks(),
updateAccessToken()
Methods inherited from PayPal\Common\PayPalModel
__construct(),
__get(),
__isset(),
__set(),
__toString(),
__unset(),
fromArray(),
fromJson(),
getList(),
setCredential(),
toArray(),
toJSON()