General information
- SDK/Library version: 5.9.0
- Environment: production
- Language, language version, and OS: Windows 10 (German), Windows Server 2012 (English)
Issue description
We have a problem with PaymentInstrumentType filter on an TransactionSearchRequest
using tsr.PaymentInstrumentType.Is(PaymentInstrumentType.PAYPAL_ACCOUNT.ToString()); results in an empty result set.
looking at the source I don't understand why this is still a MultipleValueNode<TransactionSearchRequest, string> typed filter and not an EnumMultipleValueNode<TransactionSearchRequest, PaymentInstrumentType> one as it is used for other enum based filters.
Another unexpected behavior is that using
tsr.CreditCardCardType.Is(CreditCardCardType.MASTER_CARD.ToString()); returns different results than tsr.CreditCardCardType.Is(CreditCardCardType.MASTER_CARD);
The string typed one returns the expected results, the "older" string-based usage returns fewer elements.
General information
Issue description
We have a problem with
PaymentInstrumentTypefilter on anTransactionSearchRequestusing
tsr.PaymentInstrumentType.Is(PaymentInstrumentType.PAYPAL_ACCOUNT.ToString());results in an empty result set.looking at the source I don't understand why this is still a
MultipleValueNode<TransactionSearchRequest, string>typed filter and not anEnumMultipleValueNode<TransactionSearchRequest, PaymentInstrumentType>one as it is used for other enum based filters.Another unexpected behavior is that using
tsr.CreditCardCardType.Is(CreditCardCardType.MASTER_CARD.ToString());returns different results thantsr.CreditCardCardType.Is(CreditCardCardType.MASTER_CARD);The string typed one returns the expected results, the "older" string-based usage returns fewer elements.