BJ-971: tokenized bank card fix (#148)

Co-authored-by: vitaxa <v.banin@rbkmoney.com>
This commit is contained in:
vitaxa 2020-08-04 18:51:15 +03:00 committed by GitHub
parent 18842b145d
commit b82df35887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ public class PaymentMethodHandler extends AbstractDominantHandler<PaymentMethodO
paymentMethodRefId = paymentMethodObjectRefId.getPaymentTerminal().name();
} else if (paymentMethodObjectRefId.isSetDigitalWallet()) {
paymentMethodRefId = paymentMethodObjectRefId.getDigitalWallet().name();
} else if (paymentMethodObjectRefId.isSetBankCardDeprecated()) {
} else if (paymentMethodObjectRefId.isSetTokenizedBankCardDeprecated()) {
TokenizedBankCard tokenizedBankCard = paymentMethodObjectRefId.getTokenizedBankCardDeprecated();
paymentMethodRefId = tokenizedBankCard.getPaymentSystem().name() + "_" + tokenizedBankCard.getTokenProvider().name();
} else if (paymentMethodObjectRefId.isSetEmptyCvvBankCardDeprecated()) {