plaid2.model.transaction_stream_amount module
- class plaid2.model.transaction_stream_amount.TransactionStreamAmount(*, unofficial_currency_code: Optional[str] = None, amount: Optional[float] = None, iso_currency_code: Optional[str] = None)[source]
Bases:
BaseModel
- amount: Optional[float]
Represents the numerical value of an amount.
- dict(**kwargs: Any) Dict[str, Any] [source]
Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict
- iso_currency_code: Optional[str]
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.
- json(**kwargs: Any) str [source]
Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json
- classmethod parse_obj(data: Any) TransactionStreamAmount [source]
Parse a dict into the object. Takes same keyword arguments as pydantic.BaseModel.parse_obj
- classmethod parse_raw(b: Union[bytes, str], **kwargs: Any) TransactionStreamAmount [source]
Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw
- unofficial_currency_code: Optional[str]
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.