Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Reactivate_item
Description
Contains the different functions to run the operation reactivate_item
Synopsis
- reactivate_item :: forall m. MonadHTTP m => ClientT m (Response Reactivate_itemResponse)
- data Reactivate_itemResponse
- reactivate_itemWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Reactivate_itemResponse)
- reactivate_itemRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- reactivate_itemWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Reactivate_itemResponse) | Monadic computation which returns the result of the operation |
PUT /items/{item_id}/reactivate
Reactivating an item makes it available for new purchases. It will not affect existing line items.
data Reactivate_itemResponse Source #
Represents a response of the operation reactivate_item
.
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), Reactivate_itemResponseError
is used.
Constructors
Reactivate_itemResponseError String | Means either no matching case available or a parse error |
Reactivate_itemResponse200 Item | An item. |
Reactivate_itemResponse404 Error | Incorrect site or item ID. |
Reactivate_itemResponse422 Error | Item is already active. |
Reactivate_itemResponseDefault Error | Unexpected error. |
Instances
Show Reactivate_itemResponse Source # | |
Defined in RecurlyClient.Operations.Reactivate_item Methods showsPrec :: Int -> Reactivate_itemResponse -> ShowS # show :: Reactivate_itemResponse -> String # showList :: [Reactivate_itemResponse] -> ShowS # | |
Eq Reactivate_itemResponse Source # | |
Defined in RecurlyClient.Operations.Reactivate_item Methods (==) :: Reactivate_itemResponse -> Reactivate_itemResponse -> Bool # (/=) :: Reactivate_itemResponse -> Reactivate_itemResponse -> Bool # |
reactivate_itemWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Reactivate_itemResponse) | Monadic computation which returns the result of the operation |
PUT /items/{item_id}/reactivate
The same as reactivate_item
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /items/{item_id}/reactivate
The same as reactivate_item
but returns the raw ByteString
.
reactivate_itemWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /items/{item_id}/reactivate
The same as reactivate_item
but accepts an explicit configuration and returns the raw ByteString
.