Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getSubscriptionItemsItem
Synopsis
- getSubscriptionItemsItem :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> m (Either HttpException (Response GetSubscriptionItemsItemResponse))
- getSubscriptionItemsItemRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> m (Either HttpException (Response ByteString))
- getSubscriptionItemsItemM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetSubscriptionItemsItemResponse))
- getSubscriptionItemsItemRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetSubscriptionItemsItemRequestBody = GetSubscriptionItemsItemRequestBody {
- data GetSubscriptionItemsItemResponse
Documentation
getSubscriptionItemsItem Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | item | Constraints: Maximum length of 5000 |
-> GetSubscriptionItemsItemRequestBody | The request body to send |
-> m (Either HttpException (Response GetSubscriptionItemsItemResponse)) | Monad containing the result of the operation |
GET /v1/subscription_items/{item}
<p>Retrieves the invoice item with the given ID.</p>
getSubscriptionItemsItemRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/subscription_items/{item}
The same as getSubscriptionItemsItem
but returns the raw ByteString
getSubscriptionItemsItemM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetSubscriptionItemsItemResponse)) Source #
GET /v1/subscription_items/{item}
Monadic version of getSubscriptionItemsItem
(use with runWithConfiguration
)
getSubscriptionItemsItemRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetSubscriptionItemsItemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/subscription_items/{item}
Monadic version of getSubscriptionItemsItemRaw
(use with runWithConfiguration
)
data GetSubscriptionItemsItemRequestBody Source #
Defines the data type for the schema getSubscriptionItemsItemRequestBody
data GetSubscriptionItemsItemResponse Source #
Represents a response of the operation getSubscriptionItemsItem
.
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), GetSubscriptionItemsItemResponseError
is used.
GetSubscriptionItemsItemResponseError String | Means either no matching case available or a parse error |
GetSubscriptionItemsItemResponse200 SubscriptionItem | Successful response. |
GetSubscriptionItemsItemResponseDefault Error | Error response. |