struct

Mollie::Amount

Inherits JSON::Serializable / Mollie::Json::Serializable / Struct / Value / Object

Constructors

new(value : AmountValue, currency : String)
Source
new(value : BigDecimal, currency : String)
Source
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

currency
to_h(*args, **options)
Source
to_h(*args, **options, &)
Source
to_json(json : JSON::Builder)
Source
to_tuple
Source
value