Class ContactMedium
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.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) booleanGeneric attribute indicating the base class type of the extension class of the current object.Generic attribute containing the link to the schema that defines the structure of the class type of the current object.Generic attribute containing the name of the resource class type@Valid MediumCharacteristicGet characteristicgetType()Type of the contact medium, such as: email address, telephone number, postal address@Valid TimePeriodGet validForinthashCode()If true, indicates that is the preferred contact mediumvoidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCharacteristic(MediumCharacteristic characteristic) voidsetPreferred(Boolean preferred) voidvoidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
ContactMedium
public ContactMedium()
-
-
Method Details
-
atBaseType
-
getAtBaseType
Generic attribute indicating the base class type of the extension class of the current object. Useful only when the class type of the current object is unknown to the implementation.- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
Generic attribute containing the link to the schema that defines the structure of the class type of the current object.- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
Generic attribute containing the name of the resource class type- Returns:
- atType
-
setAtType
-
preferred
-
isPreferred
If true, indicates that is the preferred contact medium- Returns:
- preferred
-
setPreferred
-
type
-
getType
Type of the contact medium, such as: email address, telephone number, postal address- Returns:
- type
-
setType
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
characteristic
-
getCharacteristic
Get characteristic- Returns:
- characteristic
-
setCharacteristic
-
equals
-
hashCode
public int hashCode() -
toString
-