![JAR search and dependency download from the Maven repository](/logo.png)
com.unbxd.client.recommendations.response.RecommendationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unbxd-java-sdk Show documentation
Show all versions of unbxd-java-sdk Show documentation
The project is a Unbxd Java Library
The newest version!
package com.unbxd.client.recommendations.response;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
* User: sourabh
* Date: 08/07/14
* Time: 6:18 PM
* To change this template use File | Settings | File Templates.
*/
public class RecommendationResult {
private String _uniqueId;
private Map _attributes;
protected RecommendationResult(Map params) {
this._attributes = params;
this._uniqueId = (String) _attributes.get("uniqueId");
}
/**
* @return Attributes of the product
*/
public Map getAttributes(){
return this._attributes;
}
/**
* @return Unique Id of the product
*/
public String getUniqueId(){
return this._uniqueId;
}
/**
* @param fieldName
* @return Attribute of the product for given field name
*/
public Object getAttribute(String fieldName){
return this._attributes.get(fieldName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy