public class MoneyWithCurrency extends ComparableValue
Java class for MoneyWithCurrency complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MoneyWithCurrency">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}ComparableValue">
<sequence>
<element name="money" type="{https://adwords.google.com/api/adwords/cm/v201809}Money" minOccurs="0"/>
<element name="currencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
currencyCode |
protected Money |
money |
comparableValueType| Constructor and Description |
|---|
MoneyWithCurrency() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrencyCode()
Gets the value of the currencyCode property.
|
Money |
getMoney()
Gets the value of the money property.
|
void |
setCurrencyCode(String value)
Sets the value of the currencyCode property.
|
void |
setMoney(Money value)
Sets the value of the money property.
|
getComparableValueType, setComparableValueTypepublic Money getMoney()
Moneypublic void setMoney(Money value)
value - allowed object is
Moneypublic String getCurrencyCode()
StringCopyright © 2023. All rights reserved.