Class ProductRelationship
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.ProductRelationship
@Validated
@Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen",
date="2022-10-21T20:35:04.698Z")
public class ProductRelationship
extends Object
Linked products to the one instantiate, such as [bundled] if the product is a bundle and you want to describe the bundled products inside this bundle; [reliesOn] if the product needs another already owned product to rely on (e.g. an option on an already owned mobile access product) [targets] or [isTargeted] (depending on the way of expressing the link) for any other kind of links that may be useful
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatbaseType(String atbaseType) atschemaLocation(String atschemaLocation) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@NotNull @Valid ProductRefOrValueGet product@NotNull StringType of the product relationship, such as [bundled] if the product is a bundle and you want to describe the bundled products inside this bundle; [reliesOn] if the product needs another already owned product to rely on (e.g.inthashCode()product(ProductRefOrValue product) relationshipType(String relationshipType) voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetProduct(ProductRefOrValue product) voidsetRelationshipType(String relationshipType) toString()
-
Constructor Details
-
ProductRelationship
public ProductRelationship()
-
-
Method Details
-
relationshipType
-
getRelationshipType
Type of the product relationship, such as [bundled] if the product is a bundle and you want to describe the bundled products inside this bundle; [reliesOn] if the product needs another already owned product to rely on (e.g. an option on an already owned mobile access product) [targets] or [isTargeted] (depending on the way of expressing the link) for any other kind of links that may be useful- Returns:
- relationshipType
-
setRelationshipType
-
product
-
getProduct
Get product- Returns:
- product
-
setProduct
-
atbaseType
-
getAtbaseType
When sub-classing, this defines the super-class- Returns:
- atbaseType
-
setAtbaseType
-
atschemaLocation
-
getAtschemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atschemaLocation
-
setAtschemaLocation
-
attype
-
getAttype
When sub-classing, this defines the sub-class entity name- Returns:
- attype
-
setAttype
-
equals
-
hashCode
public int hashCode() -
toString
-