public class GroupedProductItem extends AbstractResponse<GroupedProductItem>
optimisticData, responseData| Constructor and Description |
|---|
GroupedProductItem() |
GroupedProductItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
Integer |
getPosition()
The relative position of this item compared to the other group items
|
ProductInterface |
getProduct()
The ProductInterface object, which contains details about this product option
|
Double |
getQty()
The quantity of this grouped product item
|
GroupedProductItem |
setPosition(Integer arg) |
GroupedProductItem |
setProduct(ProductInterface arg) |
GroupedProductItem |
setQty(Double arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic GroupedProductItem()
public GroupedProductItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Integer getPosition()
public GroupedProductItem setPosition(Integer arg)
public ProductInterface getProduct()
public GroupedProductItem setProduct(ProductInterface arg)
public Double getQty()
public GroupedProductItem setQty(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<GroupedProductItem>Copyright © 2022 Adobe. All rights reserved.