public class

InvoicePayment

extends PayPalRetailObject
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.InvoicePayment

Class Overview

Container for information about the payment on an invoice

Summary

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
From class java.lang.Object

Public Constructors

public InvoicePayment ()

Public Methods

public BigDecimal getAmount ()

this is an amount object on the server which has a string for currency, and value

public String getCurrency ()

used with the amount

public Date getDate ()

date when the invoice was paid

public String getFormattedDate ()

date, formatted in MMM, D YYYY format

public InvoicePaymentMethod getMethod ()

payment mode or method this is mandatory

public String getNote ()

optional note associated with the payment

public String getTransactionID ()

PayPal payment transaction id. Mandatory field in case the type value is PAYPAL. @readonly

public String getTransactionType ()

type of the transaction @readonly

public InvoicePaymentType getType ()

PayPal payment detail indicating whether payment was made in an invoicing flow via PayPal or externally. @readonly

public void setAmount (BigDecimal value)

this is an amount object on the server which has a string for currency, and value

public void setCurrency (String value)

used with the amount

public void setDate (Date value)

date when the invoice was paid

public void setFormattedDate (String value)

date, formatted in MMM, D YYYY format

public void setMethod (InvoicePaymentMethod value)

payment mode or method this is mandatory

public void setNote (String value)

optional note associated with the payment

public String toString ()

Returns a string representing the serialized state of the InvoicePayment object