java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Contact

public class Contact extends Object
An individual or an organization used as a contact point for a given account and accessed via some contact medium.
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • contactName

      public Contact contactName(String contactName)
    • getContactName

      public String getContactName()
      A displayable name for that contact
      Returns:
      contactName
    • setContactName

      public void setContactName(String contactName)
    • contactType

      public Contact contactType(String contactType)
    • getContactType

      @NotNull public @NotNull String getContactType()
      Type of contact (primary, secondary...)
      Returns:
      contactType
    • setContactType

      public void setContactType(String contactType)
    • partyRoleType

      public Contact partyRoleType(String partyRoleType)
    • getPartyRoleType

      public String getPartyRoleType()
      Identifies what kind of party role type is linked to the contact (a account manager...)
      Returns:
      partyRoleType
    • setPartyRoleType

      public void setPartyRoleType(String partyRoleType)
    • contactMedium

      public Contact contactMedium(List<ContactMedium> contactMedium)
    • addContactMediumItem

      public Contact addContactMediumItem(ContactMedium contactMediumItem)
    • getContactMedium

      @Valid public @Valid List<ContactMedium> getContactMedium()
      Get contactMedium
      Returns:
      contactMedium
    • setContactMedium

      public void setContactMedium(List<ContactMedium> contactMedium)
    • relatedParty

      public Contact relatedParty(RelatedParty relatedParty)
    • getRelatedParty

      @Valid public @Valid RelatedParty getRelatedParty()
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(RelatedParty relatedParty)
    • validFor

      public Contact validFor(TimePeriod validFor)
    • getValidFor

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

      public void setValidFor(TimePeriod validFor)
    • atBaseType

      public Contact atBaseType(String atBaseType)
    • getAtBaseType

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

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public Contact atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

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

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public Contact atType(String atType)
    • getAtType

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

      public void setAtType(String atType)
    • 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