public class BundleItem extends AbstractResponse<BundleItem>
optimisticData, responseData| Constructor and Description |
|---|
BundleItem() |
BundleItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
Integer |
getOptionId()
Deprecated.
Use `uid` instead
|
List<BundleItemOption> |
getOptions()
An array of additional options for this bundle item.
|
Integer |
getPosition()
he relative position of this item compared to the other bundle items.
|
Boolean |
getRequired()
Indicates whether the item must be included in the bundle.
|
String |
getSku()
The SKU of the bundle product.
|
String |
getTitle()
The display name of the item.
|
String |
getType()
The input type that the customer uses to select the item.
|
ID |
getUid()
The unique ID for a `BundleItem` object.
|
BundleItem |
setOptionId(Integer arg) |
BundleItem |
setOptions(List<BundleItemOption> arg) |
BundleItem |
setPosition(Integer arg) |
BundleItem |
setRequired(Boolean arg) |
BundleItem |
setSku(String arg) |
BundleItem |
setTitle(String arg) |
BundleItem |
setType(String arg) |
BundleItem |
setUid(ID arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic BundleItem()
public BundleItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
@Deprecated public Integer getOptionId()
public BundleItem setOptionId(Integer arg)
public List<BundleItemOption> getOptions()
public BundleItem setOptions(List<BundleItemOption> arg)
public Integer getPosition()
public BundleItem setPosition(Integer arg)
public Boolean getRequired()
public BundleItem setRequired(Boolean arg)
public String getSku()
public BundleItem setSku(String arg)
public String getTitle()
public BundleItem setTitle(String arg)
public String getType()
public BundleItem setType(String arg)
public ID getUid()
public BundleItem setUid(ID arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<BundleItem>Copyright © 2022 Adobe. All rights reserved.