Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postSetupIntentsIntent
Synopsis
- postSetupIntentsIntent :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostSetupIntentsIntentRequestBody -> m (Either HttpException (Response PostSetupIntentsIntentResponse))
- postSetupIntentsIntentRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostSetupIntentsIntentRequestBody -> m (Either HttpException (Response ByteString))
- postSetupIntentsIntentM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSetupIntentsIntentResponse))
- postSetupIntentsIntentRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostSetupIntentsIntentRequestBody = PostSetupIntentsIntentRequestBody {
- postSetupIntentsIntentRequestBodyCustomer :: Maybe String
- postSetupIntentsIntentRequestBodyDescription :: Maybe String
- postSetupIntentsIntentRequestBodyExpand :: Maybe ([] String)
- postSetupIntentsIntentRequestBodyMetadata :: Maybe PostSetupIntentsIntentRequestBodyMetadata'
- postSetupIntentsIntentRequestBodyPaymentMethod :: Maybe String
- postSetupIntentsIntentRequestBodyPaymentMethodOptions :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
- postSetupIntentsIntentRequestBodyPaymentMethodTypes :: Maybe ([] String)
- data PostSetupIntentsIntentRequestBodyMetadata' = PostSetupIntentsIntentRequestBodyMetadata' {
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions' {}
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' {}
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
- = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumOther Value
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumTyped String
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumStringAny
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumStringAutomatic
- data PostSetupIntentsIntentResponse
Documentation
postSetupIntentsIntent Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | intent | Constraints: Maximum length of 5000 |
-> PostSetupIntentsIntentRequestBody | The request body to send |
-> m (Either HttpException (Response PostSetupIntentsIntentResponse)) | Monad containing the result of the operation |
POST /v1/setup_intents/{intent}
<p>Updates a SetupIntent object.</p>
postSetupIntentsIntentRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostSetupIntentsIntentRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/setup_intents/{intent}
The same as postSetupIntentsIntent
but returns the raw ByteString
postSetupIntentsIntentM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSetupIntentsIntentResponse)) Source #
POST /v1/setup_intents/{intent}
Monadic version of postSetupIntentsIntent
(use with runWithConfiguration
)
postSetupIntentsIntentRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/setup_intents/{intent}
Monadic version of postSetupIntentsIntentRaw
(use with runWithConfiguration
)
data PostSetupIntentsIntentRequestBody Source #
Defines the data type for the schema postSetupIntentsIntentRequestBody
PostSetupIntentsIntentRequestBody | |
|
data PostSetupIntentsIntentRequestBodyMetadata' Source #
Defines the data type for the schema postSetupIntentsIntentRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions' Source #
Defines the data type for the schema postSetupIntentsIntentRequestBodyPayment_method_options'
Payment-method-specific configuration for this SetupIntent.
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' Source #
Defines the data type for the schema postSetupIntentsIntentRequestBodyPayment_method_options'Card'
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' | |
|
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' Source #
Defines the enum schema postSetupIntentsIntentRequestBodyPayment_method_options'Card'Request_three_d_secure'
Instances
data PostSetupIntentsIntentResponse Source #
Represents a response of the operation postSetupIntentsIntent
.
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), PostSetupIntentsIntentResponseError
is used.
PostSetupIntentsIntentResponseError String | Means either no matching case available or a parse error |
PostSetupIntentsIntentResponse200 SetupIntent | Successful response. |
PostSetupIntentsIntentResponseDefault Error | Error response. |