RaiseIn class

Constructors

RaiseIn({String? currency, String? customerEmail, List<InvoiceLine> lines = const [], String? userId})
Returns a new RaiseIn instance.

Properties

currency ↔ String?
Currency is the ISO 4217 code, lower-cased. Empty means usd.
getter/setter pair
customerEmail ↔ String?
CustomerEmail is where the invoice is sent. Optional.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
lines ↔ List<InvoiceLine>
Lines are the charges. The invoice subtotal and amount due are COMPUTED from these — there is no total field to send, because a total that disagreed with its own lines would bill a number nobody could derive.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userId ↔ String?
UserID identifies the customer being billed, within the caller's own org. Required — an invoice with no addressee is not an invoice.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → RaiseIn?
Returns a new RaiseIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RaiseIn>
mapFromJson(dynamic json) → Map<String, RaiseIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RaiseIn>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.