package cz.moneta.test.dsl.ufo.banka.pages.fon.newCif;

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.TypeInto;

public interface NewCifContacts extends CIF111_S001_NewCifDataNavigation {
    String EMAIL_INPUT = "CIF111_S001_E018";
    String HOME_PHONE_INPUT = "CIF111_S001_E019";
    String HOME_PHONE_PREFIX_INPUT = "CIF111_S001_E016";
    String MOBILE_PHONE_INPUT = "CIF111_S001_E020";
    String MOBILE_PHONE_PREFIX_INPUT = "CIF111_S001_E008";
    String EMAIL_REFUSED_CHECKBOX = "//label[@for='CIF111_S001_H002_1']";

    @TypeInto(EMAIL_INPUT)
    NewCifContacts fillEmail(String email);

    @TypeInto(HOME_PHONE_INPUT)
    NewCifContacts fillHomePhone(String number);

    @TypeInto(value = HOME_PHONE_PREFIX_INPUT, clear = true)
    NewCifContacts fillHomePhonePrefix(String number);

    @TypeInto(MOBILE_PHONE_INPUT)
    NewCifContacts fillMobilePhone(String number);

    @TypeInto(value = MOBILE_PHONE_PREFIX_INPUT, clear = true)
    NewCifContacts fillMobilePhonePrefix(String number);

    @Click(value = EMAIL_REFUSED_CHECKBOX, by = Lookup.XPATH)
    NewCifContacts checkRefuseEmail();
}
