Class ContactMedium

java.lang.Object
de.hybris.platform.partytmfwebservices.v1.dto.ContactMedium

@Deprecated(since="2208") public class ContactMedium extends Object
Deprecated.
Indicates the contact medium that could be used to contact the party.
  • Constructor Details

    • ContactMedium

      public ContactMedium()
      Deprecated.
  • Method Details

    • mediumType

      public ContactMedium mediumType(String mediumType)
      Deprecated.
    • getMediumType

      public String getMediumType()
      Deprecated.
      Type of the contact medium, such as: email address, telephone number, postal address
      Returns:
      mediumType
    • setMediumType

      public void setMediumType(String mediumType)
      Deprecated.
    • preferred

      public ContactMedium preferred(Boolean preferred)
      Deprecated.
    • isPreferred

      public Boolean isPreferred()
      Deprecated.
      If true, indicates that is the preferred contact medium
      Returns:
      preferred
    • setPreferred

      public void setPreferred(Boolean preferred)
      Deprecated.
    • characteristic

      public ContactMedium characteristic(MediumCharacteristic characteristic)
      Deprecated.
    • getCharacteristic

      @Valid public @Valid MediumCharacteristic getCharacteristic()
      Deprecated.
      Get characteristic
      Returns:
      characteristic
    • setCharacteristic

      public void setCharacteristic(MediumCharacteristic characteristic)
      Deprecated.
    • validFor

      public ContactMedium validFor(TimePeriod validFor)
      Deprecated.
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      Deprecated.
      Get validFor
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
      Deprecated.
    • atBaseType

      public ContactMedium atBaseType(String atBaseType)
      Deprecated.
    • getAtBaseType

      public String getAtBaseType()
      Deprecated.
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
      Deprecated.
    • atSchemaLocation

      public ContactMedium atSchemaLocation(String atSchemaLocation)
      Deprecated.
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Deprecated.
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
      Deprecated.
    • atType

      public ContactMedium atType(String atType)
      Deprecated.
    • getAtType

      public String getAtType()
      Deprecated.
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object