public class

InvoiceRefund

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

Class Overview

Container for information about a refund on an invoice

Summary

Public Constructors
InvoiceRefund()
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 getNote()
optional note associated with the payment
String getTransactionID()
PayPal refund transaction id.
String getType()
PayPal refund type indicating whether refund was done in 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 setNote(String value)
optional note associated with the payment
String toString()
Returns a string representing the serialized state of the InvoiceRefund object
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public InvoiceRefund ()

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 getNote ()

optional note associated with the payment

public String getTransactionID ()

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

public String getType ()

PayPal refund type indicating whether refund was done in 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 setNote (String value)

optional note associated with the payment

public String toString ()

Returns a string representing the serialized state of the InvoiceRefund object