Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getOrdersId
Synopsis
- getOrdersId :: forall m. MonadHTTP m => GetOrdersIdParameters -> ClientT m (Response GetOrdersIdResponse)
- data GetOrdersIdParameters = GetOrdersIdParameters {}
- mkGetOrdersIdParameters :: Text -> GetOrdersIdParameters
- data GetOrdersIdResponse
Documentation
:: forall m. MonadHTTP m | |
=> GetOrdersIdParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetOrdersIdResponse) | Monadic computation which returns 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>
data GetOrdersIdParameters Source #
Defines the object schema located at paths./v1/orders/{id}.GET.parameters
in the specification.
GetOrdersIdParameters | |
|
Instances
Eq GetOrdersIdParameters Source # | |
Defined in StripeAPI.Operations.GetOrdersId (==) :: GetOrdersIdParameters -> GetOrdersIdParameters -> Bool # (/=) :: GetOrdersIdParameters -> GetOrdersIdParameters -> Bool # | |
Show GetOrdersIdParameters Source # | |
Defined in StripeAPI.Operations.GetOrdersId showsPrec :: Int -> GetOrdersIdParameters -> ShowS # show :: GetOrdersIdParameters -> String # showList :: [GetOrdersIdParameters] -> ShowS # | |
ToJSON GetOrdersIdParameters Source # | |
Defined in StripeAPI.Operations.GetOrdersId toJSON :: GetOrdersIdParameters -> Value # toEncoding :: GetOrdersIdParameters -> Encoding # toJSONList :: [GetOrdersIdParameters] -> Value # toEncodingList :: [GetOrdersIdParameters] -> Encoding # | |
FromJSON GetOrdersIdParameters Source # | |
Defined in StripeAPI.Operations.GetOrdersId parseJSON :: Value -> Parser GetOrdersIdParameters # parseJSONList :: Value -> Parser [GetOrdersIdParameters] # |
mkGetOrdersIdParameters Source #
Create a new GetOrdersIdParameters
with all required fields.
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 # |