Invoice class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

Invoice({String? id, String? object, String? accountCountry, String? accountName, int? amountDue, int? amountPaid, int? amountRemaining, int? applicationFeeAmount, int? attemptCount, bool? attempted, bool? autoAdvance, String? billingReason, dynamic charge, String? collectionMethod, int? created, String? currency, List<CustomField>? customFields, dynamic customer, Address? customerAddress, String? customerEmail, String? customerName, String? customerPhone, Shipping? customerShipping, String? customerTaxExempt, List<CustomerTaxId>? customerTaxIds, dynamic defaultPaymentMethod, dynamic defaultSource, List<Rate>? defaultTaxRates, String? description, Discount? discount, int? dueDate, int? endingBalance, String? footer, String? hostedInvoiceUrl, String? invoicePdf, InvoiceLineItems? lines, bool? livemode, Map<String, dynamic>? metadata, int? nextPaymentAttempt, String? number, bool? paid, dynamic paymentIntent, int? periodEnd, int? periodStart, int? postPaymentCreditNotesAmount, int? prePaymentCreditNotesAmount, String? receiptNumber, int? startingBalance, String? statementDescriptor, String? status, StatusTransitions? statusTransitions, dynamic subscription, int? subtotal, int? tax, dynamic taxPercent, int? total, List<TaxAmount>? totalTaxAmounts, int? webhooksDeliveredAt, int? subscriptionProrationDate, dynamic thresholdReason})
Invoice.fromJson(Map<String, dynamic> json)
factory

Properties

accountCountry String?
getter/setter pair
accountName String?
getter/setter pair
amountDue int?
getter/setter pair
amountPaid int?
getter/setter pair
amountRemaining int?
getter/setter pair
applicationFeeAmount int?
getter/setter pair
attemptCount int?
getter/setter pair
attempted bool?
getter/setter pair
autoAdvance bool?
getter/setter pair
billingReason String?
getter/setter pair
charge ↔ dynamic
getter/setter pair
collectionMethod String?
getter/setter pair
created int?
getter/setter pair
currency String?
getter/setter pair
customer ↔ dynamic
getter/setter pair
customerAddress Address?
getter/setter pair
customerEmail String?
getter/setter pair
customerName String?
getter/setter pair
customerPhone String?
getter/setter pair
customerShipping Shipping?
getter/setter pair
customerTaxExempt String?
getter/setter pair
customerTaxIds List<CustomerTaxId>?
getter/setter pair
customFields List<CustomField>?
getter/setter pair
defaultPaymentMethod ↔ dynamic
getter/setter pair
defaultSource ↔ dynamic
getter/setter pair
defaultTaxRates List<Rate>?
getter/setter pair
description String?
getter/setter pair
discount Discount?
getter/setter pair
dueDate int?
getter/setter pair
endingBalance int?
getter/setter pair
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hostedInvoiceUrl String?
getter/setter pair
id String?
getter/setter pair
invoicePdf String?
getter/setter pair
lines InvoiceLineItems?
getter/setter pair
livemode bool?
getter/setter pair
metadata Map<String, dynamic>?
getter/setter pair
nextPaymentAttempt int?
getter/setter pair
number String?
getter/setter pair
object String?
getter/setter pair
getter/setter pair
paymentIntent ↔ dynamic
getter/setter pair
periodEnd int?
getter/setter pair
periodStart int?
getter/setter pair
postPaymentCreditNotesAmount int?
getter/setter pair
prePaymentCreditNotesAmount int?
getter/setter pair
receiptNumber String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startingBalance int?
getter/setter pair
statementDescriptor String?
getter/setter pair
status String?
getter/setter pair
statusTransitions StatusTransitions?
getter/setter pair
subscription ↔ dynamic
getter/setter pair
subscriptionProrationDate int?
getter/setter pair
subtotal int?
getter/setter pair
tax int?
getter/setter pair
taxPercent ↔ dynamic
getter/setter pair
thresholdReason ↔ dynamic
getter/setter pair
total int?
getter/setter pair
totalTaxAmounts List<TaxAmount>?
getter/setter pair
webhooksDeliveredAt int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited