| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId
Description
Contains the different functions to run the operation getCustomersCustomerSubscriptionsSubscriptionExposedId
Synopsis
- getCustomersCustomerSubscriptionsSubscriptionExposedId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse))
- getCustomersCustomerSubscriptionsSubscriptionExposedIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerSubscriptionsSubscriptionExposedIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse))
- getCustomersCustomerSubscriptionsSubscriptionExposedIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody = GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody {
- data GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
Documentation
getCustomersCustomerSubscriptionsSubscriptionExposedId 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 |
| -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody | The request body to send |
| -> m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}<p>Retrieves the subscription with the given ID.</p>
getCustomersCustomerSubscriptionsSubscriptionExposedIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}The same as getCustomersCustomerSubscriptionsSubscriptionExposedId but returns the raw ByteString
getCustomersCustomerSubscriptionsSubscriptionExposedIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse)) Source #
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}Monadic version of getCustomersCustomerSubscriptionsSubscriptionExposedId (use with runWithConfiguration)
getCustomersCustomerSubscriptionsSubscriptionExposedIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}Monadic version of getCustomersCustomerSubscriptionsSubscriptionExposedIdRaw (use with runWithConfiguration)
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source #
Defines the data type for the schema getCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
Instances
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse Source #
Represents a response of the operation getCustomersCustomerSubscriptionsSubscriptionExposedId.
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), GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError is used.
Constructors
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError String | Means either no matching case available or a parse error |
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse200 Subscription | Successful response. |
| GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponseDefault Error | Error response. |
Instances
| Eq GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse Source # | |
| Show GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse Source # | |