Class ContactMedium
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.ContactMedium
Indicates the contact medium that could be used to contact the party.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) characteristic(MediumCharacteristic characteristic) 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 MediumCharacteristicGet characteristicType of the contact medium, such as: email address, telephone number, postal address@Valid TimePeriodGet validForinthashCode()If true, indicates that is the preferred contact mediummediumType(String mediumType) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCharacteristic(MediumCharacteristic characteristic) voidsetMediumType(String mediumType) voidsetPreferred(Boolean preferred) voidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
ContactMedium
public ContactMedium()
-
-
Method Details
-
mediumType
-
getMediumType
Type of the contact medium, such as: email address, telephone number, postal address- Returns:
- mediumType
-
setMediumType
-
preferred
-
isPreferred
If true, indicates that is the preferred contact medium- Returns:
- preferred
-
setPreferred
-
characteristic
-
getCharacteristic
Get characteristic- Returns:
- characteristic
-
setCharacteristic
-
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
-