| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.Account
Description
Contains the types generated from the schema Account
Synopsis
- data Account = Account {
- accountBusinessProfile :: Maybe AccountBusinessProfile'
- accountBusinessType :: Maybe AccountBusinessType'
- accountCapabilities :: Maybe AccountCapabilities
- accountChargesEnabled :: Maybe Bool
- accountCompany :: Maybe LegalEntityCompany
- accountController :: Maybe AccountController
- accountCountry :: Maybe Text
- accountCreated :: Maybe Int
- accountDefaultCurrency :: Maybe Text
- accountDetailsSubmitted :: Maybe Bool
- accountEmail :: Maybe Text
- accountExternalAccounts :: Maybe AccountExternalAccounts'
- accountId :: Text
- accountIndividual :: Maybe Person
- accountMetadata :: Maybe Object
- accountPayoutsEnabled :: Maybe Bool
- accountRequirements :: Maybe AccountRequirements
- accountSettings :: Maybe AccountSettings'
- accountTosAcceptance :: Maybe AccountTosAcceptance
- accountType :: Maybe AccountType'
- mkAccount :: Text -> Account
- data AccountBusinessProfile' = AccountBusinessProfile' {
- accountBusinessProfile'Mcc :: Maybe Text
- accountBusinessProfile'Name :: Maybe Text
- accountBusinessProfile'ProductDescription :: Maybe Text
- accountBusinessProfile'SupportAddress :: Maybe AccountBusinessProfile'SupportAddress'
- accountBusinessProfile'SupportEmail :: Maybe Text
- accountBusinessProfile'SupportPhone :: Maybe Text
- accountBusinessProfile'SupportUrl :: Maybe Text
- accountBusinessProfile'Url :: Maybe Text
- mkAccountBusinessProfile' :: AccountBusinessProfile'
- data AccountBusinessProfile'SupportAddress' = AccountBusinessProfile'SupportAddress' {
- accountBusinessProfile'SupportAddress'City :: Maybe Text
- accountBusinessProfile'SupportAddress'Country :: Maybe Text
- accountBusinessProfile'SupportAddress'Line1 :: Maybe Text
- accountBusinessProfile'SupportAddress'Line2 :: Maybe Text
- accountBusinessProfile'SupportAddress'PostalCode :: Maybe Text
- accountBusinessProfile'SupportAddress'State :: Maybe Text
- mkAccountBusinessProfile'SupportAddress' :: AccountBusinessProfile'SupportAddress'
- data AccountBusinessType'
- data AccountExternalAccounts' = AccountExternalAccounts' {}
- mkAccountExternalAccounts' :: [AccountExternalAccounts'Data'] -> Bool -> Text -> AccountExternalAccounts'
- data AccountExternalAccounts'Data' = AccountExternalAccounts'Data' {
- accountExternalAccounts'Data'Account :: Maybe AccountExternalAccounts'Data'Account'Variants
- accountExternalAccounts'Data'AccountHolderName :: Maybe Text
- accountExternalAccounts'Data'AccountHolderType :: Maybe Text
- accountExternalAccounts'Data'AddressCity :: Maybe Text
- accountExternalAccounts'Data'AddressCountry :: Maybe Text
- accountExternalAccounts'Data'AddressLine1 :: Maybe Text
- accountExternalAccounts'Data'AddressLine1Check :: Maybe Text
- accountExternalAccounts'Data'AddressLine2 :: Maybe Text
- accountExternalAccounts'Data'AddressState :: Maybe Text
- accountExternalAccounts'Data'AddressZip :: Maybe Text
- accountExternalAccounts'Data'AddressZipCheck :: Maybe Text
- accountExternalAccounts'Data'AvailablePayoutMethods :: Maybe [AccountExternalAccounts'Data'AvailablePayoutMethods']
- accountExternalAccounts'Data'BankName :: Maybe Text
- accountExternalAccounts'Data'Brand :: Maybe Text
- accountExternalAccounts'Data'Country :: Maybe Text
- accountExternalAccounts'Data'Currency :: Maybe Text
- accountExternalAccounts'Data'Customer :: Maybe AccountExternalAccounts'Data'Customer'Variants
- accountExternalAccounts'Data'CvcCheck :: Maybe Text
- accountExternalAccounts'Data'DefaultForCurrency :: Maybe Bool
- accountExternalAccounts'Data'DynamicLast4 :: Maybe Text
- accountExternalAccounts'Data'ExpMonth :: Maybe Int
- accountExternalAccounts'Data'ExpYear :: Maybe Int
- accountExternalAccounts'Data'Fingerprint :: Maybe Text
- accountExternalAccounts'Data'Funding :: Maybe Text
- accountExternalAccounts'Data'Id :: Maybe Text
- accountExternalAccounts'Data'Last4 :: Maybe Text
- accountExternalAccounts'Data'Metadata :: Maybe Object
- accountExternalAccounts'Data'Name :: Maybe Text
- accountExternalAccounts'Data'Object :: Maybe AccountExternalAccounts'Data'Object'
- accountExternalAccounts'Data'Recipient :: Maybe AccountExternalAccounts'Data'Recipient'Variants
- accountExternalAccounts'Data'RoutingNumber :: Maybe Text
- accountExternalAccounts'Data'Status :: Maybe Text
- accountExternalAccounts'Data'TokenizationMethod :: Maybe Text
- mkAccountExternalAccounts'Data' :: AccountExternalAccounts'Data'
- data AccountExternalAccounts'Data'Account'Variants
- data AccountExternalAccounts'Data'AvailablePayoutMethods'
- data AccountExternalAccounts'Data'Customer'Variants
- data AccountExternalAccounts'Data'Object'
- data AccountExternalAccounts'Data'Recipient'Variants
- data AccountSettings' = AccountSettings' {
- accountSettings'BacsDebitPayments :: Maybe AccountBacsDebitPaymentsSettings
- accountSettings'Branding :: Maybe AccountBrandingSettings
- accountSettings'CardIssuing :: Maybe AccountCardIssuingSettings
- accountSettings'CardPayments :: Maybe AccountCardPaymentsSettings
- accountSettings'Dashboard :: Maybe AccountDashboardSettings
- accountSettings'Payments :: Maybe AccountPaymentsSettings
- accountSettings'Payouts :: Maybe AccountPayoutSettings
- accountSettings'SepaDebitPayments :: Maybe AccountSepaDebitPaymentsSettings
- mkAccountSettings' :: AccountSettings'
- data AccountType'
Documentation
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
| |
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
| |
Instances
| Eq AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account Methods (==) :: AccountBusinessProfile' -> AccountBusinessProfile' -> Bool # (/=) :: AccountBusinessProfile' -> AccountBusinessProfile' -> Bool # | |
| Show AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account Methods showsPrec :: Int -> AccountBusinessProfile' -> ShowS # show :: AccountBusinessProfile' -> String # showList :: [AccountBusinessProfile'] -> ShowS # | |
| ToJSON AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account Methods toJSON :: AccountBusinessProfile' -> Value # toEncoding :: AccountBusinessProfile' -> Encoding # toJSONList :: [AccountBusinessProfile'] -> Value # | |
| FromJSON AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account Methods parseJSON :: Value -> Parser AccountBusinessProfile' # parseJSONList :: Value -> Parser [AccountBusinessProfile'] # | |
mkAccountBusinessProfile' :: AccountBusinessProfile' Source #
Create a new AccountBusinessProfile' with all required 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
| |
Instances
mkAccountBusinessProfile'SupportAddress' :: AccountBusinessProfile'SupportAddress' Source #
Create a new AccountBusinessProfile'SupportAddress' with all required 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 |
| AccountBusinessType'EnumGovernmentEntity | Represents the JSON value |
| AccountBusinessType'EnumIndividual | Represents the JSON value |
| AccountBusinessType'EnumNonProfit | Represents the JSON value |
Instances
| Eq AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account Methods (==) :: AccountBusinessType' -> AccountBusinessType' -> Bool # (/=) :: AccountBusinessType' -> AccountBusinessType' -> Bool # | |
| Show AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account Methods showsPrec :: Int -> AccountBusinessType' -> ShowS # show :: AccountBusinessType' -> String # showList :: [AccountBusinessType'] -> ShowS # | |
| ToJSON AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account Methods toJSON :: AccountBusinessType' -> Value # toEncoding :: AccountBusinessType' -> Encoding # toJSONList :: [AccountBusinessType'] -> Value # toEncodingList :: [AccountBusinessType'] -> Encoding # | |
| FromJSON AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account Methods parseJSON :: Value -> Parser AccountBusinessType' # parseJSONList :: Value -> Parser [AccountBusinessType'] # | |
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
| |
Instances
| Eq AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account Methods (==) :: AccountExternalAccounts' -> AccountExternalAccounts' -> Bool # (/=) :: AccountExternalAccounts' -> AccountExternalAccounts' -> Bool # | |
| Show AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account Methods showsPrec :: Int -> AccountExternalAccounts' -> ShowS # show :: AccountExternalAccounts' -> String # showList :: [AccountExternalAccounts'] -> ShowS # | |
| ToJSON AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account Methods toJSON :: AccountExternalAccounts' -> Value # toEncoding :: AccountExternalAccounts' -> Encoding # toJSONList :: [AccountExternalAccounts'] -> Value # | |
| FromJSON AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account Methods parseJSON :: Value -> Parser AccountExternalAccounts' # parseJSONList :: Value -> Parser [AccountExternalAccounts'] # | |
mkAccountExternalAccounts' Source #
Arguments
| :: [AccountExternalAccounts'Data'] | |
| -> Bool | |
| -> Text | |
| -> AccountExternalAccounts' |
Create a new AccountExternalAccounts' with all required 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
| |
Instances
| Eq AccountExternalAccounts'Data' Source # | |
Defined in StripeAPI.Types.Account | |
| Show AccountExternalAccounts'Data' Source # | |
Defined in StripeAPI.Types.Account Methods showsPrec :: Int -> AccountExternalAccounts'Data' -> ShowS # show :: AccountExternalAccounts'Data' -> String # showList :: [AccountExternalAccounts'Data'] -> ShowS # | |
| ToJSON AccountExternalAccounts'Data' Source # | |
Defined in StripeAPI.Types.Account Methods toJSON :: AccountExternalAccounts'Data' -> Value # toEncoding :: AccountExternalAccounts'Data' -> Encoding # toJSONList :: [AccountExternalAccounts'Data'] -> Value # toEncodingList :: [AccountExternalAccounts'Data'] -> Encoding # | |
| FromJSON AccountExternalAccounts'Data' Source # | |
Defined in StripeAPI.Types.Account Methods parseJSON :: Value -> Parser AccountExternalAccounts'Data' # parseJSONList :: Value -> Parser [AccountExternalAccounts'Data'] # | |
mkAccountExternalAccounts'Data' :: AccountExternalAccounts'Data' Source #
Create a new AccountExternalAccounts'Data' with all required 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.
Constructors
| AccountExternalAccounts'Data'Account'Text Text | |
| AccountExternalAccounts'Data'Account'Account Account |
Instances
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 |
| AccountExternalAccounts'Data'AvailablePayoutMethods'EnumStandard | Represents the JSON value |
Instances
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.
Constructors
| AccountExternalAccounts'Data'Customer'Text Text | |
| AccountExternalAccounts'Data'Customer'Customer Customer | |
| AccountExternalAccounts'Data'Customer'DeletedCustomer DeletedCustomer |
Instances
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 |
Instances
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.
Constructors
| AccountExternalAccounts'Data'Recipient'Text Text | |
| AccountExternalAccounts'Data'Recipient'Recipient Recipient |
Instances
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.
Constructors
| AccountSettings' | |
Fields
| |
Instances
| Eq AccountSettings' Source # | |
Defined in StripeAPI.Types.Account Methods (==) :: AccountSettings' -> AccountSettings' -> Bool # (/=) :: AccountSettings' -> AccountSettings' -> Bool # | |
| Show AccountSettings' Source # | |
Defined in StripeAPI.Types.Account Methods showsPrec :: Int -> AccountSettings' -> ShowS # show :: AccountSettings' -> String # showList :: [AccountSettings'] -> ShowS # | |
| ToJSON AccountSettings' Source # | |
Defined in StripeAPI.Types.Account Methods toJSON :: AccountSettings' -> Value # toEncoding :: AccountSettings' -> Encoding # toJSONList :: [AccountSettings'] -> Value # toEncodingList :: [AccountSettings'] -> Encoding # | |
| FromJSON AccountSettings' Source # | |
Defined in StripeAPI.Types.Account Methods parseJSON :: Value -> Parser AccountSettings' # parseJSONList :: Value -> Parser [AccountSettings'] # | |
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 |
| AccountType'EnumExpress | Represents the JSON value |
| AccountType'EnumStandard | Represents the JSON value |
Instances
| Eq AccountType' Source # | |
Defined in StripeAPI.Types.Account | |
| Show AccountType' Source # | |
Defined in StripeAPI.Types.Account Methods showsPrec :: Int -> AccountType' -> ShowS # show :: AccountType' -> String # showList :: [AccountType'] -> ShowS # | |
| ToJSON AccountType' Source # | |
Defined in StripeAPI.Types.Account Methods toJSON :: AccountType' -> Value # toEncoding :: AccountType' -> Encoding # toJSONList :: [AccountType'] -> Value # toEncodingList :: [AccountType'] -> Encoding # | |
| FromJSON AccountType' Source # | |
Defined in StripeAPI.Types.Account | |