public class ProductLinks extends AbstractResponse<ProductLinks> implements ProductLinksInterface
optimisticData, responseData| Constructor and Description |
|---|
ProductLinks() |
ProductLinks(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ProductLinks |
setLinkedProductSku(String arg) |
ProductLinks |
setLinkedProductType(String arg) |
ProductLinks |
setLinkType(String arg) |
ProductLinks |
setPosition(Integer arg) |
ProductLinks |
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 ProductLinks()
public ProductLinks(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface ProductLinksInterfacepublic String getLinkType()
getLinkType in interface ProductLinksInterfacepublic ProductLinks setLinkType(String arg)
public String getLinkedProductSku()
getLinkedProductSku in interface ProductLinksInterfacepublic ProductLinks setLinkedProductSku(String arg)
public String getLinkedProductType()
getLinkedProductType in interface ProductLinksInterfacepublic ProductLinks setLinkedProductType(String arg)
public Integer getPosition()
getPosition in interface ProductLinksInterfacepublic ProductLinks setPosition(Integer arg)
public String getSku()
getSku in interface ProductLinksInterfacepublic ProductLinks setSku(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ProductLinks>Copyright © 2022 Adobe. All rights reserved.