Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Account | |
|
data AccountBusinessProfile' Source #
Defines the object schema located at components.schemas.account.properties.business_profile.anyOf
in the specification.
Business information about the account.
AccountBusinessProfile' | |
|
Instances
Eq AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account | |
Show AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account showsPrec :: Int -> AccountBusinessProfile' -> ShowS # show :: AccountBusinessProfile' -> String # showList :: [AccountBusinessProfile'] -> ShowS # | |
ToJSON AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account | |
FromJSON AccountBusinessProfile' Source # | |
Defined in StripeAPI.Types.Account |
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.
AccountBusinessProfile'SupportAddress' | |
|
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.
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 (==) :: AccountBusinessType' -> AccountBusinessType' -> Bool # (/=) :: AccountBusinessType' -> AccountBusinessType' -> Bool # | |
Show AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account showsPrec :: Int -> AccountBusinessType' -> ShowS # show :: AccountBusinessType' -> String # showList :: [AccountBusinessType'] -> ShowS # | |
ToJSON AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account toJSON :: AccountBusinessType' -> Value # toEncoding :: AccountBusinessType' -> Encoding # toJSONList :: [AccountBusinessType'] -> Value # toEncodingList :: [AccountBusinessType'] -> Encoding # | |
FromJSON AccountBusinessType' Source # | |
Defined in StripeAPI.Types.Account 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
AccountExternalAccounts' | |
|
Instances
Eq AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account | |
Show AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account showsPrec :: Int -> AccountExternalAccounts' -> ShowS # show :: AccountExternalAccounts' -> String # showList :: [AccountExternalAccounts'] -> ShowS # | |
ToJSON AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account | |
FromJSON AccountExternalAccounts' Source # | |
Defined in StripeAPI.Types.Account |
mkAccountExternalAccounts' Source #
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.
AccountExternalAccounts'Data' | |
|
Instances
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.
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.
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.
AccountExternalAccounts'Data'Customer'Text Text | |
AccountExternalAccounts'Data'Customer'Customer Customer | |
AccountExternalAccounts'Data'Customer'DeletedCustomer DeletedCustomer |
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.
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 |
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.
AccountExternalAccounts'Data'Recipient'Text Text | |
AccountExternalAccounts'Data'Recipient'Recipient Recipient |
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.
AccountSettings' | |
|
Instances
Eq AccountSettings' Source # | |
Defined in StripeAPI.Types.Account (==) :: AccountSettings' -> AccountSettings' -> Bool # (/=) :: AccountSettings' -> AccountSettings' -> Bool # | |
Show AccountSettings' Source # | |
Defined in StripeAPI.Types.Account showsPrec :: Int -> AccountSettings' -> ShowS # show :: AccountSettings' -> String # showList :: [AccountSettings'] -> ShowS # | |
ToJSON AccountSettings' Source # | |
Defined in StripeAPI.Types.Account toJSON :: AccountSettings' -> Value # toEncoding :: AccountSettings' -> Encoding # toJSONList :: [AccountSettings'] -> Value # toEncodingList :: [AccountSettings'] -> Encoding # | |
FromJSON AccountSettings' Source # | |
Defined in StripeAPI.Types.Account 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`.
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 (==) :: AccountType' -> AccountType' -> Bool # (/=) :: AccountType' -> AccountType' -> Bool # | |
Show AccountType' Source # | |
Defined in StripeAPI.Types.Account showsPrec :: Int -> AccountType' -> ShowS # show :: AccountType' -> String # showList :: [AccountType'] -> ShowS # | |
ToJSON AccountType' Source # | |
Defined in StripeAPI.Types.Account toJSON :: AccountType' -> Value # toEncoding :: AccountType' -> Encoding # toJSONList :: [AccountType'] -> Value # toEncodingList :: [AccountType'] -> Encoding # | |
FromJSON AccountType' Source # | |
Defined in StripeAPI.Types.Account parseJSON :: Value -> Parser AccountType' # parseJSONList :: Value -> Parser [AccountType'] # |