| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
Description
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 #
Arguments
| :: 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}/discountdata GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount.GET.parameters in the specification.
Constructors
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters | |
Fields
| |
Instances
mkGetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters Source #
Arguments
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.
Constructors
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError String | Means either no matching case available or a parse error |
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse200 Discount | Successful response. |
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseDefault Error | Error response. |