Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation post3dSecure
Synopsis
- post3dSecure :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Post3dSecureRequestBody -> m (Either HttpException (Response Post3dSecureResponse))
- post3dSecureRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Post3dSecureRequestBody -> m (Either HttpException (Response ByteString))
- post3dSecureM :: forall m s. (MonadHTTP m, SecurityScheme s) => Post3dSecureRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response Post3dSecureResponse))
- post3dSecureRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Post3dSecureRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data Post3dSecureRequestBody = Post3dSecureRequestBody {}
- data Post3dSecureResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Post3dSecureRequestBody | The request body to send |
-> m (Either HttpException (Response Post3dSecureResponse)) | Monad containing the result of the operation |
POST /v1/3d_secure
<p>Initiate 3D Secure authentication.</p>
post3dSecureRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Post3dSecureRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/3d_secure
The same as post3dSecure
but returns the raw ByteString
post3dSecureM :: forall m s. (MonadHTTP m, SecurityScheme s) => Post3dSecureRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response Post3dSecureResponse)) Source #
POST /v1/3d_secure
Monadic version of post3dSecure
(use with runWithConfiguration
)
post3dSecureRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Post3dSecureRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/3d_secure
Monadic version of post3dSecureRaw
(use with runWithConfiguration
)
data Post3dSecureRequestBody Source #
Defines the data type for the schema post3dSecureRequestBody
Post3dSecureRequestBody | |
|
Instances
Eq Post3dSecureRequestBody Source # | |
Defined in StripeAPI.Operations.Post3dSecure | |
Show Post3dSecureRequestBody Source # | |
Defined in StripeAPI.Operations.Post3dSecure showsPrec :: Int -> Post3dSecureRequestBody -> ShowS # show :: Post3dSecureRequestBody -> String # showList :: [Post3dSecureRequestBody] -> ShowS # | |
ToJSON Post3dSecureRequestBody Source # | |
Defined in StripeAPI.Operations.Post3dSecure | |
FromJSON Post3dSecureRequestBody Source # | |
Defined in StripeAPI.Operations.Post3dSecure |
data Post3dSecureResponse Source #
Represents a response of the operation post3dSecure
.
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), Post3dSecureResponseError
is used.
Post3dSecureResponseError String | Means either no matching case available or a parse error |
Post3dSecureResponse200 ThreeDSecure | Successful response. |
Post3dSecureResponseDefault Error | Error response. |
Instances
Eq Post3dSecureResponse Source # | |
Defined in StripeAPI.Operations.Post3dSecure (==) :: Post3dSecureResponse -> Post3dSecureResponse -> Bool # (/=) :: Post3dSecureResponse -> Post3dSecureResponse -> Bool # | |
Show Post3dSecureResponse Source # | |
Defined in StripeAPI.Operations.Post3dSecure showsPrec :: Int -> Post3dSecureResponse -> ShowS # show :: Post3dSecureResponse -> String # showList :: [Post3dSecureResponse] -> ShowS # |