Parameters for Amount Params in the Money API.
Build this struct with new!/1 and pass it to the corresponding function on
Inttegro.Money. Required keys are enforced immediately; optional values left as
nil are omitted from the request sent to Inttegro.
Currency and integer minor-unit amount values used throughout the Inttegro API.
Summary
Functions
Builds a Inttegro.Money.AmountParams and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.Money.AmountParams{ currency: Inttegro.Money.Currency.t(), value: integer() }
A validated amount params request.
Functions
Builds a Inttegro.Money.AmountParams and raises KeyError when a required field is missing.