FIX: return legacy payment_system_is to BankCardConditionDefinition (#50)

This commit is contained in:
Alexey S 2022-07-27 16:41:00 +03:00 committed by GitHub
parent 9362c08657
commit 09e7a75668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2586,12 +2586,36 @@ struct BankCardCondition {
3: optional BankCardConditionDefinition definition
}
// deprecated completely never use
enum LegacyBankCardPaymentSystem {
visa
mastercard
visaelectron
maestro
forbrugsforeningen
dankort
amex
dinersclub
discover
unionpay
jcb
nspkmir
elo
rupay
ebt
dummy // Несуществующая платежная система для использования в непродовом окружении
uzcard
}
union BankCardConditionDefinition {
2: BankRef issuer_bank_is
3: PaymentSystemCondition payment_system
4: Residence issuer_country_is
5: bool empty_cvv_is
6: BankCardCategoryRef category_is
// deprecated
1: LegacyBankCardPaymentSystem payment_system_is
}
struct PaymentSystemCondition {