Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema CreditNoteLineItem
Synopsis
- data CreditNoteLineItem = CreditNoteLineItem {
- creditNoteLineItemAmount :: Integer
- creditNoteLineItemDescription :: Maybe String
- creditNoteLineItemDiscountAmount :: Integer
- creditNoteLineItemId :: String
- creditNoteLineItemInvoiceLineItem :: Maybe String
- creditNoteLineItemLivemode :: Bool
- creditNoteLineItemObject :: CreditNoteLineItemObject'
- creditNoteLineItemQuantity :: Maybe Integer
- creditNoteLineItemTaxAmounts :: [] CreditNoteTaxAmount
- creditNoteLineItemTaxRates :: [] TaxRate
- creditNoteLineItemType :: CreditNoteLineItemType'
- creditNoteLineItemUnitAmount :: Maybe Integer
- creditNoteLineItemUnitAmountDecimal :: Maybe String
- data CreditNoteLineItemObject'
- data CreditNoteLineItemType'
Documentation
data CreditNoteLineItem Source #
Defines the data type for the schema credit_note_line_item
CreditNoteLineItem | |
|
Instances
Eq CreditNoteLineItem Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem (==) :: CreditNoteLineItem -> CreditNoteLineItem -> Bool # (/=) :: CreditNoteLineItem -> CreditNoteLineItem -> Bool # | |
Show CreditNoteLineItem Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem showsPrec :: Int -> CreditNoteLineItem -> ShowS # show :: CreditNoteLineItem -> String # showList :: [CreditNoteLineItem] -> ShowS # | |
ToJSON CreditNoteLineItem Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem toJSON :: CreditNoteLineItem -> Value # toEncoding :: CreditNoteLineItem -> Encoding # toJSONList :: [CreditNoteLineItem] -> Value # toEncodingList :: [CreditNoteLineItem] -> Encoding # | |
FromJSON CreditNoteLineItem Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem parseJSON :: Value -> Parser CreditNoteLineItem # parseJSONList :: Value -> Parser [CreditNoteLineItem] # |
data CreditNoteLineItemObject' Source #
Defines the enum schema credit_note_line_itemObject'
String representing the object's type. Objects of the same type share the same value.
CreditNoteLineItemObject'EnumOther Value | |
CreditNoteLineItemObject'EnumTyped String | |
CreditNoteLineItemObject'EnumStringCreditNoteLineItem |
Instances
data CreditNoteLineItemType' Source #
Defines the enum schema credit_note_line_itemType'
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.
CreditNoteLineItemType'EnumOther Value | |
CreditNoteLineItemType'EnumTyped String | |
CreditNoteLineItemType'EnumStringCustomLineItem | |
CreditNoteLineItemType'EnumStringInvoiceLineItem |
Instances
Eq CreditNoteLineItemType' Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem | |
Show CreditNoteLineItemType' Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem showsPrec :: Int -> CreditNoteLineItemType' -> ShowS # show :: CreditNoteLineItemType' -> String # showList :: [CreditNoteLineItemType'] -> ShowS # | |
ToJSON CreditNoteLineItemType' Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem | |
FromJSON CreditNoteLineItemType' Source # | |
Defined in StripeAPI.Types.CreditNoteLineItem |