|
@ -362,8 +362,7 @@ public class RecipientEditV3Presenter extends RecipientAddEditBaseV3Presenter { |
|
|
view.showMobilePrefixAndFlag(gateway.getMobilePrefixFromCountryCode(validator.getRecipientDetail().getCountryCode()), CountryFlagMapper.getFlagFromCountryCode(validator.getRecipientDetail().getCountryCode())); |
|
|
view.showMobilePrefixAndFlag(gateway.getMobilePrefixFromCountryCode(validator.getRecipientDetail().getCountryCode()), CountryFlagMapper.getFlagFromCountryCode(validator.getRecipientDetail().getCountryCode())); |
|
|
view.showCountrySelectionView(true); |
|
|
view.showCountrySelectionView(true); |
|
|
view.showPaymentSelectionView(true); |
|
|
view.showPaymentSelectionView(true); |
|
|
if (validator.getRecipientDetail().getPaymentMethod() == null) { |
|
|
|
|
|
//Since payment method is not available at the moment we cannot show his existing mapped data |
|
|
|
|
|
|
|
|
|
|
|
for (CountryServiceModel countryServiceModel : t.getData()) { |
|
|
for (CountryServiceModel countryServiceModel : t.getData()) { |
|
|
if (countryServiceModel.getCountryCode().equalsIgnoreCase(validator.getRecipientDetail().getCountryCode())) { |
|
|
if (countryServiceModel.getCountryCode().equalsIgnoreCase(validator.getRecipientDetail().getCountryCode())) { |
|
|
validator.updateSelectedCountry(countryServiceModel); |
|
|
validator.updateSelectedCountry(countryServiceModel); |
|
@ -371,10 +370,12 @@ public class RecipientEditV3Presenter extends RecipientAddEditBaseV3Presenter { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
|
if (validator.getRecipientDetail().getPaymentMethod() != null) { |
|
|
|
|
|
|
|
|
String countryId = validator.getRecipientDetail().getCountryId(); |
|
|
String countryId = validator.getRecipientDetail().getCountryId(); |
|
|
String serviceTypeID = validator.getRecipientDetail().getPaymentMethod().getId(); |
|
|
String serviceTypeID = validator.getRecipientDetail().getPaymentMethod().getId(); |
|
|
getDynamicValidationAndDropDownList(countryId, serviceTypeID); |
|
|
getDynamicValidationAndDropDownList(countryId, serviceTypeID); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|