package cz.moneta.test.dsl.ufo.banka.pages.products.current.account;

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.products.current.account.ZPL002_S001_SmoothPaymentVerificationPage.PAGE_LABEL_XPATH;

@Wait(value = PAGE_LABEL_XPATH, by = Lookup.XPATH)
public interface ZPL002_S001_SmoothPaymentVerificationPage extends WebFlow<ZPL002_S001_SmoothPaymentVerificationPage> {

    String PAGE_LABEL_XPATH = "//div[text()='ZPL002_S001']";
    String CURRENCY_SELECT = "ZPL002_S001_C001";
    String AMOUNT_INPUT = "ZPL002_S001_E001";
    String ACCOUNT_NUMBER_SENDER_INPUT = "ZPL002_S001_E004";
    String ACCOUNT_NUMBER_RECEIVER_INPUT = "ZPL002_S001_E013";
    String COUNTRY_CODE_INPUT = "ZPL002_S001_E021";
    String IDENTIFICATION_BANK_CODE_INPUT = "ZPL002_S001_E018";
    String EXPENSES_SHA_RADIO = "ZPL002_S001_R001_SHA";
    String VERIFICATION_BUTTON = "ZPL002_S001_B002";

    @Select(CURRENCY_SELECT)
    ZPL002_S001_SmoothPaymentVerificationPage selectCurrency(String currency);

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

    @TypeInto(ACCOUNT_NUMBER_SENDER_INPUT)
    ZPL002_S001_SmoothPaymentVerificationPage fillAccountNumberSender(String accountNumberSender);

    @TypeInto(ACCOUNT_NUMBER_RECEIVER_INPUT)
    ZPL002_S001_SmoothPaymentVerificationPage fillAccountNumberReceiver(String accountNumberReceiver);

    @TypeInto(COUNTRY_CODE_INPUT)
    ZPL002_S001_SmoothPaymentVerificationPage fillCountryCode(String countryCode);

    @TypeInto(IDENTIFICATION_BANK_CODE_INPUT)
    ZPL002_S001_SmoothPaymentVerificationPage fillIdentificationBankCode(String identificationBankCode);

    @Click(value = EXPENSES_SHA_RADIO, jsClick = true)
    ZPL002_S001_SmoothPaymentVerificationPage clickExpensesSha();

    @Click(VERIFICATION_BUTTON)
    ZPL_OBR001_SmoothPaymentInfo clickVerification();

}
