stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Capability

Description

Contains the types generated from the schema Capability

Synopsis

Documentation

data Capability Source #

Defines the object schema located at components.schemas.capability in the specification.

This is an object representing a capability for a Stripe account.

Related guide: Account capabilities.

Constructors

Capability 

Fields

data CapabilityStatus' Source #

Defines the enum schema located at components.schemas.capability.properties.status in the specification.

The status of the capability. Can be `active`, `inactive`, `pending`, or `unrequested`.

Constructors

CapabilityStatus'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

CapabilityStatus'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

CapabilityStatus'EnumActive

Represents the JSON value "active"

CapabilityStatus'EnumDisabled

Represents the JSON value "disabled"

CapabilityStatus'EnumInactive

Represents the JSON value "inactive"

CapabilityStatus'EnumPending

Represents the JSON value "pending"

CapabilityStatus'EnumUnrequested

Represents the JSON value "unrequested"