Class ContactMedium
java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.dto.ContactMedium
@Validated
@Generated(value="de.hybris.platform.partyroletmfwebservices.swagger.PrPartyRoleCodegen",
date="2022-10-21T20:35:30.099Z")
public class ContactMedium
extends Object
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@NotNull @Valid MediumCharacteristicAny additional characteristic(s) of this contact medium@NotNull StringType of the contact medium, such as: email address, telephone number, postal address@Valid TimePeriodThe time period that the contact medium is valid forinthashCode()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
Any additional characteristic(s) of this contact medium- Returns:
- characteristic
-
setCharacteristic
-
validFor
-
getValidFor
The time period that the contact medium is valid for- 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
-