stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Account

Description

Contains the types generated from the schema Account

Synopsis

Documentation

data Account Source #

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

This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current e-mail address or if the account is enabled yet to make live charges.

Some properties, marked below, are available only to platforms that want to create and manage Express or Custom accounts.

Constructors

Account 

Fields

Instances

Instances details
Eq Account Source # 
Instance details

Defined in StripeAPI.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Show Account Source # 
Instance details

Defined in StripeAPI.Types.Account

ToJSON Account Source # 
Instance details

Defined in StripeAPI.Types.Account

FromJSON Account Source # 
Instance details

Defined in StripeAPI.Types.Account

mkAccount Source #

Arguments

:: Text

accountId

-> Account 

Create a new Account with all required fields.

data AccountBusinessProfile' Source #

Defines the object schema located at components.schemas.account.properties.business_profile.anyOf in the specification.

Business information about the account.

Constructors

AccountBusinessProfile' 

Fields

data AccountBusinessProfile'SupportAddress' Source #

Defines the object schema located at components.schemas.account.properties.business_profile.anyOf.properties.support_address.anyOf in the specification.

A publicly available mailing address for sending support issues to.

Constructors

AccountBusinessProfile'SupportAddress' 

Fields

data AccountBusinessType' Source #

Defines the enum schema located at components.schemas.account.properties.business_type in the specification.

The business type.

Constructors

AccountBusinessType'Other Value

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

AccountBusinessType'Typed Text

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

AccountBusinessType'EnumCompany

Represents the JSON value "company"

AccountBusinessType'EnumGovernmentEntity

Represents the JSON value "government_entity"

AccountBusinessType'EnumIndividual

Represents the JSON value "individual"

AccountBusinessType'EnumNonProfit

Represents the JSON value "non_profit"

data AccountExternalAccounts' Source #

Defines the object schema located at components.schemas.account.properties.external_accounts in the specification.

External accounts (bank accounts and debit cards) currently attached to this account

Constructors

AccountExternalAccounts' 

Fields

data AccountExternalAccounts'Data' Source #

Defines the object schema located at components.schemas.account.properties.external_accounts.properties.data.items.anyOf in the specification.

Constructors

AccountExternalAccounts'Data' 

Fields

data AccountExternalAccounts'Data'Account'Variants Source #

Defines the oneOf schema located at components.schemas.account.properties.external_accounts.properties.data.items.anyOf.properties.account.anyOf in the specification.

The ID of the account that the bank account is associated with.

data AccountExternalAccounts'Data'AvailablePayoutMethods' Source #

Defines the enum schema located at components.schemas.account.properties.external_accounts.properties.data.items.anyOf.properties.available_payout_methods.items in the specification.

Constructors

AccountExternalAccounts'Data'AvailablePayoutMethods'Other Value

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

AccountExternalAccounts'Data'AvailablePayoutMethods'Typed Text

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

AccountExternalAccounts'Data'AvailablePayoutMethods'EnumInstant

Represents the JSON value "instant"

AccountExternalAccounts'Data'AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
Eq AccountExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.Account

Show AccountExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.Account

ToJSON AccountExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.Account

FromJSON AccountExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.Account

data AccountExternalAccounts'Data'Customer'Variants Source #

Defines the oneOf schema located at components.schemas.account.properties.external_accounts.properties.data.items.anyOf.properties.customer.anyOf in the specification.

The ID of the customer that the bank account is associated with.

data AccountExternalAccounts'Data'Object' Source #

Defines the enum schema located at components.schemas.account.properties.external_accounts.properties.data.items.anyOf.properties.object in the specification.

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

Constructors

AccountExternalAccounts'Data'Object'Other Value

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

AccountExternalAccounts'Data'Object'Typed Text

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

AccountExternalAccounts'Data'Object'EnumBankAccount

Represents the JSON value "bank_account"

data AccountExternalAccounts'Data'Recipient'Variants Source #

Defines the oneOf schema located at components.schemas.account.properties.external_accounts.properties.data.items.anyOf.properties.recipient.anyOf in the specification.

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

data AccountSettings' Source #

Defines the object schema located at components.schemas.account.properties.settings.anyOf in the specification.

Options for customizing how the account functions within Stripe.

mkAccountSettings' :: AccountSettings' Source #

Create a new AccountSettings' with all required fields.

data AccountType' Source #

Defines the enum schema located at components.schemas.account.properties.type in the specification.

The Stripe account type. Can be `standard`, `express`, or `custom`.

Constructors

AccountType'Other Value

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

AccountType'Typed Text

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

AccountType'EnumCustom

Represents the JSON value "custom"

AccountType'EnumExpress

Represents the JSON value "express"

AccountType'EnumStandard

Represents the JSON value "standard"