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

18 lines
394 B
Dart

class GooglePayParameters {
final List<GooglePayCardNetwork> paymentSystems;
const GooglePayParameters([this.paymentSystems = const [GooglePayCardNetwork.mastercard, GooglePayCardNetwork.visa]]);
List<String> jsonList() {
return paymentSystems.map((e) => e.toString()).toList();
}
}
enum GooglePayCardNetwork {
amex,
discover,
jcb,
mastercard,
visa,
interac,
other
}