Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema TerminalReader
Synopsis
- data Terminal'reader = Terminal'reader {
- terminal'readerDeviceSwVersion :: Maybe String
- terminal'readerDeviceType :: Terminal'readerDeviceType'
- terminal'readerId :: String
- terminal'readerIpAddress :: Maybe String
- terminal'readerLabel :: String
- terminal'readerLivemode :: Bool
- terminal'readerLocation :: Maybe String
- terminal'readerMetadata :: Terminal'readerMetadata'
- terminal'readerObject :: Terminal'readerObject'
- terminal'readerSerialNumber :: String
- terminal'readerStatus :: Maybe String
- data Terminal'readerDeviceType'
- data Terminal'readerMetadata' = Terminal'readerMetadata' {
- data Terminal'readerObject'
Documentation
data Terminal'reader Source #
Defines the data type for the schema terminal.reader
A Reader represents a physical device for accepting payment details.
Related guide: Connecting to a Reader.
Terminal'reader | |
|
Instances
Eq Terminal'reader Source # | |
Defined in StripeAPI.Types.TerminalReader (==) :: Terminal'reader -> Terminal'reader -> Bool # (/=) :: Terminal'reader -> Terminal'reader -> Bool # | |
Show Terminal'reader Source # | |
Defined in StripeAPI.Types.TerminalReader showsPrec :: Int -> Terminal'reader -> ShowS # show :: Terminal'reader -> String # showList :: [Terminal'reader] -> ShowS # | |
ToJSON Terminal'reader Source # | |
Defined in StripeAPI.Types.TerminalReader toJSON :: Terminal'reader -> Value # toEncoding :: Terminal'reader -> Encoding # toJSONList :: [Terminal'reader] -> Value # toEncodingList :: [Terminal'reader] -> Encoding # | |
FromJSON Terminal'reader Source # | |
Defined in StripeAPI.Types.TerminalReader parseJSON :: Value -> Parser Terminal'reader # parseJSONList :: Value -> Parser [Terminal'reader] # |
data Terminal'readerDeviceType' Source #
Defines the enum schema terminal.readerDevice_type'
Type of reader, one of `bbpos_chipper2x` or `verifone_P400`.
Terminal'readerDeviceType'EnumOther Value | |
Terminal'readerDeviceType'EnumTyped String | |
Terminal'readerDeviceType'EnumStringBbposChipper2x | |
Terminal'readerDeviceType'EnumStringVerifoneP400 |
Instances
data Terminal'readerMetadata' Source #
Defines the data type for the schema terminal.readerMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Instances
Eq Terminal'readerMetadata' Source # | |
Defined in StripeAPI.Types.TerminalReader | |
Show Terminal'readerMetadata' Source # | |
Defined in StripeAPI.Types.TerminalReader showsPrec :: Int -> Terminal'readerMetadata' -> ShowS # show :: Terminal'readerMetadata' -> String # showList :: [Terminal'readerMetadata'] -> ShowS # | |
ToJSON Terminal'readerMetadata' Source # | |
Defined in StripeAPI.Types.TerminalReader | |
FromJSON Terminal'readerMetadata' Source # | |
Defined in StripeAPI.Types.TerminalReader |
data Terminal'readerObject' Source #
Defines the enum schema terminal.readerObject'
String representing the object's type. Objects of the same type share the same value.
Terminal'readerObject'EnumOther Value | |
Terminal'readerObject'EnumTyped String | |
Terminal'readerObject'EnumStringTerminal'reader |
Instances
Eq Terminal'readerObject' Source # | |
Defined in StripeAPI.Types.TerminalReader | |
Show Terminal'readerObject' Source # | |
Defined in StripeAPI.Types.TerminalReader showsPrec :: Int -> Terminal'readerObject' -> ShowS # show :: Terminal'readerObject' -> String # showList :: [Terminal'readerObject'] -> ShowS # | |
ToJSON Terminal'readerObject' Source # | |
Defined in StripeAPI.Types.TerminalReader toJSON :: Terminal'readerObject' -> Value # toEncoding :: Terminal'readerObject' -> Encoding # toJSONList :: [Terminal'readerObject'] -> Value # | |
FromJSON Terminal'readerObject' Source # | |
Defined in StripeAPI.Types.TerminalReader |