java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Party
Direct Known Subclasses:
Individual, Organization

public class Party extends Object
Generic Party structure used to define commonalities between sub concepts of Individual and Organization.
  • Constructor Details

    • Party

      public Party()
  • Method Details

    • id

      public Party id(String id)
    • getId

      public String getId()
      Unique identifier of the organization
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public Party href(String href)
    • getHref

      public String getHref()
      Hyperlink to access the organization
      Returns:
      href
    • setHref

      public void setHref(String href)
    • contactMedium

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

      public Party addContactMediumItem(ContactMedium contactMediumItem)
    • getContactMedium

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

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

      public Party creditRating(List<PartyCreditProfile> creditRating)
    • addCreditRatingItem

      public Party addCreditRatingItem(PartyCreditProfile creditRatingItem)
    • getCreditRating

      @Valid public @Valid List<PartyCreditProfile> getCreditRating()
      Get creditRating
      Returns:
      creditRating
    • setCreditRating

      public void setCreditRating(List<PartyCreditProfile> creditRating)
    • externalReference

      public Party externalReference(List<ExternalReference> externalReference)
    • addExternalReferenceItem

      public Party addExternalReferenceItem(ExternalReference externalReferenceItem)
    • getExternalReference

      @Valid public @Valid List<ExternalReference> getExternalReference()
      Get externalReference
      Returns:
      externalReference
    • setExternalReference

      public void setExternalReference(List<ExternalReference> externalReference)
    • partyCharacteristic

      public Party partyCharacteristic(List<Characteristic> partyCharacteristic)
    • addPartyCharacteristicItem

      public Party addPartyCharacteristicItem(Characteristic partyCharacteristicItem)
    • getPartyCharacteristic

      @Valid public @Valid List<Characteristic> getPartyCharacteristic()
      Get partyCharacteristic
      Returns:
      partyCharacteristic
    • setPartyCharacteristic

      public void setPartyCharacteristic(List<Characteristic> partyCharacteristic)
    • relatedParty

      public Party relatedParty(List<RelatedParty> relatedParty)
    • addRelatedPartyItem

      public Party addRelatedPartyItem(RelatedParty relatedPartyItem)
    • getRelatedParty

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

      public void setRelatedParty(List<RelatedParty> relatedParty)
    • taxExemptionCertificate

      public Party taxExemptionCertificate(List<TaxExemptionCertificate> taxExemptionCertificate)
    • addTaxExemptionCertificateItem

      public Party addTaxExemptionCertificateItem(TaxExemptionCertificate taxExemptionCertificateItem)
    • getTaxExemptionCertificate

      @Valid public @Valid List<TaxExemptionCertificate> getTaxExemptionCertificate()
      Get taxExemptionCertificate
      Returns:
      taxExemptionCertificate
    • setTaxExemptionCertificate

      public void setTaxExemptionCertificate(List<TaxExemptionCertificate> taxExemptionCertificate)
    • atBaseType

      public Party 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 Party 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 Party 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