Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getOrdersId
Synopsis
- getOrdersId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetOrdersIdRequestBody -> m (Either HttpException (Response GetOrdersIdResponse))
- getOrdersIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetOrdersIdRequestBody -> m (Either HttpException (Response ByteString))
- getOrdersIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetOrdersIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetOrdersIdResponse))
- getOrdersIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetOrdersIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetOrdersIdRequestBody = GetOrdersIdRequestBody {
- data GetOrdersIdResponse
Documentation
:: (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 | id | Constraints: Maximum length of 5000 |
-> GetOrdersIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetOrdersIdResponse)) | Monad containing the result of the operation |
GET /v1/orders/{id}
<p>Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information.</p>
getOrdersIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetOrdersIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/orders/{id}
The same as getOrdersId
but returns the raw ByteString
getOrdersIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetOrdersIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetOrdersIdResponse)) Source #
GET /v1/orders/{id}
Monadic version of getOrdersId
(use with runWithConfiguration
)
getOrdersIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetOrdersIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/orders/{id}
Monadic version of getOrdersIdRaw
(use with runWithConfiguration
)
data GetOrdersIdRequestBody Source #
Defines the data type for the schema getOrdersIdRequestBody
Instances
Eq GetOrdersIdRequestBody Source # | |
Defined in StripeAPI.Operations.GetOrdersId | |
Show GetOrdersIdRequestBody Source # | |
Defined in StripeAPI.Operations.GetOrdersId showsPrec :: Int -> GetOrdersIdRequestBody -> ShowS # show :: GetOrdersIdRequestBody -> String # showList :: [GetOrdersIdRequestBody] -> ShowS # | |
ToJSON GetOrdersIdRequestBody Source # | |
Defined in StripeAPI.Operations.GetOrdersId toJSON :: GetOrdersIdRequestBody -> Value # toEncoding :: GetOrdersIdRequestBody -> Encoding # toJSONList :: [GetOrdersIdRequestBody] -> Value # | |
FromJSON GetOrdersIdRequestBody Source # | |
Defined in StripeAPI.Operations.GetOrdersId |
data GetOrdersIdResponse Source #
Represents a response of the operation getOrdersId
.
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), GetOrdersIdResponseError
is used.
GetOrdersIdResponseError String | Means either no matching case available or a parse error |
GetOrdersIdResponse200 Order | Successful response. |
GetOrdersIdResponseDefault Error | Error response. |
Instances
Eq GetOrdersIdResponse Source # | |
Defined in StripeAPI.Operations.GetOrdersId (==) :: GetOrdersIdResponse -> GetOrdersIdResponse -> Bool # (/=) :: GetOrdersIdResponse -> GetOrdersIdResponse -> Bool # | |
Show GetOrdersIdResponse Source # | |
Defined in StripeAPI.Operations.GetOrdersId showsPrec :: Int -> GetOrdersIdResponse -> ShowS # show :: GetOrdersIdResponse -> String # showList :: [GetOrdersIdResponse] -> ShowS # |