public class UnknownProductLinksInterface extends AbstractResponse<UnknownProductLinksInterface> implements ProductLinksInterface
optimisticData, responseData| Constructor and Description |
|---|
UnknownProductLinksInterface() |
UnknownProductLinksInterface(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
static ProductLinksInterface |
create(com.google.gson.JsonObject fields) |
String |
getGraphQlTypeName() |
String |
getLinkedProductSku()
The SKU of the linked product.
|
String |
getLinkedProductType()
The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable).
|
String |
getLinkType()
One of related, associated, upsell, or crosssell.
|
Integer |
getPosition()
The position within the list of product links.
|
String |
getSku()
The identifier of the linked product.
|
UnknownProductLinksInterface |
setLinkedProductSku(String arg) |
UnknownProductLinksInterface |
setLinkedProductType(String arg) |
UnknownProductLinksInterface |
setLinkType(String arg) |
UnknownProductLinksInterface |
setPosition(Integer arg) |
UnknownProductLinksInterface |
setSku(String 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 UnknownProductLinksInterface()
public UnknownProductLinksInterface(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic static ProductLinksInterface create(com.google.gson.JsonObject fields) throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface ProductLinksInterfacepublic String getLinkType()
getLinkType in interface ProductLinksInterfacepublic UnknownProductLinksInterface setLinkType(String arg)
public String getLinkedProductSku()
getLinkedProductSku in interface ProductLinksInterfacepublic UnknownProductLinksInterface setLinkedProductSku(String arg)
public String getLinkedProductType()
getLinkedProductType in interface ProductLinksInterfacepublic UnknownProductLinksInterface setLinkedProductType(String arg)
public Integer getPosition()
getPosition in interface ProductLinksInterfacepublic UnknownProductLinksInterface setPosition(Integer arg)
public String getSku()
getSku in interface ProductLinksInterfacepublic UnknownProductLinksInterface setSku(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<UnknownProductLinksInterface>Copyright © 2022 Adobe. All rights reserved.