SoftBank.Note.multiply
You're seeing just the function
multiply
, go back to SoftBank.Note module for more information.
Specs
Multiplies a SoftBank.Note
by an amount
Example:
iex> SoftBank.Note.multiply(SoftBank.Note.new(100, :USD), 10)
%SoftBank.Note{amount: 1000, currency: :USD}
iex> SoftBank.Note.multiply(SoftBank.Note.new(100, :USD), 1.5)
%SoftBank.Note{amount: 150, currency: :USD}