Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetBitcoinReceivers
Description
Contains the different functions to run the operation getBitcoinReceivers
Synopsis
- getBitcoinReceivers :: forall m. MonadHTTP m => GetBitcoinReceiversParameters -> ClientT m (Response GetBitcoinReceiversResponse)
- data GetBitcoinReceiversParameters = GetBitcoinReceiversParameters {
- getBitcoinReceiversParametersQueryActive :: Maybe Bool
- getBitcoinReceiversParametersQueryEndingBefore :: Maybe Text
- getBitcoinReceiversParametersQueryExpand :: Maybe [Text]
- getBitcoinReceiversParametersQueryFilled :: Maybe Bool
- getBitcoinReceiversParametersQueryLimit :: Maybe Int
- getBitcoinReceiversParametersQueryStartingAfter :: Maybe Text
- getBitcoinReceiversParametersQueryUncapturedFunds :: Maybe Bool
- mkGetBitcoinReceiversParameters :: GetBitcoinReceiversParameters
- data GetBitcoinReceiversResponse
- data GetBitcoinReceiversResponseBody200 = GetBitcoinReceiversResponseBody200 {}
- mkGetBitcoinReceiversResponseBody200 :: [BitcoinReceiver] -> Bool -> Text -> GetBitcoinReceiversResponseBody200
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> GetBitcoinReceiversParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetBitcoinReceiversResponse) | Monadic computation which returns the result of the operation |
GET /v1/bitcoin/receivers
<p>Returns a list of your receivers. Receivers are returned sorted by creation date, with the most recently created receivers appearing first.</p>
data GetBitcoinReceiversParameters Source #
Defines the object schema located at paths./v1/bitcoin/receivers.GET.parameters
in the specification.
Constructors
GetBitcoinReceiversParameters | |
Fields
|
Instances
mkGetBitcoinReceiversParameters :: GetBitcoinReceiversParameters Source #
Create a new GetBitcoinReceiversParameters
with all required fields.
data GetBitcoinReceiversResponse Source #
Represents a response of the operation getBitcoinReceivers
.
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), GetBitcoinReceiversResponseError
is used.
Constructors
GetBitcoinReceiversResponseError String | Means either no matching case available or a parse error |
GetBitcoinReceiversResponse200 GetBitcoinReceiversResponseBody200 | Successful response. |
GetBitcoinReceiversResponseDefault Error | Error response. |
Instances
Eq GetBitcoinReceiversResponse Source # | |
Defined in StripeAPI.Operations.GetBitcoinReceivers Methods (==) :: GetBitcoinReceiversResponse -> GetBitcoinReceiversResponse -> Bool # (/=) :: GetBitcoinReceiversResponse -> GetBitcoinReceiversResponse -> Bool # | |
Show GetBitcoinReceiversResponse Source # | |
Defined in StripeAPI.Operations.GetBitcoinReceivers Methods showsPrec :: Int -> GetBitcoinReceiversResponse -> ShowS # show :: GetBitcoinReceiversResponse -> String # showList :: [GetBitcoinReceiversResponse] -> ShowS # |
data GetBitcoinReceiversResponseBody200 Source #
Defines the object schema located at paths./v1/bitcoin/receivers.GET.responses.200.content.application/json.schema
in the specification.
Constructors
GetBitcoinReceiversResponseBody200 | |
Fields
|
Instances
mkGetBitcoinReceiversResponseBody200 Source #
Arguments
:: [BitcoinReceiver] | |
-> Bool | |
-> Text | |
-> GetBitcoinReceiversResponseBody200 |
Create a new GetBitcoinReceiversResponseBody200
with all required fields.