public class SimpleWishlistItem extends AbstractResponse<SimpleWishlistItem> implements WishlistItemInterface
optimisticData, responseData| Constructor and Description |
|---|
SimpleWishlistItem() |
SimpleWishlistItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddedAt()
The date and time the item was added to the wish list
|
List<SelectedCustomizableOption> |
getCustomizableOptions()
Custom options selected for the wish list item
|
String |
getDescription()
The description of the item
|
String |
getGraphQlTypeName() |
ID |
getId()
The unique ID for a `WishlistItemInterface` object
|
ProductInterface |
getProduct()
Product details of the wish list item
|
Double |
getQuantity()
The quantity of this wish list item
|
SimpleWishlistItem |
setAddedAt(String arg) |
SimpleWishlistItem |
setCustomizableOptions(List<SelectedCustomizableOption> arg) |
SimpleWishlistItem |
setDescription(String arg) |
SimpleWishlistItem |
setId(ID arg) |
SimpleWishlistItem |
setProduct(ProductInterface arg) |
SimpleWishlistItem |
setQuantity(Double 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 SimpleWishlistItem()
public SimpleWishlistItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface WishlistItemInterfacepublic String getAddedAt()
getAddedAt in interface WishlistItemInterfacepublic SimpleWishlistItem setAddedAt(String arg)
public List<SelectedCustomizableOption> getCustomizableOptions()
getCustomizableOptions in interface WishlistItemInterfacepublic SimpleWishlistItem setCustomizableOptions(List<SelectedCustomizableOption> arg)
public String getDescription()
getDescription in interface WishlistItemInterfacepublic SimpleWishlistItem setDescription(String arg)
public ID getId()
getId in interface WishlistItemInterfacepublic SimpleWishlistItem setId(ID arg)
public ProductInterface getProduct()
getProduct in interface WishlistItemInterfacepublic SimpleWishlistItem setProduct(ProductInterface arg)
public Double getQuantity()
getQuantity in interface WishlistItemInterfacepublic SimpleWishlistItem setQuantity(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<SimpleWishlistItem>Copyright © 2022 Adobe. All rights reserved.