ApplePayPayment class

Describes a payment with Apple Pay

Inheritance

Constructors

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

Properties

amount PaymentAmount?
Defines the amount of the payment
getter/setter pairinherited
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
token String
Apple token to use in the payment
final
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>
inherited
toString() String
A string representation of this object.
inherited
validate() → void
inherited

Operators

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