Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getPaymentMethodsPaymentMethod
Synopsis
- getPaymentMethodsPaymentMethod :: forall m. MonadHTTP m => GetPaymentMethodsPaymentMethodParameters -> ClientT m (Response GetPaymentMethodsPaymentMethodResponse)
- data GetPaymentMethodsPaymentMethodParameters = GetPaymentMethodsPaymentMethodParameters {}
- mkGetPaymentMethodsPaymentMethodParameters :: Text -> GetPaymentMethodsPaymentMethodParameters
- data GetPaymentMethodsPaymentMethodResponse
Documentation
getPaymentMethodsPaymentMethod Source #
:: forall m. MonadHTTP m | |
=> GetPaymentMethodsPaymentMethodParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetPaymentMethodsPaymentMethodResponse) | Monadic computation which returns the result of the operation |
GET /v1/payment_methods/{payment_method}
<p>Retrieves a PaymentMethod object.</p>
data GetPaymentMethodsPaymentMethodParameters Source #
Defines the object schema located at paths./v1/payment_methods/{payment_method}.GET.parameters
in the specification.
GetPaymentMethodsPaymentMethodParameters | |
|
mkGetPaymentMethodsPaymentMethodParameters Source #
Create a new GetPaymentMethodsPaymentMethodParameters
with all required fields.
data GetPaymentMethodsPaymentMethodResponse Source #
Represents a response of the operation getPaymentMethodsPaymentMethod
.
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), GetPaymentMethodsPaymentMethodResponseError
is used.
GetPaymentMethodsPaymentMethodResponseError String | Means either no matching case available or a parse error |
GetPaymentMethodsPaymentMethodResponse200 PaymentMethod | Successful response. |
GetPaymentMethodsPaymentMethodResponseDefault Error | Error response. |