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