Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetTopupsTopup
Description
Contains the different functions to run the operation getTopupsTopup
Synopsis
- getTopupsTopup :: forall m. MonadHTTP m => GetTopupsTopupParameters -> ClientT m (Response GetTopupsTopupResponse)
- data GetTopupsTopupParameters = GetTopupsTopupParameters {}
- mkGetTopupsTopupParameters :: Text -> GetTopupsTopupParameters
- data GetTopupsTopupResponse
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> GetTopupsTopupParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetTopupsTopupResponse) | Monadic computation which returns the result of the operation |
GET /v1/topups/{topup}
<p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.</p>
data GetTopupsTopupParameters Source #
Defines the object schema located at paths./v1/topups/{topup}.GET.parameters
in the specification.
Constructors
GetTopupsTopupParameters | |
Fields
|
Instances
Eq GetTopupsTopupParameters Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup Methods (==) :: GetTopupsTopupParameters -> GetTopupsTopupParameters -> Bool # (/=) :: GetTopupsTopupParameters -> GetTopupsTopupParameters -> Bool # | |
Show GetTopupsTopupParameters Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup Methods showsPrec :: Int -> GetTopupsTopupParameters -> ShowS # show :: GetTopupsTopupParameters -> String # showList :: [GetTopupsTopupParameters] -> ShowS # | |
ToJSON GetTopupsTopupParameters Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup Methods toJSON :: GetTopupsTopupParameters -> Value # toEncoding :: GetTopupsTopupParameters -> Encoding # toJSONList :: [GetTopupsTopupParameters] -> Value # | |
FromJSON GetTopupsTopupParameters Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup Methods parseJSON :: Value -> Parser GetTopupsTopupParameters # parseJSONList :: Value -> Parser [GetTopupsTopupParameters] # |
mkGetTopupsTopupParameters Source #
Create a new GetTopupsTopupParameters
with all required fields.
data GetTopupsTopupResponse Source #
Represents a response of the operation getTopupsTopup
.
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), GetTopupsTopupResponseError
is used.
Constructors
GetTopupsTopupResponseError String | Means either no matching case available or a parse error |
GetTopupsTopupResponse200 Topup | Successful response. |
GetTopupsTopupResponseDefault Error | Error response. |
Instances
Eq GetTopupsTopupResponse Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup Methods (==) :: GetTopupsTopupResponse -> GetTopupsTopupResponse -> Bool # (/=) :: GetTopupsTopupResponse -> GetTopupsTopupResponse -> Bool # | |
Show GetTopupsTopupResponse Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup Methods showsPrec :: Int -> GetTopupsTopupResponse -> ShowS # show :: GetTopupsTopupResponse -> String # showList :: [GetTopupsTopupResponse] -> ShowS # |