PHP 클래스 PayPal\Api\DetailedRefund

A refund transaction. This is the resource that is returned on GET /refund
상속: extends Refund
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
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