stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Description

Contains the different functions to run the operation deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Synopsis

Documentation

deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

customer | Constraints: Maximum length of 5000

-> String

subscription_exposed_id | Constraints: Maximum length of 5000

-> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody

The request body to send

-> m (Either HttpException (Response DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse))

Monad containing the result of the operation

DELETE /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount

<p>Removes the currently applied discount on a customer.</p>

data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source #

Defines the data type for the schema deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody

Instances
Eq DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Show DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

ToJSON DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

FromJSON DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse Source #

Represents a response of the operation deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.

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), DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError is used.