ApplePayPayment constructor
ApplePayPayment({
- required String token,
- PaymentAmount? amount,
- List<
PaymentPlan> plans = const [], - UnplannedPayment? unplanned,
- Map<
String, dynamic> custom = const {},
Implementation
ApplePayPayment({
required this.token,
PaymentAmount? amount,
List<PaymentPlan> plans = const [],
UnplannedPayment? unplanned,
Map<String, dynamic> custom = const {},
}) : assert(amount != null || plans.isNotEmpty),
super(
amount: amount, plans: plans, unplanned: unplanned, custom: custom);