package merchantapp_locator;

import java.util.List;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;

public class MerchantFirstFormLocator {
    WebDriver driver;
	
	@FindBy(how = How.XPATH, using = "//*[@id=\"app\"]/div/div[1]/div[1]/main/div[2]/div/form/div/div/div/div")
	@CacheLookup
	WebElement centerclick;
	
	@FindBy(how = How.XPATH, using ="//*[@id=\"menu-center\"]/div[2]/ul/li")
	@CacheLookup
	List<WebElement> centerlist;
	
	@FindBy(how = How.XPATH, using ="//*[@id=\"app\"]/div/div[1]/div[1]/main/div[2]/div/div[1]")
	@CacheLookup
	WebElement starthere;
	
	@FindBy(how = How.ID, using = "name")
	@CacheLookup
	WebElement applicationname;
	
	@FindBy(how = How.ID, using = "phone")
	@CacheLookup
	WebElement applicationphone;
	
	@FindBy(how = How.XPATH, using = "//*[@id=\"app\"]/div/div[1]/div[1]/main/div[2]/div/form/div[1]/div[4]/div/div")
	@CacheLookup
	WebElement applicationlanguageclick;
	
	@FindBy(how = How.XPATH, using = "//*[@id=\"menu-preferred_language\"]/div[2]/ul/li")
	@CacheLookup
	List<WebElement> applicationlangaugelist;
	
	@FindBy(how = How.XPATH, using = "//*[@id=\"app\"]/div/div[1]/div[1]/main/div[2]/div/form/div[2]/div")
	@CacheLookup
	WebElement applicationproductclick;
	
	@FindBy(how = How.XPATH, using="//*[@id=\"menu-product_id\"]/div[2]/ul/li")
	@CacheLookup
	List<WebElement> applicationproductlist;
	
	@FindBy(how = How.ID, using="duration_year")
	@CacheLookup
	WebElement applicationdurationyear;
	
	@FindBy(how = How.ID, using="duration_month")
	@CacheLookup
	WebElement applicationdurationmonth;
	
	@FindBy(how = How.ID, using="loan_amount")
	@CacheLookup
	WebElement applicationloanamount;
	
	@FindBy(how = How.XPATH, using="//*[@id=\"app\"]/div/div[1]/div[1]/main/div[2]/div/form/div[7]/button")
	@CacheLookup
	WebElement applicationshowplan;
	
	
	@FindBy(how = How.XPATH, using ="//*[@id=\"app\"]/div/div[1]/div[1]/main/div[2]/div/div[3]/div/ul/li/div/span")
	@CacheLookup
	List<WebElement> applicationofferselect;
	
	@FindBy(how = How.XPATH, using ="/html/body/div[3]/div[2]/div[3]/button[1]")
	@CacheLookup
	WebElement skipotp;
	
	public WebElement centerClick()
	{
		return centerclick;
	}
	
	public List<WebElement> centerList()
	{
		return  centerlist;
	}
	
	public WebElement startHere()
	{
		return starthere;
	}
	
	public WebElement applicationName()
	{
		return applicationname;
	
	}
	
	public WebElement applicationPhone()
	{
		return applicationphone;
	}
	
    
	public WebElement applicationLanagugeclick()
	{
		return applicationlanguageclick;
	}
	
	public List<WebElement> applicationLanaguagelist()
	{
		return  applicationlangaugelist;
	}
	
	public WebElement applicationProductclick()
	{
		return applicationproductclick;
	}
	
	public List<WebElement> applicationProductlist()
	{
		return  applicationproductlist;
	}
	
	public WebElement appliationDurationyear()
	{
		return applicationdurationyear;
	}
	
	public WebElement applicationDurationmonth()

	{
	return applicationdurationmonth;
	}
	
	public WebElement applicationAmount()
	{
		return applicationloanamount;
	}
	
	public WebElement applicationShowplan()
	{
		return applicationshowplan;
	}
	
	
	public List<WebElement> applicationOfferselect()
	{
		return  applicationofferselect;
	}
	
	public WebElement skipOtp()
	{
		return skipotp;
	}
	
}
