public class AddProductsToWishlistOutput extends AbstractResponse<AddProductsToWishlistOutput>
optimisticData, responseData| Constructor and Description |
|---|
AddProductsToWishlistOutput() |
AddProductsToWishlistOutput(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
List<WishListUserInputError> |
getUserErrors()
An array of errors encountered while adding products to a wish list
|
Wishlist |
getWishlist()
Contains the wish list with all items that were successfully added
|
AddProductsToWishlistOutput |
setUserErrors(List<WishListUserInputError> arg) |
AddProductsToWishlistOutput |
setWishlist(Wishlist arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic AddProductsToWishlistOutput()
public AddProductsToWishlistOutput(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<WishListUserInputError> getUserErrors()
public AddProductsToWishlistOutput setUserErrors(List<WishListUserInputError> arg)
public Wishlist getWishlist()
public AddProductsToWishlistOutput setWishlist(Wishlist arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<AddProductsToWishlistOutput>Copyright © 2022 Adobe. All rights reserved.