Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getPaymentMethodsPaymentMethod
Synopsis
- getPaymentMethodsPaymentMethod :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> m (Either HttpException (Response GetPaymentMethodsPaymentMethodResponse))
- getPaymentMethodsPaymentMethodRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> m (Either HttpException (Response ByteString))
- getPaymentMethodsPaymentMethodM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetPaymentMethodsPaymentMethodResponse))
- getPaymentMethodsPaymentMethodRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetPaymentMethodsPaymentMethodRequestBody = GetPaymentMethodsPaymentMethodRequestBody {
- data GetPaymentMethodsPaymentMethodResponse
Documentation
getPaymentMethodsPaymentMethod Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | payment_method | Constraints: Maximum length of 5000 |
-> GetPaymentMethodsPaymentMethodRequestBody | The request body to send |
-> m (Either HttpException (Response GetPaymentMethodsPaymentMethodResponse)) | Monad containing the result of the operation |
GET /v1/payment_methods/{payment_method}
<p>Retrieves a PaymentMethod object.</p>
getPaymentMethodsPaymentMethodRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/payment_methods/{payment_method}
The same as getPaymentMethodsPaymentMethod
but returns the raw ByteString
getPaymentMethodsPaymentMethodM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetPaymentMethodsPaymentMethodResponse)) Source #
GET /v1/payment_methods/{payment_method}
Monadic version of getPaymentMethodsPaymentMethod
(use with runWithConfiguration
)
getPaymentMethodsPaymentMethodRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetPaymentMethodsPaymentMethodRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/payment_methods/{payment_method}
Monadic version of getPaymentMethodsPaymentMethodRaw
(use with runWithConfiguration
)
data GetPaymentMethodsPaymentMethodRequestBody Source #
Defines the data type for the schema getPaymentMethodsPaymentMethodRequestBody
Instances
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. |