View Source ExOAPI.Stripe.Schemas.EphemeralKey (exoapi_stripe v0.1.4)

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:expires :: :integer

Time at which the key will expire. Measured in seconds since the Unix epoch.

:id :: :string

Unique identifier for the object.

:livemode :: :boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

:secret :: :string

The key's secret. You can use this value to make authorized requests to the Stripe API.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.EphemeralKey{
  created: integer() | nil,
  expires: integer() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  object: :ephemeral_key | nil,
  secret: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()