View Source ExOAPI.Stripe.SDK.FileLinks (exoapi_stripe v0.1.4)
Link to this section Summary
Functions
description: <p>Returns a list of file links.</p>
description: <p>Retrieves the file link with the given ID.</p>
description: <p>Creates a new file link object.</p>
description: <p>Updates an existing file link object. Expired links can no longer be updated.</p>
Link to this section Types
@type get_file_links_link_opts() :: {:expand, String.t()}
Link to this section Functions
@spec get_file_links(client :: ExOAPI.Client.t(), [get_file_links_opts()]) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | %{ url: String.t(), object: String.t() | :list, has_more: boolean(), data: [ExOAPI.Stripe.Schemas.FileLink.t()] } | map()} | {:error, any()}
description: <p>Returns a list of file links.</p>
@spec get_file_links_link( client :: ExOAPI.Client.t(), link :: String.t(), [get_file_links_link_opts()] ) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | ExOAPI.Stripe.Schemas.FileLink.t() | map()} | {:error, any()}
description: <p>Retrieves the file link with the given ID.</p>
@spec post_file_links( client :: ExOAPI.Client.t(), body :: %{ metadata: String.t() | map(), file: String.t(), expires_at: integer(), expand: [String.t()] } | map() ) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | ExOAPI.Stripe.Schemas.FileLink.t() | map()} | {:error, any()}
description: <p>Creates a new file link object.</p>
@spec post_file_links_link( client :: ExOAPI.Client.t(), body :: %{ metadata: String.t() | map(), expires_at: String.t() | integer() | String.t() | :now, expand: [String.t()] } | map(), link :: String.t() ) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | ExOAPI.Stripe.Schemas.FileLink.t() | map()} | {:error, any()}
description: <p>Updates an existing file link object. Expired links can no longer be updated.</p>