Package com.thalesgroup.gemalto.d1.card
Class ConsumerInfo
java.lang.Object
com.thalesgroup.gemalto.d1.card.ConsumerInfo
Deprecated.
Information about the consumer.
- Since:
- 3.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionConsumerInfo(String firstName, String lastName, String language, String phoneNumberCountryCode, String phoneNumber, String email) Deprecated.Please use new API:ConsumerInfo(String, String, String, String, String, String, String)ConsumerInfo(String firstName, String middleName, String lastName, String language, String phoneNumberCountryCode, String phoneNumber, String email) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Deprecated.The consumer’s email address in RFC 5322 format.Deprecated.Provides the consumer's first name.Deprecated.The preferred language to be used by the consumer.Deprecated.Provides the consumer's last name.Deprecated.Deprecated.The phone number which is without a country code.Deprecated.The country code of the phone number according to International calling code format UIT-T E.164.
-
Constructor Details
-
ConsumerInfo
public ConsumerInfo(@NonNull String firstName, @Nullable String middleName, @NonNull String lastName, @NonNull String language, @NonNull String phoneNumberCountryCode, @NonNull String phoneNumber, @Nullable String email) Deprecated.- Parameters:
firstName- Provides the consumer's first name. The maximum length of the first name allowed is 35 characters.middleName- Provides the consumer's middle name. The maximum length of the middle name allowed is 35 characters. This parameter is not applicable to Mastercard.lastName- Provides the consumer's last name. The maximum length of the last name allowed is 35 characters.language- 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 alpha-2) country code in uppercase. For example: en-USphoneNumberCountryCode- International country code of the end user's phoneNumber. Shall start with the '+' sign. For example: +65email- The consumer’s email address in RFC 5322 format. For example: myemail@mail.com.phoneNumber- National phoneNumber of the end user. Shall not contain the first '0' of the national phoneNumber.
-
ConsumerInfo
public ConsumerInfo(@NonNull String firstName, @NonNull String lastName, @NonNull String language, @NonNull String phoneNumberCountryCode, @NonNull String phoneNumber, @NonNull String email) Deprecated.Please use new API:ConsumerInfo(String, String, String, String, String, String, String)- Parameters:
firstName- Provides the consumer's first name. The maximum length of the first name allowed is 30 characters.lastName- Provides the consumer's last name. The maximum length of the last name allowed is 30 characters.language- 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_USphoneNumberCountryCode- 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: 65email- The consumer’s email address in RFC 5322 format. For example: myemail@mail.com.phoneNumber- The phone number which is without a country code. It contains the national destination code or number planning area + subscriber number. For example: 99998888
-
-
Method Details
-
getMiddleName
Deprecated. -
getFirstName
Deprecated.Provides the consumer's first name. -
getLastName
Deprecated.Provides the consumer's last name. -
getLanguage
Deprecated.The preferred language to be used by the consumer. -
getPhoneNumberCountryCode
Deprecated.The country code of the phone number according to International calling code format UIT-T E.164. -
getPhoneNumber
Deprecated.The phone number which is without a country code. -
getEmail
Deprecated.The consumer’s email address in RFC 5322 format. For example: myemail@mail.com.
-
ConsumerInfo.