ApplePayPayment constructor

ApplePayPayment({
  1. required String token,
  2. PaymentAmount? amount,
  3. List<PaymentPlan> plans = const [],
  4. UnplannedPayment? unplanned,
  5. 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);