Current section

Files

Jump to
mollie_api lib mollie_api model balance.ex
Raw

lib/mollie_api/model/balance.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.17.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule MollieAPI.Model.Balance do
@moduledoc """
The balance of the business account.
"""
@derive JSON.Encoder
defstruct [
:total
]
@type t :: %__MODULE__{
:total => MollieAPI.Model.Amount.t
}
alias MollieAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:total, :struct, MollieAPI.Model.Amount)
end
end