Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getInvoiceitems
Synopsis
- getInvoiceitems :: forall m. MonadHTTP m => GetInvoiceitemsParameters -> StripeT m (Response GetInvoiceitemsResponse)
- data GetInvoiceitemsParameters = GetInvoiceitemsParameters {
- getInvoiceitemsParametersQueryCreated :: Maybe GetInvoiceitemsParametersQueryCreated'Variants
- getInvoiceitemsParametersQueryCustomer :: Maybe Text
- getInvoiceitemsParametersQueryEndingBefore :: Maybe Text
- getInvoiceitemsParametersQueryExpand :: Maybe [Text]
- getInvoiceitemsParametersQueryInvoice :: Maybe Text
- getInvoiceitemsParametersQueryLimit :: Maybe Int
- getInvoiceitemsParametersQueryPending :: Maybe Bool
- getInvoiceitemsParametersQueryStartingAfter :: Maybe Text
- mkGetInvoiceitemsParameters :: GetInvoiceitemsParameters
- data GetInvoiceitemsParametersQueryCreated'OneOf1 = GetInvoiceitemsParametersQueryCreated'OneOf1 {}
- mkGetInvoiceitemsParametersQueryCreated'OneOf1 :: GetInvoiceitemsParametersQueryCreated'OneOf1
- data GetInvoiceitemsParametersQueryCreated'Variants
- data GetInvoiceitemsResponse
- data GetInvoiceitemsResponseBody200 = GetInvoiceitemsResponseBody200 {}
- mkGetInvoiceitemsResponseBody200 :: [Invoiceitem] -> Bool -> Text -> GetInvoiceitemsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetInvoiceitemsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetInvoiceitemsResponse) | Monadic computation which returns the result of the operation |
GET /v1/invoiceitems
<p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.</p>
data GetInvoiceitemsParameters Source #
Defines the object schema located at paths./v1/invoiceitems.GET.parameters
in the specification.
GetInvoiceitemsParameters | |
|
Instances
mkGetInvoiceitemsParameters :: GetInvoiceitemsParameters Source #
Create a new GetInvoiceitemsParameters
with all required fields.
data GetInvoiceitemsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/invoiceitems.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetInvoiceitemsParametersQueryCreated'OneOf1 :: GetInvoiceitemsParametersQueryCreated'OneOf1 Source #
Create a new GetInvoiceitemsParametersQueryCreated'OneOf1
with all required fields.
data GetInvoiceitemsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/invoiceitems.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
GetInvoiceitemsParametersQueryCreated'GetInvoiceitemsParametersQueryCreated'OneOf1 GetInvoiceitemsParametersQueryCreated'OneOf1 | |
GetInvoiceitemsParametersQueryCreated'Int Int |
Instances
data GetInvoiceitemsResponse Source #
Represents a response of the operation getInvoiceitems
.
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), GetInvoiceitemsResponseError
is used.
GetInvoiceitemsResponseError String | Means either no matching case available or a parse error |
GetInvoiceitemsResponse200 GetInvoiceitemsResponseBody200 | Successful response. |
GetInvoiceitemsResponseDefault Error | Error response. |
Instances
Eq GetInvoiceitemsResponse Source # | |
Defined in StripeAPI.Operations.GetInvoiceitems | |
Show GetInvoiceitemsResponse Source # | |
Defined in StripeAPI.Operations.GetInvoiceitems showsPrec :: Int -> GetInvoiceitemsResponse -> ShowS # show :: GetInvoiceitemsResponse -> String # showList :: [GetInvoiceitemsResponse] -> ShowS # |
data GetInvoiceitemsResponseBody200 Source #
Defines the object schema located at paths./v1/invoiceitems.GET.responses.200.content.application/json.schema
in the specification.
GetInvoiceitemsResponseBody200 | |
|
mkGetInvoiceitemsResponseBody200 Source #
:: [Invoiceitem] | |
-> Bool | |
-> Text | |
-> GetInvoiceitemsResponseBody200 |
Create a new GetInvoiceitemsResponseBody200
with all required fields.