Method |
Description |
|
getAmount ( ) : PayPal\Api\Currency |
The amount to record as payment against invoice. If you omit this parameter, the total invoice amount is recorded as payment. |
|
getDate ( ) : string |
The date when the invoice was paid. The date format is *yyyy*-*MM*-*dd* *z* as defined in Internet Date/Time Format. |
|
getMethod ( ) : string |
The payment mode or method. Required with the EXTERNAL payment type. |
|
getNote ( ) : string |
Optional. A note associated with the payment. |
|
getTransactionId ( ) : string |
The PayPal payment transaction ID. Required with the PAYPAL payment type. |
|
getTransactionType ( ) : string |
Type of the transaction. |
|
getType ( ) : string |
The PayPal payment detail. Indicates whether payment was made in an invoicing flow through PayPal or externally. In the case of the mark-as-paid API, the supported payment type is EXTERNAL. For backward compatibility, the PAYPAL payment type is still supported. |
|
setAmount ( PayPal\Api\Currency $amount ) |
The amount to record as payment against invoice. If you omit this parameter, the total invoice amount is recorded as payment. |
|
setDate ( string $date ) |
The date when the invoice was paid. The date format is *yyyy*-*MM*-*dd* *z* as defined in Internet Date/Time Format. |
|
setMethod ( string $method ) |
The payment mode or method. Required with the EXTERNAL payment type. |
|
setNote ( string $note ) |
Optional. A note associated with the payment. |
|
setTransactionId ( string $transaction_id ) |
The PayPal payment transaction ID. Required with the PAYPAL payment type. |
|
setTransactionType ( string $transaction_type ) |
Type of the transaction. |
|
setType ( string $type ) |
The PayPal payment detail. Indicates whether payment was made in an invoicing flow through PayPal or externally. In the case of the mark-as-paid API, the supported payment type is EXTERNAL. For backward compatibility, the PAYPAL payment type is still supported. |
|