BasePayment class

Base class that describes options for card and apple pay payments

Implemented types
Implementers

Constructors

BasePayment({PaymentAmount? amount, List<PaymentPlan> plans = const [], Map<String, dynamic> custom = const {}, UnplannedPayment? unplanned})

Properties

amount PaymentAmount?
Defines the amount of the payment
getter/setter pair
custom Map<String, dynamic>
Custom fields to apply
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
plans List<PaymentPlan>
Optional. List of plans to apply
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unplanned UnplannedPayment?
Optional. Used for unplanned payments
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
validate() → void

Operators

operator ==(Object other) bool
The equality operator.
inherited