PaymentIntentAcssDebit.fromJson constructor

PaymentIntentAcssDebit.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentAcssDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentAcssDebit(
    accountNumber: (map['account_number'] as String),
    institutionNumber: (map['institution_number'] as String),
    transitNumber: (map['transit_number'] as String),
  );
}