Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getApplicationFees
Synopsis
- getApplicationFees :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> m (Either HttpException (Response GetApplicationFeesResponse))
- getApplicationFeesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> m (Either HttpException (Response ByteString))
- getApplicationFeesM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetApplicationFeesResponse))
- getApplicationFeesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetApplicationFeesRequestBody = GetApplicationFeesRequestBody {
- data GetApplicationFeesResponse
- data GetApplicationFeesResponseBody200 = GetApplicationFeesResponseBody200 {}
- data GetApplicationFeesResponseBody200Object'
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | charge: Only return application fees for the charge specified by this charge ID. | Constraints: Maximum length of 5000 |
-> Maybe String | created |
-> Maybe String | ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> Maybe Integer | limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
-> Maybe String | starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. | Constraints: Maximum length of 5000 |
-> GetApplicationFeesRequestBody | The request body to send |
-> m (Either HttpException (Response GetApplicationFeesResponse)) | Monad containing 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>
getApplicationFeesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/application_fees
The same as getApplicationFees
but returns the raw ByteString
getApplicationFeesM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetApplicationFeesResponse)) Source #
GET /v1/application_fees
Monadic version of getApplicationFees
(use with runWithConfiguration
)
getApplicationFeesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetApplicationFeesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/application_fees
Monadic version of getApplicationFeesRaw
(use with runWithConfiguration
)
data GetApplicationFeesRequestBody Source #
Defines the data type for the schema getApplicationFeesRequestBody
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.
GetApplicationFeesResponseError String | Means either no matching case available or a parse error |
GetApplicationFeesResponse200 GetApplicationFeesResponseBody200 | Successful response. |
GetApplicationFeesResponseDefault Error | Error response. |
Instances
data GetApplicationFeesResponseBody200 Source #
Defines the data type for the schema GetApplicationFeesResponseBody200
GetApplicationFeesResponseBody200 | |
|
data GetApplicationFeesResponseBody200Object' Source #
Defines the enum schema GetApplicationFeesResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetApplicationFeesResponseBody200Object'EnumOther Value | |
GetApplicationFeesResponseBody200Object'EnumTyped String | |
GetApplicationFeesResponseBody200Object'EnumStringList |