CardPayment class

Describes a payment with debit / credit cards

Inheritance

Constructors

CardPayment({required PaylikeCard card, PaymentAmount? amount, List<PaymentPlan> plans = const [], UnplannedPayment? unplanned, Map<String, dynamic> custom = const {}})
CardPayment.fromBasePayment(PaylikeCard card, BasePayment options)
Used for creating a card payment from an already defined BasePayment

Properties

amount PaymentAmount?
Defines the amount of the payment
getter/setter pairinherited
card PaylikeCard
Tokenized card to use in the payment
final
custom Map<String, dynamic>
Custom fields to apply
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
plans List<PaymentPlan>
Optional. List of plans to apply
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unplanned UnplannedPayment?
Optional. Used for unplanned payments
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
validate() → void
inherited

Operators

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