Package com.my.target.common.webform
Class UserInfo.Contact
-
- All Implemented Interfaces:
public final class UserInfo.Contact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserInfo.Contact.DecodingParameters
-
Field Summary
Fields Modifier and Type Field Description public final UserInfo.Contact.DecodingParametersdecodingParameterspublic final Stringemailpublic final StringemailSignpublic final Stringphonepublic final StringphoneSign
-
Constructor Summary
Constructors Constructor Description UserInfo.Contact(String phone, String email)Creates a new contract with phone and/or email. UserInfo.Contact(String maskedPhone, String phoneSign, String maskedEmail, String emailSign, UserInfo.Contact.DecodingParameters decodingParameters)Creates a new contract with a masked phone and a masked email.
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
UserInfo.Contact
UserInfo.Contact(String phone, String email)
Creates a new contract with phone and/or email.- Parameters:
phone- The contact phone number (e.g.email- The contact email.
-
UserInfo.Contact
UserInfo.Contact(String maskedPhone, String phoneSign, String maskedEmail, String emailSign, UserInfo.Contact.DecodingParameters decodingParameters)
Creates a new contract with a masked phone and a masked email.- Parameters:
maskedPhone- The masked phone.phoneSign- The sign of the masked phone.maskedEmail- The masked email.emailSign- The sign of the masked email.decodingParameters- The decoding parameters.
-
-
-
-