Package com.thalesgroup.gemalto.d1.card
Class ConsumerInfo
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.card.ConsumerInfo
-
public final class ConsumerInfo extends Object
Information about the consumer.- Since:
- 3.3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEmail()The consumer’s email address in RFC 5322 format.StringgetFirstName()Provides the consumer's first name.StringgetLanguage()The preferred language to be used by the consumer.StringgetLastName()Provides the consumer's last name.StringgetPhoneNumber()The phone number which is without a country code.StringgetPhoneNumberCountryCode()The country code of the phone number according to International calling code format UIT-T E.164.
-
-
-
Method Detail
-
getFirstName
@NonNull public String getFirstName()
Provides the consumer's first name. The maximum length of the first name allowed is 30 characters.
-
getLastName
@NonNull public String getLastName()
Provides the consumer's last name. The maximum length of the last name allowed is 30 characters.
-
getLanguage
@NonNull public String getLanguage()
The preferred language to be used by the consumer. Format: A 2-letter language code (ISO 639-1) in lowercase with an underscore (”_”), followed by a 2-letter (ISO 3166-1) country code in uppercase. For example: en_US
-
getPhoneNumberCountryCode
@NonNull public String getPhoneNumberCountryCode()
The country code of the phone number according to International calling code format UIT-T E.164. It contains only numbers, without the plus sign (+). For example: 65
-
getPhoneNumber
@NonNull public String getPhoneNumber()
The phone number which is without a country code. It contains the national destination code or number planning area + subscriber number. For example: 99998888
-
-