Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteSkusId
Synopsis
- deleteSkusId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteSkusIdRequestBody -> m (Either HttpException (Response DeleteSkusIdResponse))
- deleteSkusIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteSkusIdRequestBody -> m (Either HttpException (Response ByteString))
- deleteSkusIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSkusIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteSkusIdResponse))
- deleteSkusIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSkusIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteSkusIdRequestBody = DeleteSkusIdRequestBody {
- data DeleteSkusIdResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | id | Constraints: Maximum length of 5000 |
-> DeleteSkusIdRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteSkusIdResponse)) | Monad containing the result of the operation |
DELETE /v1/skus/{id}
<p>Delete a SKU. Deleting a SKU is only possible until it has been used in an order.</p>
deleteSkusIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteSkusIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/skus/{id}
The same as deleteSkusId
but returns the raw ByteString
deleteSkusIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSkusIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteSkusIdResponse)) Source #
DELETE /v1/skus/{id}
Monadic version of deleteSkusId
(use with runWithConfiguration
)
deleteSkusIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteSkusIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/skus/{id}
Monadic version of deleteSkusIdRaw
(use with runWithConfiguration
)
data DeleteSkusIdRequestBody Source #
Defines the data type for the schema deleteSkusIdRequestBody
Instances
Eq DeleteSkusIdRequestBody Source # | |
Defined in StripeAPI.Operations.DeleteSkusId | |
Show DeleteSkusIdRequestBody Source # | |
Defined in StripeAPI.Operations.DeleteSkusId showsPrec :: Int -> DeleteSkusIdRequestBody -> ShowS # show :: DeleteSkusIdRequestBody -> String # showList :: [DeleteSkusIdRequestBody] -> ShowS # | |
ToJSON DeleteSkusIdRequestBody Source # | |
Defined in StripeAPI.Operations.DeleteSkusId | |
FromJSON DeleteSkusIdRequestBody Source # | |
Defined in StripeAPI.Operations.DeleteSkusId |
data DeleteSkusIdResponse Source #
Represents a response of the operation deleteSkusId
.
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), DeleteSkusIdResponseError
is used.
DeleteSkusIdResponseError String | Means either no matching case available or a parse error |
DeleteSkusIdResponse200 DeletedSku | Successful response. |
DeleteSkusIdResponseDefault Error | Error response. |
Instances
Eq DeleteSkusIdResponse Source # | |
Defined in StripeAPI.Operations.DeleteSkusId (==) :: DeleteSkusIdResponse -> DeleteSkusIdResponse -> Bool # (/=) :: DeleteSkusIdResponse -> DeleteSkusIdResponse -> Bool # | |
Show DeleteSkusIdResponse Source # | |
Defined in StripeAPI.Operations.DeleteSkusId showsPrec :: Int -> DeleteSkusIdResponse -> ShowS # show :: DeleteSkusIdResponse -> String # showList :: [DeleteSkusIdResponse] -> ShowS # |