pyocf.types.monetary

Type representation of an amount of money in a specified currency

pydantic model pyocf.types.monetary.Monetary

Type representation of an amount of money in a specified currency

field amount: Annotated[Numeric, FieldInfo(annotation=NoneType, required=True, description='Numeric amount of money')] [Required]

Numeric amount of money

field currency: Annotated[CurrencyCode, FieldInfo(annotation=NoneType, required=True, description='ISO 4217 currency code')] [Required]

ISO 4217 currency code