PaymentIntentCartesBancaires.fromJson constructor
PaymentIntentCartesBancaires.fromJson(
- Object? json
Implementation
factory PaymentIntentCartesBancaires.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentCartesBancaires(
cbAvalgo: PaymentIntentCbAvalgo.fromJson(map['cb_avalgo']),
cbExemption:
map['cb_exemption'] == null ? null : (map['cb_exemption'] as String),
cbScore:
map['cb_score'] == null ? null : (map['cb_score'] as num).toInt(),
);
}