CurrencyValue Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. CurrencyValue
- com.
Implements
public final class CurrencyValue
implements JsonSerializable<CurrencyValue>
Currency field value.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Currency |
fromJson(JsonReader jsonReader)
Reads an instance of Currency |
double |
getAmount()
Get the amount property: Currency amount. |
String |
getCurrencyCode()
Get the currency |
String |
getCurrencySymbol()
Get the currency |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static CurrencyValue fromJson(JsonReader jsonReader)
Reads an instance of CurrencyValue from the JsonReader.
Parameters:
Returns:
Throws:
getAmount
public double getAmount()
Get the amount property: Currency amount.
Returns:
getCurrencyCode
public String getCurrencyCode()
Get the currencyCode property: Resolved currency code (ISO 4217), if any.
Returns:
getCurrencySymbol
public String getCurrencySymbol()
Get the currencySymbol property: Currency symbol label, if any.
Returns:
toJson
Applies to
Azure SDK for Java