SoftBank.Note.new

You're seeing just the function new, go back to SoftBank.Note module for more information.

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: :USD

Example:

SoftBank.Note.new(123)
%SoftBank.Note{amount: 123, currency: :USD}