java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ContactMedium

public class ContactMedium extends Object
Indicates the contact medium that could be used to contact the party.
  • Constructor Details

    • ContactMedium

      public ContactMedium()
  • Method Details

    • atBaseType

      public ContactMedium atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      Generic attribute indicating the base class type of the extension class of the current object. Useful only when the class type of the current object is unknown to the implementation.
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public ContactMedium atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Generic attribute containing the link to the schema that defines the structure of the class type of the current object.
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public ContactMedium atType(String atType)
    • getAtType

      public String getAtType()
      Generic attribute containing the name of the resource class type
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • preferred

      public ContactMedium preferred(Boolean preferred)
    • isPreferred

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

      public void setPreferred(Boolean preferred)
    • type

      public ContactMedium type(String type)
    • getType

      public String getType()
      Type of the contact medium, such as: email address, telephone number, postal address
      Returns:
      type
    • setType

      public void setType(String type)
    • validFor

      public ContactMedium validFor(TimePeriod validFor)
    • getValidFor

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

      public void setValidFor(TimePeriod validFor)
    • characteristic

      public ContactMedium characteristic(MediumCharacteristic characteristic)
    • getCharacteristic

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

      public void setCharacteristic(MediumCharacteristic characteristic)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object