class CustomShippingQuotesConfiguration extends IntegrationConfiguration implements CustomIntegrationConfiguration, Serializable {
	
	/**
	 * 
	 */
	private String moduleCode;
	
	private List<CustomShippingQuotesRegion> regions = new ArrayList<CustomShippingQuotesRegion>();
	
	
	private static final long serialVersionUID = 1L;

	
	@SuppressWarnings("unchecked")
	public String toJSONString() {<FILL_FUNCTION_BODY>}

	@Override
	public String getModuleCode() {
		return moduleCode;
	}

	@Override
	public void setModuleCode(String moduleCode) {
		this.moduleCode = moduleCode;
		
	}

	public void setRegions(List<CustomShippingQuotesRegion> regions) {
		this.regions = regions;
	}

	public List<CustomShippingQuotesRegion> getRegions() {
		return regions;
	}

}

		//JSONObject data = new JSONObject();
		
		//data.put("active", super.isActive());
		//data.put("moduleCode", this.getModuleCode());
		
		
		StringBuilder returnString = new StringBuilder();
		returnString.append("{");
		returnString.append("\"moduleCode\"").append(":\"").append(this.getModuleCode()).append("\"");
		returnString.append(",");
		returnString.append("\"active\"").append(":").append(this.isActive());
		


		if(regions!=null && regions.size()>0) {
			
			returnString.append(",");
			//org.json.simple.JSONArray array=new org.json.simple.JSONArray();
			StringBuilder regionsList = new StringBuilder();
			int countRegion = 0;
			regionsList.append("[");
			for(CustomShippingQuotesRegion region : regions) {
				regionsList.append(region.toJSONString());
				countRegion ++;
				if(countRegion<regions.size()) {
					regionsList.append(",");
				}
			}
			regionsList.append("]");
			returnString.append("\"regions\"").append(":").append(regionsList.toString());
		}

		//return data.toJSONString();
		returnString.append("}");
		return returnString.toString();
		
		
		

	
<methods>public non-sealed void <init>() ,public java.lang.String getEnvironment() ,public Map<java.lang.String,java.lang.String> getIntegrationKeys() ,public Map<java.lang.String,List<java.lang.String>> getIntegrationOptions() ,public java.lang.String getModuleCode() ,public boolean isActive() ,public boolean isDefaultSelected() ,public void setActive(boolean) ,public void setDefaultSelected(boolean) ,public void setEnvironment(java.lang.String) ,public void setIntegrationKeys(Map<java.lang.String,java.lang.String>) ,public void setIntegrationOptions(Map<java.lang.String,List<java.lang.String>>) ,public void setModuleCode(java.lang.String) ,public java.lang.String toJSONString() <variables>public static final java.lang.String PRODUCTION_ENVIRONMENT,public static final java.lang.String TEST_ENVIRONMENT,private boolean active,private boolean defaultSelected,private java.lang.String environment,private Map<java.lang.String,java.lang.String> integrationKeys,private Map<java.lang.String,List<java.lang.String>> integrationOptions,private java.lang.String moduleCode