stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount

Description

Contains the different functions to run the operation deleteSubscriptionsSubscriptionExposedIdDiscount

Synopsis

Documentation

deleteSubscriptionsSubscriptionExposedIdDiscount Source #

Arguments

:: (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>

data DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody Source #

Defines the data type for the schema deleteSubscriptionsSubscriptionExposedIdDiscountRequestBody

Instances
Eq DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount

Show DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount

ToJSON DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount

FromJSON DeleteSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount

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.