public class BundleItemOption extends AbstractResponse<BundleItemOption>
optimisticData, responseData| Constructor and Description |
|---|
BundleItemOption() |
BundleItemOption(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getCanChangeQuantity()
Indicates whether the customer can change the number of items for this option.
|
String |
getGraphQlTypeName() |
Integer |
getId()
Deprecated.
Use `uid` instead
|
Boolean |
getIsDefault()
Indicates whether this option is the default option.
|
String |
getLabel()
The text that identifies the bundled item option.
|
Integer |
getPosition()
When a bundle item contains multiple options, the relative position of this option compared to the
other options.
|
Double |
getPrice()
The price of the selected option.
|
PriceTypeEnum |
getPriceType()
One of FIXED, PERCENT, or DYNAMIC.
|
ProductInterface |
getProduct()
Contains details about this product option.
|
Double |
getQty()
Deprecated.
The `qty` is deprecated. Use `quantity` instead.
|
Double |
getQuantity()
Indicates the quantity of this specific bundle item.
|
ID |
getUid()
The unique ID for a `BundleItemOption` object.
|
BundleItemOption |
setCanChangeQuantity(Boolean arg) |
BundleItemOption |
setId(Integer arg) |
BundleItemOption |
setIsDefault(Boolean arg) |
BundleItemOption |
setLabel(String arg) |
BundleItemOption |
setPosition(Integer arg) |
BundleItemOption |
setPrice(Double arg) |
BundleItemOption |
setPriceType(PriceTypeEnum arg) |
BundleItemOption |
setProduct(ProductInterface arg) |
BundleItemOption |
setQty(Double arg) |
BundleItemOption |
setQuantity(Double arg) |
BundleItemOption |
setUid(ID arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic BundleItemOption()
public BundleItemOption(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Boolean getCanChangeQuantity()
public BundleItemOption setCanChangeQuantity(Boolean arg)
@Deprecated public Integer getId()
public BundleItemOption setId(Integer arg)
public Boolean getIsDefault()
public BundleItemOption setIsDefault(Boolean arg)
public String getLabel()
public BundleItemOption setLabel(String arg)
public Integer getPosition()
public BundleItemOption setPosition(Integer arg)
public Double getPrice()
public BundleItemOption setPrice(Double arg)
public PriceTypeEnum getPriceType()
public BundleItemOption setPriceType(PriceTypeEnum arg)
public ProductInterface getProduct()
public BundleItemOption setProduct(ProductInterface arg)
@Deprecated public Double getQty()
public BundleItemOption setQty(Double arg)
public Double getQuantity()
public BundleItemOption setQuantity(Double arg)
public ID getUid()
public BundleItemOption setUid(ID arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<BundleItemOption>Copyright © 2022 Adobe. All rights reserved.