Class RelatedPartyRef

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

public class RelatedPartyRef extends Object
RelatedParty reference. A related party defines party or party role linked to a specific entity.
  • Constructor Details

    • RelatedPartyRef

      public RelatedPartyRef()
  • Method Details

    • id

      public RelatedPartyRef id(String id)
    • getId

      public String getId()
      Unique identifier of a related party
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public RelatedPartyRef href(String href)
    • getHref

      public String getHref()
      Reference of the related party, could be a party reference or a party role reference
      Returns:
      href
    • setHref

      public void setHref(String href)
    • role

      public RelatedPartyRef role(String role)
    • getRole

      public String getRole()
      Role of the related party.
      Returns:
      role
    • setRole

      public void setRole(String role)
    • name

      public RelatedPartyRef name(String name)
    • getName

      public String getName()
      Name of the related party
      Returns:
      name
    • setName

      public void setName(String name)
    • validFor

      public RelatedPartyRef validFor(TimePeriod validFor)
    • getValidFor

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

      public void setValidFor(TimePeriod validFor)
    • atReferredType

      public RelatedPartyRef atReferredType(String atReferredType)
    • getAtReferredType

      public String getAtReferredType()
      The class type of referred party/party role reference
      Returns:
      atReferredType
    • setAtReferredType

      public void setAtReferredType(String atReferredType)
    • 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