stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Description

Contains the different functions to run the operation deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Synopsis

Documentation

deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount Source #

Arguments

:: forall m. MonadHTTP m 
=> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)

Monadic computation which returns 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 DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount.DELETE.parameters in the specification.

Constructors

DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters 

Fields

Instances

Instances details
Eq DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Show DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

ToJSON DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source # 
Instance details

Defined in StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

FromJSON DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters 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.