| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
Description
Contains the different functions to run the operation getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
Synopsis
- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse))
- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse))
- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody = GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody {
- data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
Documentation
getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount Source #
Arguments
| :: (MonadHTTP m, SecurityScheme s) | |
| => Configuration s | The configuration to use in the request |
| -> String | customer | Constraints: Maximum length of 5000 |
| -> Maybe String | expand: Specifies which fields in the response should be expanded. |
| -> String | subscription_exposed_id | Constraints: Maximum length of 5000 |
| -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody | The request body to send |
| -> m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discountgetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discountThe same as getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount but returns the raw ByteString
getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)) Source #
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discountMonadic version of getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount (use with runWithConfiguration)
getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discountMonadic version of getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRaw (use with runWithConfiguration)
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source #
Defines the data type for the schema getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody
Instances
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. |