PaymentMethodOptionsOxxo.fromJson constructor
PaymentMethodOptionsOxxo.fromJson(
- Object? json
Implementation
factory PaymentMethodOptionsOxxo.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodOptionsOxxo(
expiresAfterDays: (map['expires_after_days'] as num).toInt());
}