Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getRecipients
Synopsis
- getRecipients :: forall m. MonadHTTP m => GetRecipientsParameters -> StripeT m (Response GetRecipientsResponse)
- data GetRecipientsParameters = GetRecipientsParameters {
- getRecipientsParametersQueryCreated :: Maybe GetRecipientsParametersQueryCreated'Variants
- getRecipientsParametersQueryEndingBefore :: Maybe Text
- getRecipientsParametersQueryExpand :: Maybe [Text]
- getRecipientsParametersQueryLimit :: Maybe Int
- getRecipientsParametersQueryStartingAfter :: Maybe Text
- getRecipientsParametersQueryType :: Maybe GetRecipientsParametersQueryType'
- getRecipientsParametersQueryVerified :: Maybe Bool
- mkGetRecipientsParameters :: GetRecipientsParameters
- data GetRecipientsParametersQueryCreated'OneOf1 = GetRecipientsParametersQueryCreated'OneOf1 {}
- mkGetRecipientsParametersQueryCreated'OneOf1 :: GetRecipientsParametersQueryCreated'OneOf1
- data GetRecipientsParametersQueryCreated'Variants
- data GetRecipientsParametersQueryType'
- data GetRecipientsResponse
- data GetRecipientsResponseBody200 = GetRecipientsResponseBody200 {}
- mkGetRecipientsResponseBody200 :: [Recipient] -> Bool -> Text -> GetRecipientsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetRecipientsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetRecipientsResponse) | Monadic computation which returns the result of the operation |
GET /v1/recipients
<p>Returns a list of your recipients. The recipients are returned sorted by creation date, with the most recently created recipients appearing first.</p>
data GetRecipientsParameters Source #
Defines the object schema located at paths./v1/recipients.GET.parameters
in the specification.
GetRecipientsParameters | |
|
Instances
Eq GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients | |
Show GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients showsPrec :: Int -> GetRecipientsParameters -> ShowS # show :: GetRecipientsParameters -> String # showList :: [GetRecipientsParameters] -> ShowS # | |
ToJSON GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients | |
FromJSON GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients |
mkGetRecipientsParameters :: GetRecipientsParameters Source #
Create a new GetRecipientsParameters
with all required fields.
data GetRecipientsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/recipients.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetRecipientsParametersQueryCreated'OneOf1 :: GetRecipientsParametersQueryCreated'OneOf1 Source #
Create a new GetRecipientsParametersQueryCreated'OneOf1
with all required fields.
data GetRecipientsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/recipients.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
GetRecipientsParametersQueryCreated'GetRecipientsParametersQueryCreated'OneOf1 GetRecipientsParametersQueryCreated'OneOf1 | |
GetRecipientsParametersQueryCreated'Int Int |
data GetRecipientsParametersQueryType' Source #
Defines the enum schema located at paths./v1/recipients.GET.parameters.properties.queryType
in the specification.
Represents the parameter named 'type'
GetRecipientsParametersQueryType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetRecipientsParametersQueryType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetRecipientsParametersQueryType'EnumCorporation | Represents the JSON value |
GetRecipientsParametersQueryType'EnumIndividual | Represents the JSON value |
data GetRecipientsResponse Source #
Represents a response of the operation getRecipients
.
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), GetRecipientsResponseError
is used.
GetRecipientsResponseError String | Means either no matching case available or a parse error |
GetRecipientsResponse200 GetRecipientsResponseBody200 | Successful response. |
GetRecipientsResponseDefault Error | Error response. |
Instances
Eq GetRecipientsResponse Source # | |
Defined in StripeAPI.Operations.GetRecipients (==) :: GetRecipientsResponse -> GetRecipientsResponse -> Bool # (/=) :: GetRecipientsResponse -> GetRecipientsResponse -> Bool # | |
Show GetRecipientsResponse Source # | |
Defined in StripeAPI.Operations.GetRecipients showsPrec :: Int -> GetRecipientsResponse -> ShowS # show :: GetRecipientsResponse -> String # showList :: [GetRecipientsResponse] -> ShowS # |
data GetRecipientsResponseBody200 Source #
Defines the object schema located at paths./v1/recipients.GET.responses.200.content.application/json.schema
in the specification.
GetRecipientsResponseBody200 | |
|
Instances
mkGetRecipientsResponseBody200 Source #
:: [Recipient] | |
-> Bool | |
-> Text | |
-> GetRecipientsResponseBody200 |
Create a new GetRecipientsResponseBody200
with all required fields.