View Source ExOAPI.Stripe.Schemas.Capability (exoapi_stripe v0.1.4)
description: This is an object representing a capability for a Stripe account.
Related guide: Account capabilities.
:account :: ExOAPI.Stripe.Schemas.Account | :string
The account for which the capability enables functionality.
:future_requirements :: ExOAPI.Stripe.Schemas.AccountCapabilityFutureRequirements
:id :: :string
The identifier for the capability.
:object :: :string
String representing the object's type. Objects of the same type share the same value.
:requested :: :boolean
Whether the capability has been requested.
:requested_at :: :integer
Time at which the capability was requested. Measured in seconds since the Unix epoch.
:requirements :: ExOAPI.Stripe.Schemas.AccountCapabilityRequirements
:status :: :string
The status of the capability. Can be active
, inactive
, pending
, or unrequested
.
Link to this section Summary
Link to this section Types
@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Capability{ account: ExOAPI.EctoTypes.AnyOf.t() | nil, future_requirements: ExOAPI.Stripe.Schemas.AccountCapabilityFutureRequirements.t() | nil, id: String.t() | nil, object: :capability | nil, requested: boolean() | nil, requested_at: integer() | nil, requirements: ExOAPI.Stripe.Schemas.AccountCapabilityRequirements.t() | nil, status: (:unrequested | :pending | :inactive | :disabled | :active) | nil }
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()