package cz.moneta.test.dsl.ufo.banka.pages.main.components;

import cz.moneta.test.dsl.ufo.banka.pages.fon.SCN001_S001_IdDocumentsCopy;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Select;
import cz.moneta.test.harness.support.web.TypeInto;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.banka.pages.main.components.WUE001_S004_BuildingSavingsParametersPage.CONTINUE_BUTTON;

@Wait(CONTINUE_BUTTON)
public interface WUE001_S004_BuildingSavingsParametersPage extends WebFlow<WUE001_S004_BuildingSavingsParametersPage> {

    String CONTINUE_BUTTON = "WUE001_S004_B001";
    String SYMBOL_SELECT = "WUE001_S004_C001";
    String ACTION_CODE_SELECT = "WUE001_S004_C002";
    String SAVINGS_SELECT = "WUE001_S004_C003";
    String CREDIT_SELECT = "WUE001_S004_C004";
    String AMOUNT_INPUT = "WUE001_S004_E006";
    String STATE_SUPPORT_RADIO = "WUE001_S004_R010_1";
    String ANNUAL_REPORT_RADIO = "WUE001_S004_R011_post";
    String PHYSICAL_CONSENT_RADIO = "WUE001_S004_R001_P";


    @Select(SYMBOL_SELECT)
    WUE001_S004_BuildingSavingsParametersPage selectSymbol(String symbol);

    @Select(ACTION_CODE_SELECT)
    WUE001_S004_BuildingSavingsParametersPage selectActionCode(String actionCode);

    @TypeInto(AMOUNT_INPUT)
    WUE001_S004_BuildingSavingsParametersPage fillAmount(String amount);

    @Click(STATE_SUPPORT_RADIO)
    WUE001_S004_BuildingSavingsParametersPage clickStateSupportYes();

    @Click(ANNUAL_REPORT_RADIO)
    WUE001_S004_BuildingSavingsParametersPage clickAnnualReportByPost();

    @Click(PHYSICAL_CONSENT_RADIO)
    WUE001_S004_BuildingSavingsParametersPage clickPhysicalConsentYes();

    @Click(CONTINUE_BUTTON)
    SCN001_S001_IdDocumentsCopy continueToConfirmationPage();

    @Select(SAVINGS_SELECT)
    WUE001_S004_BuildingSavingsParametersPage selectSavings(String savings);

    @Select(CREDIT_SELECT)
    WUE001_S004_BuildingSavingsParametersPage selectCredit(String credit);


}
