blob: d4f6ca6195586d69ba195057df11018fc4512c29 [file] [log] [blame]
package org.apache.fineract.ui.online.customers.createcustomer.formcustomeraddress;
import org.apache.fineract.data.models.customer.Country;
import org.apache.fineract.ui.base.MvpView;
import java.util.List;
/**
* @author Rajan Maurya
* On 26/07/17.
*/
public interface FormCustomerAddressContract {
interface View extends MvpView {
void showCounties(List<String> countries);
void showError(String message);
}
interface Presenter {
void fetchCountries();
List<String> filterCountriesName(List<Country> countries);
String getCountryCode(String countryName);
boolean isCountryNameValid(String s);
}
}