public class CustomizableFieldOption extends AbstractResponse<CustomizableFieldOption> implements CustomizableOptionInterface
optimisticData, responseData| Constructor and Description |
|---|
CustomizableFieldOption() |
CustomizableFieldOption(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
Integer |
getOptionId()
Deprecated.
Use `uid` instead
|
String |
getProductSku()
The Stock Keeping Unit of the base product.
|
Boolean |
getRequired()
Indicates whether the option is required.
|
Integer |
getSortOrder()
The order in which the option is displayed.
|
String |
getTitle()
The display name for this option.
|
ID |
getUid()
The unique ID for a `CustomizableOptionInterface` object.
|
CustomizableFieldValue |
getValue()
An object that defines a text field.
|
CustomizableFieldOption |
setOptionId(Integer arg) |
CustomizableFieldOption |
setProductSku(String arg) |
CustomizableFieldOption |
setRequired(Boolean arg) |
CustomizableFieldOption |
setSortOrder(Integer arg) |
CustomizableFieldOption |
setTitle(String arg) |
CustomizableFieldOption |
setUid(ID arg) |
CustomizableFieldOption |
setValue(CustomizableFieldValue arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsStringpublic CustomizableFieldOption()
public CustomizableFieldOption(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface CustomizableOptionInterface@Deprecated public Integer getOptionId()
getOptionId in interface CustomizableOptionInterfacepublic CustomizableFieldOption setOptionId(Integer arg)
public String getProductSku()
public CustomizableFieldOption setProductSku(String arg)
public Boolean getRequired()
getRequired in interface CustomizableOptionInterfacepublic CustomizableFieldOption setRequired(Boolean arg)
public Integer getSortOrder()
getSortOrder in interface CustomizableOptionInterfacepublic CustomizableFieldOption setSortOrder(Integer arg)
public String getTitle()
getTitle in interface CustomizableOptionInterfacepublic CustomizableFieldOption setTitle(String arg)
public ID getUid()
getUid in interface CustomizableOptionInterfacepublic CustomizableFieldOption setUid(ID arg)
public CustomizableFieldValue getValue()
public CustomizableFieldOption setValue(CustomizableFieldValue arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CustomizableFieldOption>Copyright © 2022 Adobe. All rights reserved.