public class UnknownCartItemInterface extends AbstractResponse<UnknownCartItemInterface> implements CartItemInterface
optimisticData, responseData| Constructor and Description |
|---|
UnknownCartItemInterface() |
UnknownCartItemInterface(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
static CartItemInterface |
create(com.google.gson.JsonObject fields) |
String |
getGraphQlTypeName() |
String |
getId()
Deprecated.
Use `uid` instead
|
CartItemPrices |
getPrices() |
ProductInterface |
getProduct() |
Double |
getQuantity() |
ID |
getUid()
The unique ID for a `CartItemInterface` object
|
UnknownCartItemInterface |
setId(String arg) |
UnknownCartItemInterface |
setPrices(CartItemPrices arg) |
UnknownCartItemInterface |
setProduct(ProductInterface arg) |
UnknownCartItemInterface |
setQuantity(Double arg) |
UnknownCartItemInterface |
setUid(ID 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 UnknownCartItemInterface()
public UnknownCartItemInterface(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic static CartItemInterface create(com.google.gson.JsonObject fields) throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface CartItemInterface@Deprecated public String getId()
getId in interface CartItemInterfacepublic UnknownCartItemInterface setId(String arg)
public CartItemPrices getPrices()
getPrices in interface CartItemInterfacepublic UnknownCartItemInterface setPrices(CartItemPrices arg)
public ProductInterface getProduct()
getProduct in interface CartItemInterfacepublic UnknownCartItemInterface setProduct(ProductInterface arg)
public Double getQuantity()
getQuantity in interface CartItemInterfacepublic UnknownCartItemInterface setQuantity(Double arg)
public ID getUid()
getUid in interface CartItemInterfacepublic UnknownCartItemInterface setUid(ID arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<UnknownCartItemInterface>Copyright © 2022 Adobe. All rights reserved.