Class NewDigitalProductRequestBody


public class NewDigitalProductRequestBody extends NewCollectionRequestBody
NewDigitalProductRequestBody describes the properties to create a new collection with a digital product classification.
  • Constructor Details

    • NewDigitalProductRequestBody

      public NewDigitalProductRequestBody()
      Default constructor
    • NewDigitalProductRequestBody

      public NewDigitalProductRequestBody(NewDigitalProductRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getDigitalProductProperties

      public DigitalProductProperties getDigitalProductProperties()
      Return the properties for the digital product classification.
      Returns:
      properties
    • setDigitalProductProperties

      public void setDigitalProductProperties(DigitalProductProperties digitalProductProperties)
      Set up the properties for the digital product classification.
      Parameters:
      digitalProductProperties - properties
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class NewCollectionRequestBody
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class NewCollectionRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class NewCollectionRequestBody
      Returns:
      int hash code