Package com.plaid.client.model
Class TransactionStreamAmount
java.lang.Object
com.plaid.client.model.TransactionStreamAmount
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class TransactionStreamAmount
extends java.lang.Object
Object with data pertaining to an amount on the transaction stream.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_AMOUNT
static java.lang.String
SERIALIZED_NAME_ISO_CURRENCY_CODE
static java.lang.String
SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE
-
Constructor Summary
Constructors Constructor Description TransactionStreamAmount()
-
Method Summary
Modifier and Type Method Description TransactionStreamAmount
amount(java.lang.Double amount)
boolean
equals(java.lang.Object o)
java.lang.Double
getAmount()
represents the numerical value of an amount.java.lang.String
getIsoCurrencyCode()
The ISO-4217 currency code of the amount.java.lang.String
getUnofficialCurrencyCode()
The unofficial currency code of the amount.int
hashCode()
TransactionStreamAmount
isoCurrencyCode(java.lang.String isoCurrencyCode)
void
setAmount(java.lang.Double amount)
void
setIsoCurrencyCode(java.lang.String isoCurrencyCode)
void
setUnofficialCurrencyCode(java.lang.String unofficialCurrencyCode)
java.lang.String
toString()
TransactionStreamAmount
unofficialCurrencyCode(java.lang.String unofficialCurrencyCode)
-
Field Details
-
SERIALIZED_NAME_AMOUNT
public static final java.lang.String SERIALIZED_NAME_AMOUNT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISO_CURRENCY_CODE
public static final java.lang.String SERIALIZED_NAME_ISO_CURRENCY_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE
public static final java.lang.String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE- See Also:
- Constant Field Values
-
-
Constructor Details
-
TransactionStreamAmount
public TransactionStreamAmount()
-
-
Method Details
-
amount
-
getAmount
@Nullable public java.lang.Double getAmount()represents the numerical value of an amount.- Returns:
- amount
-
setAmount
public void setAmount(java.lang.Double amount) -
isoCurrencyCode
-
getIsoCurrencyCode
@Nullable public java.lang.String getIsoCurrencyCode()The ISO-4217 currency code of the amount. Always `null` if `unofficial_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.- Returns:
- isoCurrencyCode
-
setIsoCurrencyCode
public void setIsoCurrencyCode(java.lang.String isoCurrencyCode) -
unofficialCurrencyCode
-
getUnofficialCurrencyCode
@Nullable public java.lang.String getUnofficialCurrencyCode()The unofficial currency code of the amount. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.- Returns:
- unofficialCurrencyCode
-
setUnofficialCurrencyCode
public void setUnofficialCurrencyCode(java.lang.String unofficialCurrencyCode) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-