| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.AccountController
Description
Contains the types generated from the schema AccountController
Synopsis
Documentation
data AccountController Source #
Defines the object schema located at components.schemas.account_controller in the specification.
Constructors
| AccountController | |
Fields
| |
Instances
| Eq AccountController Source # | |
Defined in StripeAPI.Types.AccountController Methods (==) :: AccountController -> AccountController -> Bool # (/=) :: AccountController -> AccountController -> Bool # | |
| Show AccountController Source # | |
Defined in StripeAPI.Types.AccountController Methods showsPrec :: Int -> AccountController -> ShowS # show :: AccountController -> String # showList :: [AccountController] -> ShowS # | |
| ToJSON AccountController Source # | |
Defined in StripeAPI.Types.AccountController Methods toJSON :: AccountController -> Value # toEncoding :: AccountController -> Encoding # toJSONList :: [AccountController] -> Value # toEncodingList :: [AccountController] -> Encoding # | |
| FromJSON AccountController Source # | |
Defined in StripeAPI.Types.AccountController Methods parseJSON :: Value -> Parser AccountController # parseJSONList :: Value -> Parser [AccountController] # | |
mkAccountController :: AccountController Source #
Create a new AccountController with all required fields.
data AccountControllerType' Source #
Defines the enum schema located at components.schemas.account_controller.properties.type in the specification.
The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.
Constructors
| AccountControllerType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| AccountControllerType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| AccountControllerType'EnumAccount | Represents the JSON value |
| AccountControllerType'EnumApplication | Represents the JSON value |
Instances
| Eq AccountControllerType' Source # | |
Defined in StripeAPI.Types.AccountController Methods (==) :: AccountControllerType' -> AccountControllerType' -> Bool # (/=) :: AccountControllerType' -> AccountControllerType' -> Bool # | |
| Show AccountControllerType' Source # | |
Defined in StripeAPI.Types.AccountController Methods showsPrec :: Int -> AccountControllerType' -> ShowS # show :: AccountControllerType' -> String # showList :: [AccountControllerType'] -> ShowS # | |
| ToJSON AccountControllerType' Source # | |
Defined in StripeAPI.Types.AccountController Methods toJSON :: AccountControllerType' -> Value # toEncoding :: AccountControllerType' -> Encoding # toJSONList :: [AccountControllerType'] -> Value # | |
| FromJSON AccountControllerType' Source # | |
Defined in StripeAPI.Types.AccountController Methods parseJSON :: Value -> Parser AccountControllerType' # parseJSONList :: Value -> Parser [AccountControllerType'] # | |