stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCreditNotesPreviewLines

Description

Contains the different functions to run the operation getCreditNotesPreviewLines

Synopsis

Documentation

getCreditNotesPreviewLines Source #

Arguments

:: forall m. MonadHTTP m 
=> GetCreditNotesPreviewLinesParameters

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

-> StripeT 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>

data GetCreditNotesPreviewLinesParameters Source #

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

Constructors

GetCreditNotesPreviewLinesParameters 

Fields

data GetCreditNotesPreviewLinesParametersQueryLines' Source #

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

Instances

Instances details
Eq GetCreditNotesPreviewLinesParametersQueryLines' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

Show GetCreditNotesPreviewLinesParametersQueryLines' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

ToJSON GetCreditNotesPreviewLinesParametersQueryLines' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

FromJSON GetCreditNotesPreviewLinesParametersQueryLines' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

data GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants Source #

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

Instances

Instances details
Eq GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

Show GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

ToJSON GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

FromJSON GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

data GetCreditNotesPreviewLinesParametersQueryLines'Type' Source #

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

Constructors

GetCreditNotesPreviewLinesParametersQueryLines'Type'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetCreditNotesPreviewLinesParametersQueryLines'Type'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetCreditNotesPreviewLinesParametersQueryLines'Type'EnumCustomLineItem

Represents the JSON value "custom_line_item"

GetCreditNotesPreviewLinesParametersQueryLines'Type'EnumInvoiceLineItem

Represents the JSON value "invoice_line_item"

Instances

Instances details
Eq GetCreditNotesPreviewLinesParametersQueryLines'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

Show GetCreditNotesPreviewLinesParametersQueryLines'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

ToJSON GetCreditNotesPreviewLinesParametersQueryLines'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

FromJSON GetCreditNotesPreviewLinesParametersQueryLines'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

data GetCreditNotesPreviewLinesParametersQueryReason' Source #

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

GetCreditNotesPreviewLinesParametersQueryReason'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetCreditNotesPreviewLinesParametersQueryReason'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetCreditNotesPreviewLinesParametersQueryReason'EnumDuplicate

Represents the JSON value "duplicate"

GetCreditNotesPreviewLinesParametersQueryReason'EnumFraudulent

Represents the JSON value "fraudulent"

GetCreditNotesPreviewLinesParametersQueryReason'EnumOrderChange

Represents the JSON value "order_change"

GetCreditNotesPreviewLinesParametersQueryReason'EnumProductUnsatisfactory

Represents the JSON value "product_unsatisfactory"

Instances

Instances details
Eq GetCreditNotesPreviewLinesParametersQueryReason' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

Show GetCreditNotesPreviewLinesParametersQueryReason' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

ToJSON GetCreditNotesPreviewLinesParametersQueryReason' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

FromJSON GetCreditNotesPreviewLinesParametersQueryReason' Source # 
Instance details

Defined in StripeAPI.Operations.GetCreditNotesPreviewLines

data GetCreditNotesPreviewLinesResponseBody200 Source #

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

Constructors

GetCreditNotesPreviewLinesResponseBody200 

Fields