PaymentIntentMandateData.fromJson constructor

PaymentIntentMandateData.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentMandateData.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentMandateData(
      customerAcceptance: PaymentIntentCustomerAcceptance.fromJson(
          map['customer_acceptance']));
}