Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
:: 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.
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters | |
|
Instances
mkDeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #
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.
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError String | Means either no matching case available or a parse error |
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse200 DeletedDiscount | Successful response. |
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseDefault Error | Error response. |