Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postApplePayDomains
Synopsis
- postApplePayDomains :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostApplePayDomainsRequestBody -> m (Either HttpException (Response PostApplePayDomainsResponse))
- postApplePayDomainsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostApplePayDomainsRequestBody -> m (Either HttpException (Response ByteString))
- postApplePayDomainsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostApplePayDomainsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostApplePayDomainsResponse))
- postApplePayDomainsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostApplePayDomainsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostApplePayDomainsRequestBody = PostApplePayDomainsRequestBody {}
- data PostApplePayDomainsResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostApplePayDomainsRequestBody | The request body to send |
-> m (Either HttpException (Response PostApplePayDomainsResponse)) | Monad containing the result of the operation |
POST /v1/apple_pay/domains
<p>Create an apple pay domain.</p>
postApplePayDomainsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostApplePayDomainsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/apple_pay/domains
The same as postApplePayDomains
but returns the raw ByteString
postApplePayDomainsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostApplePayDomainsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostApplePayDomainsResponse)) Source #
POST /v1/apple_pay/domains
Monadic version of postApplePayDomains
(use with runWithConfiguration
)
postApplePayDomainsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostApplePayDomainsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/apple_pay/domains
Monadic version of postApplePayDomainsRaw
(use with runWithConfiguration
)
data PostApplePayDomainsRequestBody Source #
Defines the data type for the schema postApplePayDomainsRequestBody
PostApplePayDomainsRequestBody | |
|
data PostApplePayDomainsResponse Source #
Represents a response of the operation postApplePayDomains
.
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), PostApplePayDomainsResponseError
is used.
PostApplePayDomainsResponseError String | Means either no matching case available or a parse error |
PostApplePayDomainsResponse200 ApplePayDomain | Successful response. |
PostApplePayDomainsResponseDefault Error | Error response. |