Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
CustomerAcceptance | |
|
Instances
Eq CustomerAcceptance Source # | |
Defined in StripeAPI.Types.CustomerAcceptance (==) :: CustomerAcceptance -> CustomerAcceptance -> Bool # (/=) :: CustomerAcceptance -> CustomerAcceptance -> Bool # | |
Show CustomerAcceptance Source # | |
Defined in StripeAPI.Types.CustomerAcceptance showsPrec :: Int -> CustomerAcceptance -> ShowS # show :: CustomerAcceptance -> String # showList :: [CustomerAcceptance] -> ShowS # | |
ToJSON CustomerAcceptance Source # | |
Defined in StripeAPI.Types.CustomerAcceptance toJSON :: CustomerAcceptance -> Value # toEncoding :: CustomerAcceptance -> Encoding # toJSONList :: [CustomerAcceptance] -> Value # toEncodingList :: [CustomerAcceptance] -> Encoding # | |
FromJSON CustomerAcceptance Source # | |
Defined in StripeAPI.Types.CustomerAcceptance 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`.
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 | |
Show CustomerAcceptanceType' Source # | |
Defined in StripeAPI.Types.CustomerAcceptance showsPrec :: Int -> CustomerAcceptanceType' -> ShowS # show :: CustomerAcceptanceType' -> String # showList :: [CustomerAcceptanceType'] -> ShowS # | |
ToJSON CustomerAcceptanceType' Source # | |
Defined in StripeAPI.Types.CustomerAcceptance | |
FromJSON CustomerAcceptanceType' Source # | |
Defined in StripeAPI.Types.CustomerAcceptance |