Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
Synopsis
- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount :: forall m. MonadHTTP m => GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> ClientT m (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)
- data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters = GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters {}
- mkGetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters :: Text -> Text -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
- data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
Documentation
getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount.GET.parameters
in the specification.
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters | |
|
Instances
mkGetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #
Create a new GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
with all required fields.
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse Source #
Represents a response of the operation getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
.
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), GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError
is used.
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse200 Discount | Successful response. |
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseDefault Error | Error response. |