CreditNote class

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

Constructors

CreditNote({String? id, String? object, int? amount, int? created, String? currency, dynamic customer, dynamic customerBalanceTransaction, int? discountAmount, dynamic invoice, CreditNoteLines? lines, bool? livemode, String? memo, Map<String, dynamic>? metadata, String? number, int? outOfBandAmount, String? pdf, String? reason, dynamic refund, String? status, int? subtotal, List<TaxAmount>? taxAmounts, int? total, String? type, int? voidedAt})
CreditNote.fromJson(Map<String, dynamic> json)
factory

Properties

amount int?
getter/setter pair
created int?
getter/setter pair
currency String?
getter/setter pair
customer ↔ dynamic
getter/setter pair
customerBalanceTransaction ↔ dynamic
getter/setter pair
discountAmount int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
invoice ↔ dynamic
getter/setter pair
lines CreditNoteLines?
getter/setter pair
livemode bool?
getter/setter pair
memo String?
getter/setter pair
metadata Map<String, dynamic>?
getter/setter pair
number String?
getter/setter pair
object String?
getter/setter pair
outOfBandAmount int?
getter/setter pair
pdf String?
getter/setter pair
reason String?
getter/setter pair
refund ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
getter/setter pair
subtotal int?
getter/setter pair
taxAmounts List<TaxAmount>?
getter/setter pair
total int?
getter/setter pair
type String?
getter/setter pair
voidedAt 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