| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
Description
Contains the different functions to run the operation deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
Synopsis
- deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount :: forall m. MonadHTTP m => DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> ClientT m (Response DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)
- data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters = DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters {}
- mkDeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters :: Text -> Text -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
- data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
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
mkDeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #
Arguments
Create a new DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters with all required fields.
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.
Constructors
| DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError String | Means either no matching case available or a parse error |
| DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse200 DeletedDiscount | Successful response. |
| DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseDefault Error | Error response. |