yoomoney_flutter/lib/models/tokenization_settings.dart

13 lines
312 B
Dart
Raw Normal View History

2022-07-03 20:52:22 +03:00
import 'payment_method_types.dart';
class TokenizationSettings {
final PaymentMethodTypes paymentMethodTypes;
const TokenizationSettings([this.paymentMethodTypes = PaymentMethodTypes.all]);
Map<String, dynamic> toJson() =>
{
'paymentMethodTypes': paymentMethodTypes.jsonList(),
};
}