Current section
Files
Jump to
Current section
Files
lib/hook_sniff_api/model/invoice_response.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule HookSniffAPI.Model.InvoiceResponse do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:id,
:amount_cents,
:currency,
:status,
:created_at
]
@type t :: %__MODULE__{
:id => String.t | nil,
:amount_cents => integer() | nil,
:currency => String.t | nil,
:status => String.t | nil,
:created_at => DateTime.t | nil
}
def decode(value) do
value
end
end