public class RetrieveExchangeRateResponse extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
RetrieveExchangeRateResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected BigDecimal |
exchangeRate |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
RetrieveExchangeRateResponse() |
| Modifier and Type | Method and Description |
|---|---|
static RetrieveExchangeRateResponse.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<BigDecimal> |
getExchangeRate() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
RetrieveExchangeRateResponse |
withExchangeRate(BigDecimal exchangeRate) |
RetrieveExchangeRateResponse |
withUnmappedField(String name,
String value) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected BigDecimal exchangeRate
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<BigDecimal> getExchangeRate()
public RetrieveExchangeRateResponse withExchangeRate(BigDecimal exchangeRate)
public RetrieveExchangeRateResponse withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static RetrieveExchangeRateResponse.Builder builder()
Copyright © 2018–2021. All rights reserved.