Tariff class

Constructors

Tariff({String? currency, int? dueNowCents, String? jurisdiction, List<Charge> lines = const [], String? recurring, int? recurringCents, String? structure})
Returns a new Tariff instance.

Properties

currency ↔ String?
Currency is the ISO code every amount on this quote is denominated in.
getter/setter pair
dueNowCents ↔ int?
DueNowCents is what is charged to begin: every non-recurring line.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
jurisdiction ↔ String?
Jurisdiction is the state of formation the filing fee belongs to.
getter/setter pair
lines ↔ List<Charge>
Lines are the charges, in the order a reader should see them.
getter/setter pair
recurring ↔ String?
Recurring is how often RecurringCents repeats — "yearly" for an agent of record. Empty when nothing on this quote recurs.
getter/setter pair
recurringCents ↔ int?
RecurringCents is what repeats, and Recurring says how often.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structure ↔ String?
Structure is the entity this prices: c-corp, llc or dao-llc.
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) → Tariff?
Returns a new Tariff instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Tariff>
mapFromJson(dynamic json) → Map<String, Tariff>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Tariff>>

Constants

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