AmendmentQuoteOption class

Constructors

AmendmentQuoteOption({String? id, Money? amountToPay, Money? amountToRefund, Money? amendmentFee})
Returns a new AmendmentQuoteOption instance.

Properties

amendmentFee ↔ Money?
A fee for the change, already included in amountToPay or amountToRefund; null when none applies.
getter/setter pair
amountToPay ↔ Money?
The surcharge charged on confirm, including any amendment fee.
getter/setter pair
amountToRefund ↔ Money?
The credit returned on confirm, after any amendment fee.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
Option id, sent as selectedOptionId when confirming.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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