Class DetailedRefund
Class DetailedRefund
A refund transaction. This is the resource that is returned on GET /refund
- PayPal\Common\PayPalModel
- PayPal\Common\PayPalResourceModel implements PayPal\Rest\IResource
- PayPal\Api\Refund
- PayPal\Api\DetailedRefund
Methods summary
public
|
|
public
string
|
|
public
|
#
setRefundToPayer(
Amount refunded to payer of the original transaction, in the current Refund call |
public
|
#
getRefundToPayer( )
Amount refunded to payer of the original transaction, in the current Refund call |
public
|
#
setRefundToExternalFunding(
List of external funding that were refunded by the Refund call. Each external_funding unit should have a unique reference_id |
public
|
#
getRefundToExternalFunding( )
List of external funding that were refunded by the Refund call. Each external_funding unit should have a unique reference_id |
public
|
#
setRefundFromTransactionFee(
Transaction fee refunded to original recipient of payment. |
public
|
|
public
|
#
setRefundFromReceivedAmount(
Amount subtracted from PayPal balance of the original recipient of payment, to make this refund. |
public
|
#
getRefundFromReceivedAmount( )
Amount subtracted from PayPal balance of the original recipient of payment, to make this refund. |
public
|
#
setTotalRefundedAmount(
Total amount refunded so far from the original purchase. Say, for example, a buyer makes $100 purchase, the buyer was refunded $20 a week ago and is refunded $30 in this transaction. The gross refund amount is $30 (in this transaction). The total refunded amount is $50. |
public
|
#
getTotalRefundedAmount( )
Total amount refunded so far from the original purchase. Say, for example, a buyer makes $100 purchase, the buyer was refunded $20 a week ago and is refunded $30 in this transaction. The gross refund amount is $30 (in this transaction). The total refunded amount is $50. |
Methods inherited from PayPal\Api\Refund
get()
,
getAmount()
,
getCaptureId()
,
getCreateTime()
,
getDescription()
,
getId()
,
getInvoiceNumber()
,
getParentPayment()
,
getReason()
,
getReasonCode()
,
getSaleId()
,
getState()
,
getUpdateTime()
,
setAmount()
,
setCaptureId()
,
setCreateTime()
,
setDescription()
,
setId()
,
setInvoiceNumber()
,
setParentPayment()
,
setReason()
,
setReasonCode()
,
setSaleId()
,
setState()
,
setUpdateTime()
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()