Current section

Files

Jump to
mollie_api lib mollie_api model entity_payment_route_destination.ex
Raw

lib/mollie_api/model/entity_payment_route_destination.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.EntityPaymentRouteDestination do
@moduledoc """
The destination of this portion of the payment.
"""
@derive JSON.Encoder
defstruct [
:type,
:organizationId
]
@type t :: %__MODULE__{
:type => MollieAPI.Model.RouteDestinationType.t,
:organizationId => String.t
}
alias MollieAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:type, :struct, MollieAPI.Model.RouteDestinationType)
end
end