HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.GetCreditNotesPreviewLines

Contains the different functions to run the operation getCreditNotesPreviewLines

  • 7 types
  • 4 values
  • Packagestripeapi-3.0.0.0
  • Exports11
  • LanguageHaskell2010
  • LicenceMIT
  • SourceGetCreditNotesPreviewLines.hs
valuegetCreditNotesPreviewLines
  1. :: MonadHTTP m
  2. => GetCreditNotesPreviewLinesParameters

    Contains all available parameters of this operation (query and path parameters)

  3. -> ClientT m (Response GetCreditNotesPreviewLinesResponse)

    Monadic computation which returns the result of the operation

#
GET /v1/credit_notes/preview/lines

<p>When retrieving a credit note preview, you’ll get a <strong>lines</strong> property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.</p>

Defines the object schema located at paths./v1/credit_notes/preview/lines.GET.parameters in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryLines.items.properties.tax_rates.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryLines.items.properties.type in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryReason in the specification.

Represents the parameter named 'reason'

Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Represents a response of the operation getCreditNotesPreviewLines.

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), GetCreditNotesPreviewLinesResponseError is used.

Instances2Eq, Show

Defines the object schema located at paths./v1/credit_notes/preview/lines.GET.responses.200.content.application/json.schema in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON