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

description: To share the contents of a File object with non-Stripe users, you can create a FileLink. FileLinks contain a URL that can be used to retrieve the contents of the file without authentication.

:created :: :integer

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

:expired :: :boolean

Whether this link is already expired.

:expires_at :: :integer

Time at which the link expires.

:file :: ExOAPI.Stripe.Schemas.File | :string

The file object this link points to.

: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.

:metadata :: :map

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

:object :: :string

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

:url :: :string

The publicly accessible URL to download the file.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.FileLink{
  created: integer() | nil,
  expired: boolean() | nil,
  expires_at: integer() | nil,
  file: ExOAPI.EctoTypes.AnyOf.t() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  metadata: map() | nil,
  object: :file_link | nil,
  url: 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()