public class CustomizableFieldValue extends AbstractResponse<CustomizableFieldValue>
optimisticData, responseData| Constructor and Description |
|---|
CustomizableFieldValue() |
CustomizableFieldValue(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
Integer |
getMaxCharacters()
The maximum number of characters that can be entered for this customizable option.
|
Double |
getPrice()
The price of the custom value.
|
PriceTypeEnum |
getPriceType()
FIXED, PERCENT, or DYNAMIC.
|
String |
getSku()
The Stock Keeping Unit for this option.
|
ID |
getUid()
The unique ID for a `CustomizableFieldValue` object.
|
CustomizableFieldValue |
setMaxCharacters(Integer arg) |
CustomizableFieldValue |
setPrice(Double arg) |
CustomizableFieldValue |
setPriceType(PriceTypeEnum arg) |
CustomizableFieldValue |
setSku(String arg) |
CustomizableFieldValue |
setUid(ID arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic CustomizableFieldValue()
public CustomizableFieldValue(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Integer getMaxCharacters()
public CustomizableFieldValue setMaxCharacters(Integer arg)
public Double getPrice()
public CustomizableFieldValue setPrice(Double arg)
public PriceTypeEnum getPriceType()
public CustomizableFieldValue setPriceType(PriceTypeEnum arg)
public String getSku()
public CustomizableFieldValue setSku(String arg)
public ID getUid()
public CustomizableFieldValue setUid(ID arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CustomizableFieldValue>Copyright © 2022 Adobe. All rights reserved.