CurrencyValue Class
A currency value element.
New in version 2023-07-31: The code property.
- Inheritance
-
builtins.objectCurrencyValue
Constructor
CurrencyValue(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a CurrencyValue to the model itself. |
to_dict |
Returns a dict representation of CurrencyValue. |
from_dict
Converts a dict in the shape of a CurrencyValue to the model itself.
from_dict(data: Dict) -> CurrencyValue
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of CurrencyValue. |
Returns
Type | Description |
---|---|
CurrencyValue |
to_dict
Returns a dict representation of CurrencyValue.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
amount
The currency amount.
amount: float
code
Resolved currency code (ISO 4217), if any.
code: str | None
symbol
The currency symbol, if found.
symbol: str | None
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python