CurrencyValue Klasse

Ein Währungswertelement.

Neu in Version 2023-07-31: Die Codeeigenschaft .

Vererbung
builtins.object
CurrencyValue

Konstruktor

CurrencyValue(**kwargs: Any)

Methoden

from_dict

Konvertiert ein Diktat in der Form eines CurrencyValue in das Modell selbst.

to_dict

Gibt eine Diktatdarstellung von CurrencyValue zurück.

from_dict

Konvertiert ein Diktat in der Form eines CurrencyValue in das Modell selbst.

from_dict(data: Dict) -> CurrencyValue

Parameter

data
dict
Erforderlich

Ein Wörterbuch in der Form von CurrencyValue.

Gibt zurück

CurrencyValue

Rückgabetyp

to_dict

Gibt eine Diktatdarstellung von CurrencyValue zurück.

to_dict() -> Dict

Gibt zurück

dict

Rückgabetyp

Attribute

amount

Der Währungsbetrag.

amount: float

code

Aufgelöster Währungscode (ISO 4217), falls vorhanden.

code: str | None

symbol

Das Währungssymbol, falls gefunden.

symbol: str | None