Show AmazonGC country in offer book.

This commit is contained in:
jmacxx 2023-07-19 17:00:06 -05:00
parent 638848de24
commit 53c6b15b9d
No known key found for this signature in database
GPG Key ID: 155297BABFE94A1B

View File

@ -247,6 +247,9 @@ public class PaymentAccountUtil {
if (paymentAccount instanceof CountryBasedPaymentAccount) {
Country country = (((CountryBasedPaymentAccount) paymentAccount)).getCountry();
return country != null ? country.code : null;
} else if (paymentAccount instanceof AmazonGiftCardAccount) { // GH ISSUE #6661 show Amazon country
Country country = ((AmazonGiftCardAccount) paymentAccount).getCountry();
return country != null ? country.code : null;
}
return null;
}