public class ThreeKitConfig extends Object
Inside the script, an instance of this class, containing the data of the ThreeKit Config that the script will be run on, will be provided automatically and can be accessed as a variable named threeKitConfig
Constructor and Description |
---|
ThreeKitConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getAssetId()
Retrieves the AssetId.
|
String |
getProductId()
Retrieves the ProductId.
|
List<String> |
getThreekitAttributeList()
Retrieves the list of ThreeKit attributes.
|
String |
getThreeKitAuthToken()
Retrieves the ThreeKit Auth Token.
|
Map<String,Object> |
getThreekitCustomAttributes()
Retrieves the Map of Threekit Custom Attributes.
|
String |
getThreeKitURL()
Retrieves the ThreeKitURL.
|
boolean |
isThreeKitEnabled() |
void |
setAssetId(String assetId)
sets the AssetId for the ThreeKit Config
|
void |
setProductId(String productId)
sets the productId for the ThreeKit Config
|
void |
setThreekitAttributeList(List<String> threekitAttributeList)
sets the ThreeKit attributes for the ThreeKit Config
|
void |
setThreeKitAuthToken(String threeKitAuthToken)
sets the threeKitAuthToken for the ThreeKit Config
|
void |
setThreekitCustomAttributes(Map<String,Object> threekitCustomAttributes)
sets the threekit Custom Attributes for the ThreeKit Config
|
void |
setThreeKitEnabled(boolean isThreeKitEnabled)
sets the isThreeKitEnabled boolean to enable the ThreeKit Config
|
void |
setThreeKitURL(String threeKitURL)
sets the threeKitURL for the ThreeKit Config
|
Resource |
toResource(ThreeKitConfig threeKitConfig) |
public String getAssetId()
public String getProductId()
public List<String> getThreekitAttributeList()
public String getThreeKitAuthToken()
public Map<String,Object> getThreekitCustomAttributes()
public String getThreeKitURL()
public boolean isThreeKitEnabled()
public void setAssetId(String assetId)
assetId
- as String.public void setProductId(String productId)
productId
- as String.public void setThreekitAttributeList(List<String> threekitAttributeList)
threekitAttributeList
- as Listpublic void setThreeKitAuthToken(String threeKitAuthToken)
threeKitAuthToken
- as String.public void setThreekitCustomAttributes(Map<String,Object> threekitCustomAttributes)
threekitCustomAttributes
- as Mappublic void setThreeKitEnabled(boolean isThreeKitEnabled)
isThreeKitEnabled
- as Boolean.public void setThreeKitURL(String threeKitURL)
threeKitURL
- as String.public Resource toResource(ThreeKitConfig threeKitConfig)