Class Contact
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Contact
An individual or an organization used as a contact point for a given account and accessed via some contact medium.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContactMediumItem(ContactMedium contactMediumItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) contactMedium(List<ContactMedium> contactMedium) contactName(String contactName) contactType(String contactType) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid List<ContactMedium>Get contactMediumA displayable name for that contact@NotNull StringType of contact (primary, secondary...)Identifies what kind of party role type is linked to the contact (a account manager...)@Valid RelatedPartyGet relatedParty@NotNull @Valid TimePeriodGet validForinthashCode()partyRoleType(String partyRoleType) relatedParty(RelatedParty relatedParty) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetContactMedium(List<ContactMedium> contactMedium) voidsetContactName(String contactName) voidsetContactType(String contactType) voidsetPartyRoleType(String partyRoleType) voidsetRelatedParty(RelatedParty relatedParty) voidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
Contact
public Contact()
-
-
Method Details
-
contactName
-
getContactName
A displayable name for that contact- Returns:
- contactName
-
setContactName
-
contactType
-
getContactType
Type of contact (primary, secondary...)- Returns:
- contactType
-
setContactType
-
partyRoleType
-
getPartyRoleType
Identifies what kind of party role type is linked to the contact (a account manager...)- Returns:
- partyRoleType
-
setPartyRoleType
-
contactMedium
-
addContactMediumItem
-
getContactMedium
Get contactMedium- Returns:
- contactMedium
-
setContactMedium
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-