Class CloneProductRequest

java.lang.Object
com.broadleafcommerce.catalog.clone.product.CloneProductRequest
All Implemented Interfaces:
Serializable

public class CloneProductRequest extends Object implements 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 Details

    • CloneProductRequest

      public CloneProductRequest()
  • Method Details

    • getProductId

      public String getProductId()
      The Product id to clone.
    • getName

      public String getName()
      See Also:
    • getUri

      public String getUri()
      See Also:
    • getSku

      public String getSku()
      See Also:
    • getCloneRelationships

      public List<String> getCloneRelationships()
      The List 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

      public void setProductId(String productId)
      The Product id to clone.
    • setName

      public void setName(String name)
      See Also:
    • setUri

      public void setUri(String uri)
      See Also:
    • setSku

      public void setSku(String sku)
      See Also:
    • setCloneRelationships

      public void setCloneRelationships(List<String> cloneRelationships)
      The List 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object