PaymentTerms class

Constructors

PaymentTerms({PaymentTermsTypeEnum? type, Money? dueNow, Money? dueLater, PaymentTermsDueLaterAtEnum? dueLaterAt})
Returns a new PaymentTerms instance.

Properties

dueLater ↔ Money?
What the guest pays later, indicative; null for payNow.
getter/setter pair
dueLaterAt ↔ PaymentTermsDueLaterAtEnum?
property when DueLater is set; otherwise null.
getter/setter pair
dueNow ↔ Money?
What the partner's wallet is charged at order.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ PaymentTermsTypeEnum?
payNow, payAtProperty or deposit.
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) → PaymentTerms?
Returns a new PaymentTerms instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PaymentTerms>
mapFromJson(dynamic json) → Map<String, PaymentTerms>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PaymentTerms>>

Constants

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