Capability class final
AccountCapability
This is an object representing a capability for a Stripe account. Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities)
- Implemented types
Constructors
- Capability({required AccountOrId account, AccountCapabilityFutureRequirements? futureRequirements, required String id, required bool requested, DateTime? requestedAt, AccountCapabilityRequirements? requirements, required CapabilityStatus status})
-
AccountCapability
const
- Capability.fromJson(Object? json)
-
factory
Properties
- account → AccountOrId
-
final
- futureRequirements → AccountCapabilityFutureRequirements?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- object → String
-
The resource's type.
final
- requested → bool
-
final
- requestedAt → DateTime?
-
final
- requirements → AccountCapabilityRequirements?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → CapabilityStatus
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (Capability instance, Encoder< V> encoder) → V