Current section
Files
Jump to
Current section
Files
lib/polarex/schemas/customer_session_customer_external_id_create.ex
defmodule Polarex.CustomerSessionCustomerExternalIDCreate do
@moduledoc """
Provides struct and type for a CustomerSessionCustomerExternalIDCreate
"""
@type t :: %__MODULE__{external_customer_id: String.t(), return_url: String.t() | nil}
defstruct [:external_customer_id, :return_url]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[external_customer_id: {:string, :generic}, return_url: {:union, [{:string, :uri}, :null]}]
end
end