Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema BankAccount
Synopsis
- data BankAccount = BankAccount {
- bankAccountAccount :: Maybe BankAccountAccount'Variants
- bankAccountAccountHolderName :: Maybe Text
- bankAccountAccountHolderType :: Maybe Text
- bankAccountAvailablePayoutMethods :: Maybe [BankAccountAvailablePayoutMethods']
- bankAccountBankName :: Maybe Text
- bankAccountCountry :: Text
- bankAccountCurrency :: Text
- bankAccountCustomer :: Maybe BankAccountCustomer'Variants
- bankAccountDefaultForCurrency :: Maybe Bool
- bankAccountFingerprint :: Maybe Text
- bankAccountId :: Text
- bankAccountLast4 :: Text
- bankAccountMetadata :: Maybe Object
- bankAccountRoutingNumber :: Maybe Text
- bankAccountStatus :: Text
- mkBankAccount :: Text -> Text -> Text -> Text -> Text -> BankAccount
- data BankAccountAccount'Variants
- data BankAccountAvailablePayoutMethods'
- data BankAccountCustomer'Variants
Documentation
data BankAccount Source #
Defines the object schema located at components.schemas.bank_account
in the specification.
These bank accounts are payment methods on `Customer` objects.
On the other hand External Accounts are transfer destinations on `Account` objects for Custom accounts. They can be bank accounts or debit cards as well, and are documented in the links above.
Related guide: Bank Debits and Transfers.
BankAccount | |
|
Instances
Eq BankAccount Source # | |
Defined in StripeAPI.Types.BankAccount (==) :: BankAccount -> BankAccount -> Bool # (/=) :: BankAccount -> BankAccount -> Bool # | |
Show BankAccount Source # | |
Defined in StripeAPI.Types.BankAccount showsPrec :: Int -> BankAccount -> ShowS # show :: BankAccount -> String # showList :: [BankAccount] -> ShowS # | |
ToJSON BankAccount Source # | |
Defined in StripeAPI.Types.BankAccount toJSON :: BankAccount -> Value # toEncoding :: BankAccount -> Encoding # toJSONList :: [BankAccount] -> Value # toEncodingList :: [BankAccount] -> Encoding # | |
FromJSON BankAccount Source # | |
Defined in StripeAPI.Types.BankAccount parseJSON :: Value -> Parser BankAccount # parseJSONList :: Value -> Parser [BankAccount] # |
Create a new BankAccount
with all required fields.
data BankAccountAccount'Variants Source #
Defines the oneOf schema located at components.schemas.bank_account.properties.account.anyOf
in the specification.
The ID of the account that the bank account is associated with.
Instances
data BankAccountAvailablePayoutMethods' Source #
Defines the enum schema located at components.schemas.bank_account.properties.available_payout_methods.items
in the specification.
BankAccountAvailablePayoutMethods'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
BankAccountAvailablePayoutMethods'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
BankAccountAvailablePayoutMethods'EnumInstant | Represents the JSON value |
BankAccountAvailablePayoutMethods'EnumStandard | Represents the JSON value |
data BankAccountCustomer'Variants Source #
Defines the oneOf schema located at components.schemas.bank_account.properties.customer.anyOf
in the specification.
The ID of the customer that the bank account is associated with.
BankAccountCustomer'Text Text | |
BankAccountCustomer'Customer Customer | |
BankAccountCustomer'DeletedCustomer DeletedCustomer |