Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTransfers
Synopsis
- getTransfers :: forall m. MonadHTTP m => GetTransfersParameters -> ClientT m (Response GetTransfersResponse)
- data GetTransfersParameters = GetTransfersParameters {
- getTransfersParametersQueryCreated :: Maybe GetTransfersParametersQueryCreated'Variants
- getTransfersParametersQueryDestination :: Maybe Text
- getTransfersParametersQueryEndingBefore :: Maybe Text
- getTransfersParametersQueryExpand :: Maybe [Text]
- getTransfersParametersQueryLimit :: Maybe Int
- getTransfersParametersQueryStartingAfter :: Maybe Text
- getTransfersParametersQueryTransferGroup :: Maybe Text
- mkGetTransfersParameters :: GetTransfersParameters
- data GetTransfersParametersQueryCreated'OneOf1 = GetTransfersParametersQueryCreated'OneOf1 {}
- mkGetTransfersParametersQueryCreated'OneOf1 :: GetTransfersParametersQueryCreated'OneOf1
- data GetTransfersParametersQueryCreated'Variants
- data GetTransfersResponse
- data GetTransfersResponseBody200 = GetTransfersResponseBody200 {}
- mkGetTransfersResponseBody200 :: [Transfer] -> Bool -> Text -> GetTransfersResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetTransfersParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetTransfersResponse) | Monadic computation which returns the result of the operation |
GET /v1/transfers
<p>Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.</p>
data GetTransfersParameters Source #
Defines the object schema located at paths./v1/transfers.GET.parameters
in the specification.
GetTransfersParameters | |
|
Instances
Eq GetTransfersParameters Source # | |
Defined in StripeAPI.Operations.GetTransfers | |
Show GetTransfersParameters Source # | |
Defined in StripeAPI.Operations.GetTransfers showsPrec :: Int -> GetTransfersParameters -> ShowS # show :: GetTransfersParameters -> String # showList :: [GetTransfersParameters] -> ShowS # | |
ToJSON GetTransfersParameters Source # | |
Defined in StripeAPI.Operations.GetTransfers toJSON :: GetTransfersParameters -> Value # toEncoding :: GetTransfersParameters -> Encoding # toJSONList :: [GetTransfersParameters] -> Value # | |
FromJSON GetTransfersParameters Source # | |
Defined in StripeAPI.Operations.GetTransfers |
mkGetTransfersParameters :: GetTransfersParameters Source #
Create a new GetTransfersParameters
with all required fields.
data GetTransfersParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/transfers.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetTransfersParametersQueryCreated'OneOf1 :: GetTransfersParametersQueryCreated'OneOf1 Source #
Create a new GetTransfersParametersQueryCreated'OneOf1
with all required fields.
data GetTransfersParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/transfers.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
GetTransfersParametersQueryCreated'GetTransfersParametersQueryCreated'OneOf1 GetTransfersParametersQueryCreated'OneOf1 | |
GetTransfersParametersQueryCreated'Int Int |
data GetTransfersResponse Source #
Represents a response of the operation getTransfers
.
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), GetTransfersResponseError
is used.
GetTransfersResponseError String | Means either no matching case available or a parse error |
GetTransfersResponse200 GetTransfersResponseBody200 | Successful response. |
GetTransfersResponseDefault Error | Error response. |
Instances
Eq GetTransfersResponse Source # | |
Defined in StripeAPI.Operations.GetTransfers (==) :: GetTransfersResponse -> GetTransfersResponse -> Bool # (/=) :: GetTransfersResponse -> GetTransfersResponse -> Bool # | |
Show GetTransfersResponse Source # | |
Defined in StripeAPI.Operations.GetTransfers showsPrec :: Int -> GetTransfersResponse -> ShowS # show :: GetTransfersResponse -> String # showList :: [GetTransfersResponse] -> ShowS # |
data GetTransfersResponseBody200 Source #
Defines the object schema located at paths./v1/transfers.GET.responses.200.content.application/json.schema
in the specification.
GetTransfersResponseBody200 | |
|
Instances
mkGetTransfersResponseBody200 Source #
:: [Transfer] | |
-> Bool | |
-> Text | |
-> GetTransfersResponseBody200 |
Create a new GetTransfersResponseBody200
with all required fields.