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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
TheList
of the Product relationships that is used to specify which of the relationships should be cloned.getName()
TheProduct
id to clone.getSku()
getUri()
int
hashCode()
void
setCloneRelationships
(List<String> cloneRelationships) TheList
of the Product relationships that is used to specify which of the relationships should be cloned.void
void
setProductId
(String productId) TheProduct
id to clone.void
void
toString()
-
Constructor Details
-
CloneProductRequest
public CloneProductRequest()
-
-
Method Details
-
getProductId
TheProduct
id to clone. -
getName
- See Also:
-
getUri
- See Also:
-
getSku
- See Also:
-
getCloneRelationships
TheList
of 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
TheProduct
id to clone. -
setName
- See Also:
-
setUri
- See Also:
-
setSku
- See Also:
-
setCloneRelationships
TheList
of 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
-