Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCreditNotesCreditNoteLines
Synopsis
- getCreditNotesCreditNoteLines :: forall m. MonadHTTP m => GetCreditNotesCreditNoteLinesParameters -> ClientT m (Response GetCreditNotesCreditNoteLinesResponse)
- data GetCreditNotesCreditNoteLinesParameters = GetCreditNotesCreditNoteLinesParameters {
- getCreditNotesCreditNoteLinesParametersPathCreditNote :: Text
- getCreditNotesCreditNoteLinesParametersQueryEndingBefore :: Maybe Text
- getCreditNotesCreditNoteLinesParametersQueryExpand :: Maybe [Text]
- getCreditNotesCreditNoteLinesParametersQueryLimit :: Maybe Int
- getCreditNotesCreditNoteLinesParametersQueryStartingAfter :: Maybe Text
- mkGetCreditNotesCreditNoteLinesParameters :: Text -> GetCreditNotesCreditNoteLinesParameters
- data GetCreditNotesCreditNoteLinesResponse
- data GetCreditNotesCreditNoteLinesResponseBody200 = GetCreditNotesCreditNoteLinesResponseBody200 {}
- mkGetCreditNotesCreditNoteLinesResponseBody200 :: [CreditNoteLineItem] -> Bool -> Text -> GetCreditNotesCreditNoteLinesResponseBody200
Documentation
getCreditNotesCreditNoteLines Source #
:: forall m. MonadHTTP m | |
=> GetCreditNotesCreditNoteLinesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCreditNotesCreditNoteLinesResponse) | Monadic computation which returns the result of the operation |
GET /v1/credit_notes/{credit_note}/lines
<p>When retrieving a credit note, you’ll get a <strong>lines</strong> property containing the the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>
data GetCreditNotesCreditNoteLinesParameters Source #
Defines the object schema located at paths./v1/credit_notes/{credit_note}/lines.GET.parameters
in the specification.
GetCreditNotesCreditNoteLinesParameters | |
|
mkGetCreditNotesCreditNoteLinesParameters Source #
Create a new GetCreditNotesCreditNoteLinesParameters
with all required fields.
data GetCreditNotesCreditNoteLinesResponse Source #
Represents a response of the operation getCreditNotesCreditNoteLines
.
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), GetCreditNotesCreditNoteLinesResponseError
is used.
GetCreditNotesCreditNoteLinesResponseError String | Means either no matching case available or a parse error |
GetCreditNotesCreditNoteLinesResponse200 GetCreditNotesCreditNoteLinesResponseBody200 | Successful response. |
GetCreditNotesCreditNoteLinesResponseDefault Error | Error response. |
data GetCreditNotesCreditNoteLinesResponseBody200 Source #
Defines the object schema located at paths./v1/credit_notes/{credit_note}/lines.GET.responses.200.content.application/json.schema
in the specification.
GetCreditNotesCreditNoteLinesResponseBody200 | |
|
Instances
mkGetCreditNotesCreditNoteLinesResponseBody200 Source #
Create a new GetCreditNotesCreditNoteLinesResponseBody200
with all required fields.