yoomoney_flutter/lib/models/tokenization_settings.dart
Искандар Р. Шабаев b7c7e3fd69 Initial commit
2022-07-03 20:52:22 +03:00

13 lines
312 B
Dart

import 'payment_method_types.dart';
class TokenizationSettings {
final PaymentMethodTypes paymentMethodTypes;
const TokenizationSettings([this.paymentMethodTypes = PaymentMethodTypes.all]);
Map<String, dynamic> toJson() =>
{
'paymentMethodTypes': paymentMethodTypes.jsonList(),
};
}