Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteSubscriptionsSubscriptionExposedIdDiscount
Synopsis
- deleteSubscriptionsSubscriptionExposedIdDiscount :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> m (Either HttpException (Response DeleteSubscriptionsSubscriptionExposedIdDiscountResponse))
- deleteSubscriptionsSubscriptionExposedIdDiscountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> m (Either HttpException (Response ByteString))
- deleteSubscriptionsSubscriptionExposedIdDiscountM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteSubscriptionsSubscriptionExposedIdDiscountResponse))
- deleteSubscriptionsSubscriptionExposedIdDiscountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody = DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody {
- data DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
Documentation
deleteSubscriptionsSubscriptionExposedIdDiscount Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | subscription_exposed_id | Constraints: Maximum length of 5000 |
-> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteSubscriptionsSubscriptionExposedIdDiscountResponse)) | Monad containing the result of the operation |
DELETE /v1/subscriptions/{subscription_exposed_id}/discount
<p>Removes the currently applied discount on a subscription.</p>
deleteSubscriptionsSubscriptionExposedIdDiscountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/subscriptions/{subscription_exposed_id}/discount
The same as deleteSubscriptionsSubscriptionExposedIdDiscount
but returns the raw ByteString
deleteSubscriptionsSubscriptionExposedIdDiscountM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteSubscriptionsSubscriptionExposedIdDiscountResponse)) Source #
DELETE /v1/subscriptions/{subscription_exposed_id}/discount
Monadic version of deleteSubscriptionsSubscriptionExposedIdDiscount
(use with runWithConfiguration
)
deleteSubscriptionsSubscriptionExposedIdDiscountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/subscriptions/{subscription_exposed_id}/discount
Monadic version of deleteSubscriptionsSubscriptionExposedIdDiscountRaw
(use with runWithConfiguration
)
data DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody Source #
Defines the data type for the schema deleteSubscriptionsSubscriptionExposedIdDiscountRequestBody
Instances
data DeleteSubscriptionsSubscriptionExposedIdDiscountResponse Source #
Represents a response of the operation deleteSubscriptionsSubscriptionExposedIdDiscount
.
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), DeleteSubscriptionsSubscriptionExposedIdDiscountResponseError
is used.
DeleteSubscriptionsSubscriptionExposedIdDiscountResponseError String | Means either no matching case available or a parse error |
DeleteSubscriptionsSubscriptionExposedIdDiscountResponse200 DeletedDiscount | Successful response. |
DeleteSubscriptionsSubscriptionExposedIdDiscountResponseDefault Error | Error response. |
Instances
Eq DeleteSubscriptionsSubscriptionExposedIdDiscountResponse Source # | |
Show DeleteSubscriptionsSubscriptionExposedIdDiscountResponse Source # | |