stripeapi-2.0.1.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.CreditNoteLineItem

Description

Contains the types generated from the schema CreditNoteLineItem

Synopsis

Documentation

data CreditNoteLineItem Source #

Defines the object schema located at components.schemas.credit_note_line_item in the specification.

Constructors

CreditNoteLineItem 

Fields

data CreditNoteLineItemType' Source #

Defines the enum schema located at components.schemas.credit_note_line_item.properties.type in the specification.

The type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. When the type is `invoice_line_item` there is an additional `invoice_line_item` property on the resource the value of which is the id of the credited line item on the invoice.

Constructors

CreditNoteLineItemType'Other Value

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

CreditNoteLineItemType'Typed Text

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

CreditNoteLineItemType'EnumCustomLineItem

Represents the JSON value "custom_line_item"

CreditNoteLineItemType'EnumInvoiceLineItem

Represents the JSON value "invoice_line_item"