Class CloneProductRequest
java.lang.Object
com.broadleafcommerce.catalog.clone.product.CloneProductRequest
- All Implemented Interfaces:
Serializable
This is the request DTO which should be sent as the request body of the clone
Product
request.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTheListof the Product relationships that is used to specify which of the relationships should be cloned.getName()TheProductid to clone.getSku()getUri()inthashCode()voidsetCloneRelationships(List<String> cloneRelationships) TheListof the Product relationships that is used to specify which of the relationships should be cloned.voidvoidsetProductId(String productId) TheProductid to clone.voidvoidtoString()
-
Constructor Details
-
CloneProductRequest
public CloneProductRequest()
-
-
Method Details
-
getProductId
TheProductid to clone. -
getName
- See Also:
-
getUri
- See Also:
-
getSku
- See Also:
-
getCloneRelationships
TheListof the Product relationships that is used to specify which of the relationships should be cloned. If this list is empty, the relationships will not be cloned. -
setProductId
TheProductid to clone. -
setName
- See Also:
-
setUri
- See Also:
-
setSku
- See Also:
-
setCloneRelationships
TheListof the Product relationships that is used to specify which of the relationships should be cloned. If this list is empty, the relationships will not be cloned. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-