PaymentMethodDetailsAcssDebit.fromJson constructor
PaymentMethodDetailsAcssDebit.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsAcssDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsAcssDebit(
bankName: map['bank_name'] == null ? null : (map['bank_name'] as String),
fingerprint:
map['fingerprint'] == null ? null : (map['fingerprint'] as String),
institutionNumber: map['institution_number'] == null
? null
: (map['institution_number'] as String),
last4: map['last4'] == null ? null : (map['last4'] as String),
mandate: map['mandate'] == null ? null : (map['mandate'] as String),
transitNumber: map['transit_number'] == null
? null
: (map['transit_number'] as String),
);
}