PaymentMethodDetailsSepaDebit.fromJson constructor
PaymentMethodDetailsSepaDebit.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsSepaDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsSepaDebit(
bankCode: map['bank_code'] == null ? null : (map['bank_code'] as String),
branchCode:
map['branch_code'] == null ? null : (map['branch_code'] as String),
country: map['country'] == null ? null : (map['country'] as String),
fingerprint:
map['fingerprint'] == null ? null : (map['fingerprint'] as String),
last4: map['last4'] == null ? null : (map['last4'] as String),
mandate: map['mandate'] == null ? null : (map['mandate'] as String),
);
}