PHP Класс PayPal\Api\DetailedRefund

A refund transaction. This is the resource that is returned on GET /refund
Наследование: extends Refund
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getCustom ( ) : string free-form field for the use of clients
getRefundFromReceivedAmount ( ) : PayPal\Api\Currency Amount subtracted from PayPal balance of the original recipient of payment, to make this refund.
getRefundFromTransactionFee ( ) : PayPal\Api\Currency Transaction fee refunded to original recipient of payment.
getRefundToExternalFunding ( ) : ExternalFunding[] List of external funding that were refunded by the Refund call. Each external_funding unit should have a unique reference_id
getRefundToPayer ( ) : PayPal\Api\Currency Amount refunded to payer of the original transaction, in the current Refund call
getTotalRefundedAmount ( ) : PayPal\Api\Currency 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.
setCustom ( string $custom ) free-form field for the use of clients
setRefundFromReceivedAmount ( PayPal\Api\Currency $refund_from_received_amount ) Amount subtracted from PayPal balance of the original recipient of payment, to make this refund.
setRefundFromTransactionFee ( PayPal\Api\Currency $refund_from_transaction_fee ) Transaction fee refunded to original recipient of payment.
setRefundToExternalFunding ( ExternalFunding[] $refund_to_external_funding ) List of external funding that were refunded by the Refund call. Each external_funding unit should have a unique reference_id
setRefundToPayer ( PayPal\Api\Currency $refund_to_payer ) Amount refunded to payer of the original transaction, in the current Refund call
setTotalRefundedAmount ( PayPal\Api\Currency $total_refunded_amount ) 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.

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

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

free-form field for the use of clients
public getCustom ( ) : string
Результат string

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

Amount subtracted from PayPal balance of the original recipient of payment, to make this refund.
public getRefundFromReceivedAmount ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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

Transaction fee refunded to original recipient of payment.
public getRefundFromTransactionFee ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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

List of external funding that were refunded by the Refund call. Each external_funding unit should have a unique reference_id
public getRefundToExternalFunding ( ) : ExternalFunding[]
Результат ExternalFunding[]

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

Amount refunded to payer of the original transaction, in the current Refund call
public getRefundToPayer ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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.
public getTotalRefundedAmount ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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

free-form field for the use of clients
public setCustom ( string $custom )
$custom string

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

Amount subtracted from PayPal balance of the original recipient of payment, to make this refund.
public setRefundFromReceivedAmount ( PayPal\Api\Currency $refund_from_received_amount )
$refund_from_received_amount PayPal\Api\Currency

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

Transaction fee refunded to original recipient of payment.
public setRefundFromTransactionFee ( PayPal\Api\Currency $refund_from_transaction_fee )
$refund_from_transaction_fee PayPal\Api\Currency

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

List of external funding that were refunded by the Refund call. Each external_funding unit should have a unique reference_id
public setRefundToExternalFunding ( ExternalFunding[] $refund_to_external_funding )
$refund_to_external_funding ExternalFunding[]

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

Amount refunded to payer of the original transaction, in the current Refund call
public setRefundToPayer ( PayPal\Api\Currency $refund_to_payer )
$refund_to_payer PayPal\Api\Currency

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 setTotalRefundedAmount ( PayPal\Api\Currency $total_refunded_amount )
$total_refunded_amount PayPal\Api\Currency