PHP 클래스 PayPal\Api\RefundDetail

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

공개 메소드들

메소드 설명
getAmount ( ) : PayPal\Api\Currency Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund.
getDate ( ) : string Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST.
getNote ( ) : string Optional note associated with the refund.
getTransactionId ( ) : string The PayPal refund transaction ID. Required with the PAYPAL refund type.
getType ( ) : string The PayPal refund type. Indicates whether refund was paid in invoicing flow through PayPal or externally. In the case of mark-as-refunded API, the supported refund type is EXTERNAL. For backward compatability, the PAYPAL refund type is still supported.
setAmount ( PayPal\Api\Currency $amount ) Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund.
setDate ( string $date ) Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST.
setNote ( string $note ) Optional note associated with the refund.
setTransactionId ( string $transaction_id ) The PayPal refund transaction ID. Required with the PAYPAL refund type.
setType ( string $type ) The PayPal refund type. Indicates whether refund was paid in invoicing flow through PayPal or externally. In the case of mark-as-refunded API, the supported refund type is EXTERNAL. For backward compatability, the PAYPAL refund type is still supported.

메소드 상세

getAmount() 공개 메소드

Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund.
public getAmount ( ) : PayPal\Api\Currency
리턴 PayPal\Api\Currency

getDate() 공개 메소드

Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST.
public getDate ( ) : string
리턴 string

getNote() 공개 메소드

Optional note associated with the refund.
public getNote ( ) : string
리턴 string

getTransactionId() 공개 메소드

The PayPal refund transaction ID. Required with the PAYPAL refund type.
public getTransactionId ( ) : string
리턴 string

getType() 공개 메소드

The PayPal refund type. Indicates whether refund was paid in invoicing flow through PayPal or externally. In the case of mark-as-refunded API, the supported refund type is EXTERNAL. For backward compatability, the PAYPAL refund type is still supported.
public getType ( ) : string
리턴 string

setAmount() 공개 메소드

Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund.
public setAmount ( PayPal\Api\Currency $amount )
$amount PayPal\Api\Currency

setDate() 공개 메소드

Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST.
public setDate ( string $date )
$date string

setNote() 공개 메소드

Optional note associated with the refund.
public setNote ( string $note )
$note string

setTransactionId() 공개 메소드

The PayPal refund transaction ID. Required with the PAYPAL refund type.
public setTransactionId ( string $transaction_id )
$transaction_id string

setType() 공개 메소드

Valid Values: ["PAYPAL", "EXTERNAL"]
public setType ( string $type )
$type string