Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteSkusId
Synopsis
- deleteSkusId :: forall m. MonadHTTP m => Text -> StripeT m (Response DeleteSkusIdResponse)
- data DeleteSkusIdResponse
Documentation
:: forall m. MonadHTTP m | |
=> Text | id | Constraints: Maximum length of 5000 |
-> StripeT m (Response DeleteSkusIdResponse) | Monadic computation which returns 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>
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 # |