stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetTerminalReaders

Description

Contains the different functions to run the operation getTerminalReaders

Synopsis

Documentation

getTerminalReaders Source #

Arguments

:: forall m. MonadHTTP m 
=> GetTerminalReadersParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT 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.

Constructors

GetTerminalReadersParameters 

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

Constructors

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 "bbpos_chipper2x"

GetTerminalReadersParametersQueryDeviceType'EnumVerifoneP400

Represents the JSON value "verifone_P400"

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

Constructors

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 "offline"

GetTerminalReadersParametersQueryStatus'EnumOnline

Represents the JSON value "online"

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.

Constructors

GetTerminalReadersResponseError String

Means either no matching case available or a parse error

GetTerminalReadersResponse200 GetTerminalReadersResponseBody200

Successful response.

GetTerminalReadersResponseDefault Error

Error response.

data GetTerminalReadersResponseBody200 Source #

Defines the object schema located at paths./v1/terminal/readers.GET.responses.200.content.application/json.schema in the specification.

Constructors

GetTerminalReadersResponseBody200 

Fields