Skip to content

Amount

Structure Class

Amount dataclass

Bases: _SerdeShape

Represents a monetary amount with a currency.

Attributes

currency instance-attribute
currency: str

The currency code for the amount.

value instance-attribute
value: str

The numeric value of the amount.