View Source SoftBank.Note (soft_bank v1.2.6)
Defines a SoftBank.Note struct along with convenience methods for working with currencies.
Summary
Functions
Create a new SoftBank.Note struct using a default currency.
The default currency can be set in the system Mix config.
Functions
Create a new SoftBank.Note struct using a default currency.
The default currency can be set in the system Mix config.
Example Config:
config :note,
default_currency: :USDExample:
SoftBank.Note.new(123)
%SoftBank.Note{amount: 123, currency: :USD}