PHP 클래스 PayPal\Api\RefundRequest

A refund transaction.
상속: extends PayPal\Common\PayPalModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getAmount ( ) : Amount Details including both refunded amount (to payer) and refunded fee (to payee).
getDescription ( ) : string Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
getInvoiceNumber ( ) : string The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
getReason ( ) : string Reason description for the Sale transaction being refunded.
getRefundAdvice ( ) : boolean Flag to indicate that the buyer was already given store credit for a given transaction.
getRefundSource ( ) : string Type of PayPal funding source (balance or eCheck) that can be used for auto refund.
setAmount ( Amount $amount ) Details including both refunded amount (to payer) and refunded fee (to payee).
setDescription ( string $description ) Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
setInvoiceNumber ( string $invoice_number ) The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
setReason ( string $reason ) Reason description for the Sale transaction being refunded.
setRefundAdvice ( boolean $refund_advice ) Flag to indicate that the buyer was already given store credit for a given transaction.
setRefundSource ( string $refund_source ) Type of PayPal funding source (balance or eCheck) that can be used for auto refund.

메소드 상세

getAmount() 공개 메소드

Details including both refunded amount (to payer) and refunded fee (to payee).
public getAmount ( ) : Amount
리턴 Amount

getDescription() 공개 메소드

Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
public getDescription ( ) : string
리턴 string

getInvoiceNumber() 공개 메소드

The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
public getInvoiceNumber ( ) : string
리턴 string

getReason() 공개 메소드

Reason description for the Sale transaction being refunded.
public getReason ( ) : string
리턴 string

getRefundAdvice() 공개 메소드

Flag to indicate that the buyer was already given store credit for a given transaction.
public getRefundAdvice ( ) : boolean
리턴 boolean

getRefundSource() 공개 메소드

Type of PayPal funding source (balance or eCheck) that can be used for auto refund.
public getRefundSource ( ) : string
리턴 string

setAmount() 공개 메소드

Details including both refunded amount (to payer) and refunded fee (to payee).
public setAmount ( Amount $amount )
$amount Amount

setDescription() 공개 메소드

Description of what is being refunded for. Character length and limitations: 255 single-byte alphanumeric characters.
public setDescription ( string $description )
$description string

setInvoiceNumber() 공개 메소드

The invoice number that is used to track this payment. Character length and limitations: 127 single-byte alphanumeric characters.
public setInvoiceNumber ( string $invoice_number )
$invoice_number string

setReason() 공개 메소드

Reason description for the Sale transaction being refunded.
public setReason ( string $reason )
$reason string

setRefundAdvice() 공개 메소드

Flag to indicate that the buyer was already given store credit for a given transaction.
public setRefundAdvice ( boolean $refund_advice )
$refund_advice boolean

setRefundSource() 공개 메소드

Valid Values: ["INSTANT_FUNDING_SOURCE", "ECHECK", "UNRESTRICTED"]
public setRefundSource ( string $refund_source )
$refund_source string