Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetRecipients
Description
Contains the different functions to run the operation getRecipients
Synopsis
- getRecipients :: forall m. MonadHTTP m => GetRecipientsParameters -> ClientT 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
Arguments
:: forall m. MonadHTTP m | |
=> GetRecipientsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT 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.
Constructors
GetRecipientsParameters | |
Fields
|
Instances
Eq GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients Methods (==) :: GetRecipientsParameters -> GetRecipientsParameters -> Bool # (/=) :: GetRecipientsParameters -> GetRecipientsParameters -> Bool # | |
Show GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients Methods showsPrec :: Int -> GetRecipientsParameters -> ShowS # show :: GetRecipientsParameters -> String # showList :: [GetRecipientsParameters] -> ShowS # | |
ToJSON GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients Methods toJSON :: GetRecipientsParameters -> Value # toEncoding :: GetRecipientsParameters -> Encoding # toJSONList :: [GetRecipientsParameters] -> Value # | |
FromJSON GetRecipientsParameters Source # | |
Defined in StripeAPI.Operations.GetRecipients Methods parseJSON :: Value -> Parser GetRecipientsParameters # parseJSONList :: Value -> Parser [GetRecipientsParameters] # |
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.
Constructors
GetRecipientsParametersQueryCreated'OneOf1 | |
Instances
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'
Constructors
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'
Constructors
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 |
Instances
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.
Constructors
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 Methods (==) :: GetRecipientsResponse -> GetRecipientsResponse -> Bool # (/=) :: GetRecipientsResponse -> GetRecipientsResponse -> Bool # | |
Show GetRecipientsResponse Source # | |
Defined in StripeAPI.Operations.GetRecipients Methods 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.
Constructors
GetRecipientsResponseBody200 | |
Fields
|
Instances
mkGetRecipientsResponseBody200 Source #
Arguments
:: [Recipient] | |
-> Bool | |
-> Text | |
-> GetRecipientsResponseBody200 |
Create a new GetRecipientsResponseBody200
with all required fields.