public class SimpleCartItem extends AbstractResponse<SimpleCartItem> implements CartItemInterface
optimisticData, responseData| Constructor and Description |
|---|
SimpleCartItem() |
SimpleCartItem(com.google.gson.JsonObject fields) |
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 SimpleCartItem()
public SimpleCartItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface CartItemInterfacepublic List<GiftWrapping> getAvailableGiftWrapping()
public SimpleCartItem setAvailableGiftWrapping(List<GiftWrapping> arg)
public List<SelectedCustomizableOption> getCustomizableOptions()
public SimpleCartItem setCustomizableOptions(List<SelectedCustomizableOption> arg)
public GiftMessage getGiftMessage()
public SimpleCartItem setGiftMessage(GiftMessage arg)
public GiftWrapping getGiftWrapping()
public SimpleCartItem setGiftWrapping(GiftWrapping arg)
@Deprecated public String getId()
getId in interface CartItemInterfacepublic SimpleCartItem setId(String arg)
public CartItemPrices getPrices()
getPrices in interface CartItemInterfacepublic SimpleCartItem setPrices(CartItemPrices arg)
public ProductInterface getProduct()
getProduct in interface CartItemInterfacepublic SimpleCartItem setProduct(ProductInterface arg)
public Double getQuantity()
getQuantity in interface CartItemInterfacepublic SimpleCartItem setQuantity(Double arg)
public ID getUid()
getUid in interface CartItemInterfacepublic SimpleCartItem setUid(ID arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<SimpleCartItem>Copyright © 2022 Adobe. All rights reserved.