/**
* Mule Coupa Cloud Connector
*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*
* Coupa Connector com.coupa package contains portions of code based on Coupa4j
* http://code.google.com/p/coupa4j/, under a MIT license:
* http://www.opensource.org/licenses/mit-license.php.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.01.11 at 10:56:43 AM ART
//
package com.coupa.resources;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for exchange-rate complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "exchange-rate", propOrder = {
"createdAt",
"updatedAt",
"rate",
"rateDate",
"fromCurrency",
"toCurrency",
"createdBy",
"updatedBy"
})
@XmlRootElement
public class ExchangeRate
extends Resource
{
@XmlElement(name = "created-at")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar createdAt;
@XmlElement(name = "updated-at")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar updatedAt;
protected BigDecimal rate;
@XmlElement(name = "rate-date")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar rateDate;
@XmlElement(name = "from-currency")
protected CurrencySummary fromCurrency;
@XmlElement(name = "to-currency")
protected CurrencySummary toCurrency;
@XmlElement(name = "created-by")
protected UserSummary createdBy;
@XmlElement(name = "updated-by")
protected UserSummary updatedBy;
/**
* Gets the value of the createdAt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreatedAt() {
return createdAt;
}
/**
* Sets the value of the createdAt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreatedAt(XMLGregorianCalendar value) {
this.createdAt = value;
}
/**
* Gets the value of the updatedAt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getUpdatedAt() {
return updatedAt;
}
/**
* Sets the value of the updatedAt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setUpdatedAt(XMLGregorianCalendar value) {
this.updatedAt = value;
}
/**
* Gets the value of the rate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRate() {
return rate;
}
/**
* Sets the value of the rate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setRate(BigDecimal value) {
this.rate = value;
}
/**
* Gets the value of the rateDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getRateDate() {
return rateDate;
}
/**
* Sets the value of the rateDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setRateDate(XMLGregorianCalendar value) {
this.rateDate = value;
}
/**
* Gets the value of the fromCurrency property.
*
* @return
* possible object is
* {@link CurrencySummary }
*
*/
public CurrencySummary getFromCurrency() {
return fromCurrency;
}
/**
* Sets the value of the fromCurrency property.
*
* @param value
* allowed object is
* {@link CurrencySummary }
*
*/
public void setFromCurrency(CurrencySummary value) {
this.fromCurrency = value;
}
/**
* Gets the value of the toCurrency property.
*
* @return
* possible object is
* {@link CurrencySummary }
*
*/
public CurrencySummary getToCurrency() {
return toCurrency;
}
/**
* Sets the value of the toCurrency property.
*
* @param value
* allowed object is
* {@link CurrencySummary }
*
*/
public void setToCurrency(CurrencySummary value) {
this.toCurrency = value;
}
/**
* Gets the value of the createdBy property.
*
* @return
* possible object is
* {@link UserSummary }
*
*/
public UserSummary getCreatedBy() {
return createdBy;
}
/**
* Sets the value of the createdBy property.
*
* @param value
* allowed object is
* {@link UserSummary }
*
*/
public void setCreatedBy(UserSummary value) {
this.createdBy = value;
}
/**
* Gets the value of the updatedBy property.
*
* @return
* possible object is
* {@link UserSummary }
*
*/
public UserSummary getUpdatedBy() {
return updatedBy;
}
/**
* Sets the value of the updatedBy property.
*
* @param value
* allowed object is
* {@link UserSummary }
*
*/
public void setUpdatedBy(UserSummary value) {
this.updatedBy = value;
}
}