struct Mollie::Amount

Included Modules

Defined in:

mollie/amount.cr

Constructors

Instance Method Summary

Macros inherited from module Mollie::Json::Serializable

json_field(name, type) json_field

Constructor Detail

def self.new(value : AmountValue, currency : String) #

[View source]
def self.new(value : BigDecimal, currency : String) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def currency : String #

def to_h(*args, **options) #

[View source]
def to_h(*args, **options, &) #

[View source]
def to_tuple #

[View source]
def value : BigDecimal #