<repo_name>rijugeorge/RestAssured-SOAP<file_sep>/src/main/java/OD_PS_Automation/APIPayloads/package-info.java
/**
 * 
 */
/**
 * @author riju.george
 *
 */
package OD_PS_Automation.APIPayloads;<file_sep>/src/main/java/OD_PS_Automation/API/WebApiBase.java
package OD_PS_Automation.API;

import java.net.URI;

public interface WebApiBase {
	
    public String serviceURL ="";
	public void formRequestXML();

}
<file_sep>/target/classes/global.properties
// UI Configurations



// WebService Configurations

automation.api.test=TRUe
automation.api.authenticateURL=https://webservices.sandbox.orderdynamics.net
automation.api.authenticateServicePath=/AuthenticationService.svc 
automation.api.storeId=AE4A82B9-BCEC-4A3E-AE2F-9FD2B16C12DF
automation.api.accessKey=<KEY><file_sep>/src/main/java/OD_PS_Automation/APIPayloads/ParamResolverTestStepScope.java
package OD_PS_Automation.APIPayloads;

public class ParamResolverTestStepScope implements ParamResolverBase{



	public String getResolvedParam(String paramName, String paramResolverType) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setParam(String paramScope, String paramName, String paramResolverType) {
		// TODO Auto-generated method stub
		
	}

}
<file_sep>/src/main/java/OD_PS_Automation/APIPayloads/ParamResolverBase.java
package OD_PS_Automation.APIPayloads;

public interface ParamResolverBase {
	
	public String paramName = "";
	public String paramScope = "";
	public String paramResolverType = "";
	public String paramResolvedValue = "";
	
	public String getResolvedParam( String paramName, String paramResolverType);
    public void setParam( String paramScope, String paramName, String paramResolverType);
}
<file_sep>/src/main/java/OD_PS_Automation/APIPayloads/ParamResolverGlobalScope.java
package OD_PS_Automation.APIPayloads;

import java.util.Properties;

public class ParamResolverGlobalScope implements ParamResolverBase {

	private Properties prop;

	private ParamResolverGlobalScope(Properties prop) {
		this.prop = prop;
	}

	public String getResolvedParam(String paramName, String paramResolverType) {

		String returnValue = (String) prop.getOrDefault(paramName, "GLOBALNOTSET");

		if (returnValue.equals("GLOBALNOTSET")) {

			return null;

		} else {
			return returnValue;
		}

	}

	@Override
	public void setParam(String paramScope, String paramName, String paramResolverType) {
		// TODO Auto-generated method stub

	}

}
<file_sep>/src/main/java/OD_PS_Automation/APIPayloads/ParamResolverFactory.java
package OD_PS_Automation.APIPayloads;

import java.util.Properties;

public class ParamResolverFactory {

	public ParamResolverFactory() {
		// TODO Auto-generated constructor stub
	}
	
	

}
<file_sep>/src/main/java/OD_PS_Automation/APIPayloads/BulkParamResolver.java
package OD_PS_Automation.APIPayloads;

import java.util.Properties;

public class BulkParamResolver {
    
	public BulkParamResolver(Properties prop) {
		// TODO Auto-generated constructor stub
	}

	
	public void performBulkResolution(String type, Properties prop) {
		
		switch  (type) {
		                
		case "Global" : 
			           for (int  i =0 ; i <= prop.size() ; i++) {
			        	   
			           }
			     
			           break;
		
		}
		
	}
}
