Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetApplicationFees
Description
Contains the different functions to run the operation getApplicationFees
Synopsis
- getApplicationFees :: forall m. MonadHTTP m => GetApplicationFeesParameters -> ClientT m (Response GetApplicationFeesResponse)
- data GetApplicationFeesParameters = GetApplicationFeesParameters {
- getApplicationFeesParametersQueryCharge :: Maybe Text
- getApplicationFeesParametersQueryCreated :: Maybe GetApplicationFeesParametersQueryCreated'Variants
- getApplicationFeesParametersQueryEndingBefore :: Maybe Text
- getApplicationFeesParametersQueryExpand :: Maybe [Text]
- getApplicationFeesParametersQueryLimit :: Maybe Int
- getApplicationFeesParametersQueryStartingAfter :: Maybe Text
- mkGetApplicationFeesParameters :: GetApplicationFeesParameters
- data GetApplicationFeesParametersQueryCreated'OneOf1 = GetApplicationFeesParametersQueryCreated'OneOf1 {}
- mkGetApplicationFeesParametersQueryCreated'OneOf1 :: GetApplicationFeesParametersQueryCreated'OneOf1
- data GetApplicationFeesParametersQueryCreated'Variants
- data GetApplicationFeesResponse
- data GetApplicationFeesResponseBody200 = GetApplicationFeesResponseBody200 {}
- mkGetApplicationFeesResponseBody200 :: [ApplicationFee] -> Bool -> Text -> GetApplicationFeesResponseBody200
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> GetApplicationFeesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetApplicationFeesResponse) | Monadic computation which returns the result of the operation |
GET /v1/application_fees
<p>Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.</p>
data GetApplicationFeesParameters Source #
Defines the object schema located at paths./v1/application_fees.GET.parameters
in the specification.
Constructors
GetApplicationFeesParameters | |
Fields
|
Instances
mkGetApplicationFeesParameters :: GetApplicationFeesParameters Source #
Create a new GetApplicationFeesParameters
with all required fields.
data GetApplicationFeesParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/application_fees.GET.parameters.properties.queryCreated.anyOf
in the specification.
Constructors
GetApplicationFeesParametersQueryCreated'OneOf1 | |
Instances
mkGetApplicationFeesParametersQueryCreated'OneOf1 :: GetApplicationFeesParametersQueryCreated'OneOf1 Source #
Create a new GetApplicationFeesParametersQueryCreated'OneOf1
with all required fields.
data GetApplicationFeesParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/application_fees.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
Constructors
GetApplicationFeesParametersQueryCreated'GetApplicationFeesParametersQueryCreated'OneOf1 GetApplicationFeesParametersQueryCreated'OneOf1 | |
GetApplicationFeesParametersQueryCreated'Int Int |
Instances
data GetApplicationFeesResponse Source #
Represents a response of the operation getApplicationFees
.
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), GetApplicationFeesResponseError
is used.
Constructors
GetApplicationFeesResponseError String | Means either no matching case available or a parse error |
GetApplicationFeesResponse200 GetApplicationFeesResponseBody200 | Successful response. |
GetApplicationFeesResponseDefault Error | Error response. |
Instances
Eq GetApplicationFeesResponse Source # | |
Defined in StripeAPI.Operations.GetApplicationFees Methods (==) :: GetApplicationFeesResponse -> GetApplicationFeesResponse -> Bool # (/=) :: GetApplicationFeesResponse -> GetApplicationFeesResponse -> Bool # | |
Show GetApplicationFeesResponse Source # | |
Defined in StripeAPI.Operations.GetApplicationFees Methods showsPrec :: Int -> GetApplicationFeesResponse -> ShowS # show :: GetApplicationFeesResponse -> String # showList :: [GetApplicationFeesResponse] -> ShowS # |
data GetApplicationFeesResponseBody200 Source #
Defines the object schema located at paths./v1/application_fees.GET.responses.200.content.application/json.schema
in the specification.
Constructors
GetApplicationFeesResponseBody200 | |
Fields
|
Instances
mkGetApplicationFeesResponseBody200 Source #
Arguments
:: [ApplicationFee] | |
-> Bool | |
-> Text | |
-> GetApplicationFeesResponseBody200 |
Create a new GetApplicationFeesResponseBody200
with all required fields.