public class ExchangeRate extends Object
ExchangeRate represents a currency which is one of the
Network.secondaryCurrencyCodes, and the latest exchange rate between this currency and
Network.currencyCode.
Java class for ExchangeRate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExchangeRate">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="currencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="refreshRate" type="{https://www.google.com/apis/ads/publisher/v201708}ExchangeRateRefreshRate" minOccurs="0"/>
<element name="direction" type="{https://www.google.com/apis/ads/publisher/v201708}ExchangeRateDirection" minOccurs="0"/>
<element name="exchangeRate" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
currencyCode |
protected ExchangeRateDirection |
direction |
protected Long |
exchangeRate |
protected Long |
id |
protected ExchangeRateRefreshRate |
refreshRate |
| Constructor and Description |
|---|
ExchangeRate() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrencyCode()
Gets the value of the currencyCode property.
|
ExchangeRateDirection |
getDirection()
Gets the value of the direction property.
|
Long |
getExchangeRate()
Gets the value of the exchangeRate property.
|
Long |
getId()
Gets the value of the id property.
|
ExchangeRateRefreshRate |
getRefreshRate()
Gets the value of the refreshRate property.
|
void |
setCurrencyCode(String value)
Sets the value of the currencyCode property.
|
void |
setDirection(ExchangeRateDirection value)
Sets the value of the direction property.
|
void |
setExchangeRate(Long value)
Sets the value of the exchangeRate property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setRefreshRate(ExchangeRateRefreshRate value)
Sets the value of the refreshRate property.
|
protected Long id
protected String currencyCode
protected ExchangeRateRefreshRate refreshRate
protected ExchangeRateDirection direction
protected Long exchangeRate
public void setId(Long value)
value - allowed object is
Longpublic String getCurrencyCode()
Stringpublic void setCurrencyCode(String value)
value - allowed object is
Stringpublic ExchangeRateRefreshRate getRefreshRate()
ExchangeRateRefreshRatepublic void setRefreshRate(ExchangeRateRefreshRate value)
value - allowed object is
ExchangeRateRefreshRatepublic ExchangeRateDirection getDirection()
ExchangeRateDirectionpublic void setDirection(ExchangeRateDirection value)
value - allowed object is
ExchangeRateDirectionpublic Long getExchangeRate()
LongCopyright © 2018. All Rights Reserved.