Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTerminalReaders
Synopsis
- getTerminalReaders :: forall m. MonadHTTP m => GetTerminalReadersParameters -> StripeT m (Response GetTerminalReadersResponse)
- data GetTerminalReadersParameters = GetTerminalReadersParameters {
- getTerminalReadersParametersQueryDeviceType :: Maybe GetTerminalReadersParametersQueryDeviceType'
- getTerminalReadersParametersQueryEndingBefore :: Maybe Text
- getTerminalReadersParametersQueryExpand :: Maybe [Text]
- getTerminalReadersParametersQueryLimit :: Maybe Int
- getTerminalReadersParametersQueryLocation :: Maybe Text
- getTerminalReadersParametersQueryStartingAfter :: Maybe Text
- getTerminalReadersParametersQueryStatus :: Maybe GetTerminalReadersParametersQueryStatus'
- mkGetTerminalReadersParameters :: GetTerminalReadersParameters
- data GetTerminalReadersParametersQueryDeviceType'
- data GetTerminalReadersParametersQueryStatus'
- data GetTerminalReadersResponse
- data GetTerminalReadersResponseBody200 = GetTerminalReadersResponseBody200 {}
- mkGetTerminalReadersResponseBody200 :: [Terminal'reader] -> Bool -> Text -> GetTerminalReadersResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetTerminalReadersParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetTerminalReadersResponse) | Monadic computation which returns the result of the operation |
GET /v1/terminal/readers
<p>Returns a list of <code>Reader</code> objects.</p>
data GetTerminalReadersParameters Source #
Defines the object schema located at paths./v1/terminal/readers.GET.parameters
in the specification.
GetTerminalReadersParameters | |
|
Instances
mkGetTerminalReadersParameters :: GetTerminalReadersParameters Source #
Create a new GetTerminalReadersParameters
with all required fields.
data GetTerminalReadersParametersQueryDeviceType' Source #
Defines the enum schema located at paths./v1/terminal/readers.GET.parameters.properties.queryDevice_type
in the specification.
Represents the parameter named 'device_type'
Filters readers by device type
GetTerminalReadersParametersQueryDeviceType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetTerminalReadersParametersQueryDeviceType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetTerminalReadersParametersQueryDeviceType'EnumBbposChipper2x | Represents the JSON value |
GetTerminalReadersParametersQueryDeviceType'EnumVerifoneP400 | Represents the JSON value |
Instances
data GetTerminalReadersParametersQueryStatus' Source #
Defines the enum schema located at paths./v1/terminal/readers.GET.parameters.properties.queryStatus
in the specification.
Represents the parameter named 'status'
A status filter to filter readers to only offline or online readers
GetTerminalReadersParametersQueryStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetTerminalReadersParametersQueryStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetTerminalReadersParametersQueryStatus'EnumOffline | Represents the JSON value |
GetTerminalReadersParametersQueryStatus'EnumOnline | Represents the JSON value |
data GetTerminalReadersResponse Source #
Represents a response of the operation getTerminalReaders
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetTerminalReadersResponseError
is used.
GetTerminalReadersResponseError String | Means either no matching case available or a parse error |
GetTerminalReadersResponse200 GetTerminalReadersResponseBody200 | Successful response. |
GetTerminalReadersResponseDefault Error | Error response. |
Instances
data GetTerminalReadersResponseBody200 Source #
Defines the object schema located at paths./v1/terminal/readers.GET.responses.200.content.application/json.schema
in the specification.
GetTerminalReadersResponseBody200 | |
|
mkGetTerminalReadersResponseBody200 Source #
:: [Terminal'reader] | |
-> Bool | |
-> Text | |
-> GetTerminalReadersResponseBody200 |
Create a new GetTerminalReadersResponseBody200
with all required fields.