public class

ExchangeRate

extends Resource
java.lang.Object
   ↳ com.coupa.resources.Resource
     ↳ com.coupa.resources.ExchangeRate

Class Overview

Java class for exchange-rate complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="exchange-rate">
   <complexContent>
     <extension base="{}resource">
       <sequence>
         <element name="created-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="updated-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="rate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="rate-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="from-currency" type="{}currency-summary" minOccurs="0"/>
         <element name="to-currency" type="{}currency-summary" minOccurs="0"/>
         <element name="created-by" type="{}user-summary" minOccurs="0"/>
         <element name="updated-by" type="{}user-summary" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected CurrencySummary fromCurrency
protected BigDecimal rate
protected XMLGregorianCalendar rateDate
protected CurrencySummary toCurrency
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
ExchangeRate()
Public Methods
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
CurrencySummary getFromCurrency()
Gets the value of the fromCurrency property.
BigDecimal getRate()
Gets the value of the rate property.
XMLGregorianCalendar getRateDate()
Gets the value of the rateDate property.
CurrencySummary getToCurrency()
Gets the value of the toCurrency property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
void setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setFromCurrency(CurrencySummary value)
Sets the value of the fromCurrency property.
void setRate(BigDecimal value)
Sets the value of the rate property.
void setRateDate(XMLGregorianCalendar value)
Sets the value of the rateDate property.
void setToCurrency(CurrencySummary value)
Sets the value of the toCurrency property.
void setUpdatedAt(XMLGregorianCalendar value)
Sets the value of the updatedAt property.
void setUpdatedBy(UserSummary value)
Sets the value of the updatedBy property.
[Expand]
Inherited Methods
From class com.coupa.resources.Resource
From class java.lang.Object
From interface com.coupa.api.Identifiable

Fields

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected CurrencySummary fromCurrency

protected BigDecimal rate

protected XMLGregorianCalendar rateDate

protected CurrencySummary toCurrency

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public ExchangeRate ()

Public Methods

public XMLGregorianCalendar getCreatedAt ()

Gets the value of the createdAt property.

Returns
  • possible object is XMLGregorianCalendar

public UserSummary getCreatedBy ()

Gets the value of the createdBy property.

Returns

public CurrencySummary getFromCurrency ()

Gets the value of the fromCurrency property.

Returns

public BigDecimal getRate ()

Gets the value of the rate property.

Returns
  • possible object is BigDecimal

public XMLGregorianCalendar getRateDate ()

Gets the value of the rateDate property.

Returns
  • possible object is XMLGregorianCalendar

public CurrencySummary getToCurrency ()

Gets the value of the toCurrency property.

Returns

public XMLGregorianCalendar getUpdatedAt ()

Gets the value of the updatedAt property.

Returns
  • possible object is XMLGregorianCalendar

public UserSummary getUpdatedBy ()

Gets the value of the updatedBy property.

Returns

public void setCreatedAt (XMLGregorianCalendar value)

Sets the value of the createdAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setCreatedBy (UserSummary value)

Sets the value of the createdBy property.

Parameters
value Allowed object is UserSummary

public void setFromCurrency (CurrencySummary value)

Sets the value of the fromCurrency property.

Parameters
value Allowed object is CurrencySummary

public void setRate (BigDecimal value)

Sets the value of the rate property.

Parameters
value Allowed object is BigDecimal

public void setRateDate (XMLGregorianCalendar value)

Sets the value of the rateDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setToCurrency (CurrencySummary value)

Sets the value of the toCurrency property.

Parameters
value Allowed object is CurrencySummary

public void setUpdatedAt (XMLGregorianCalendar value)

Sets the value of the updatedAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setUpdatedBy (UserSummary value)

Sets the value of the updatedBy property.

Parameters
value Allowed object is UserSummary