Package com.whatsapp.api.domain.messages
Class Email
java.lang.Object
com.whatsapp.api.domain.messages.Email
Optional
Contact email address(es) formatted as an emails object. The object can contain the following fields:
- email – Optional. Email address.- type – Optional. Standard values are HOME and WORK.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Email
public Email()Instantiates a new Email. -
Email
Instantiates a new Email.- Parameters:
type
- the type. Optional. Standard values are HOME and WORK.email
- the email
-
-
Method Details
-
getType
Gets type.- Returns:
- the type
-
setType
Sets type.- Parameters:
type
- the type. Optional. Standard values are HOME and WORK.- Returns:
- the type
-
getEmail
Gets email.- Returns:
- the email
-
setEmail
Sets email.- Parameters:
email
- the email- Returns:
- the email
-