java.lang.Object | ||
↳ | PayPalRetailObject | |
↳ | com.paypal.paypalretailsdk.InvoicePayment |
Container for information about the payment on an invoice
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
InvoicePayment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BigDecimal |
getAmount()
this is an amount object on the server which
has a string for currency, and value
| ||||||||||
String |
getCurrency()
used with the amount
| ||||||||||
Date |
getDate()
date when the invoice was paid
| ||||||||||
String |
getFormattedDate()
date, formatted in MMM, D YYYY format
| ||||||||||
InvoicePaymentMethod |
getMethod()
payment mode or method this is mandatory
| ||||||||||
String |
getNote()
optional note associated with the payment
| ||||||||||
String |
getTransactionID()
PayPal payment transaction id.
| ||||||||||
String |
getTransactionType()
type of the transaction @readonly
| ||||||||||
InvoicePaymentType |
getType()
PayPal payment detail indicating whether
payment was made in an invoicing flow via PayPal or externally.
| ||||||||||
void |
setAmount(BigDecimal value)
this is an amount object on the server which
has a string for currency, and value
| ||||||||||
void |
setCurrency(String value)
used with the amount
| ||||||||||
void |
setDate(Date value)
date when the invoice was paid
| ||||||||||
void |
setFormattedDate(String value)
date, formatted in MMM, D YYYY format
| ||||||||||
void |
setMethod(InvoicePaymentMethod value)
payment mode or method this is mandatory
| ||||||||||
void |
setNote(String value)
optional note associated with the payment
| ||||||||||
String |
toString()
Returns a string representing the serialized state of the InvoicePayment object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
this is an amount object on the server which has a string for currency, and value
used with the amount
date when the invoice was paid
date, formatted in MMM, D YYYY format
optional note associated with the payment
PayPal payment transaction id. Mandatory field in case the type value is PAYPAL. @readonly
type of the transaction @readonly
PayPal payment detail indicating whether payment was made in an invoicing flow via PayPal or externally. @readonly
this is an amount object on the server which has a string for currency, and value
used with the amount
date when the invoice was paid
date, formatted in MMM, D YYYY format
optional note associated with the payment
Returns a string representing the serialized state of the InvoicePayment object