public class AuthenticationCustomer extends Object
| Constructor and Description |
|---|
AuthenticationCustomer() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationCustomer |
email(String email) |
AuthenticationCustomer |
homePhone(String homePhone) |
AuthenticationCustomer |
id(String id) |
AuthenticationCustomer |
ip(String ip) |
AuthenticationCustomer |
ipCountry(String ipCountry) |
AuthenticationCustomer |
locale(String locale) |
AuthenticationCustomer |
phone(String phone) |
void |
setEmail(String email) |
void |
setHomePhone(String homePhone) |
void |
setId(String id) |
void |
setIp(String ip) |
void |
setIpCountry(String ipCountry) |
void |
setLocale(String locale) |
void |
setPhone(String phone) |
void |
setUserAgent(String userAgent) |
void |
setWorkPhone(String workPhone) |
String |
toString() |
AuthenticationCustomer |
userAgent(String userAgent) |
AuthenticationCustomer |
workPhone(String workPhone) |
public void setEmail(String email)
public AuthenticationCustomer email(String email)
email - Email address of the customerpublic void setHomePhone(String homePhone)
public AuthenticationCustomer homePhone(String homePhone)
homePhone - The home phone number provided by the Cardholder. Required (if available), unless market or regional mandate restricts sending this information. Characters Format: string (10-18 symbols) country code + Subscriber number. Refer to ITU-E.164 for additional information on format and length.public void setId(String id)
public AuthenticationCustomer id(String id)
id - Customer's ID in the merchant's systempublic void setIp(String ip)
public AuthenticationCustomer ip(String ip)
ip - IP address of customerpublic void setIpCountry(String ipCountry)
public AuthenticationCustomer ipCountry(String ipCountry)
ipCountry - Customer country by IPpublic void setLocale(String locale)
public AuthenticationCustomer locale(String locale)
locale - Preferred locale for the payment page ([ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code). The default locale will be applied if the selected locale is not supported. Supported locales are: `ru`, `en`, `zh`, `ja`public void setPhone(String phone)
public AuthenticationCustomer phone(String phone)
phone - Customer's phone number. Mandatory for DIRECTBANKINGNGA payment method. For other payment methods: optional by default, can be defined as mandatory by CardPay manager.public void setUserAgent(String userAgent)
public AuthenticationCustomer userAgent(String userAgent)
userAgent - User agentpublic void setWorkPhone(String workPhone)
public AuthenticationCustomer workPhone(String workPhone)
workPhone - The work phone number provided by the Cardholder. Required (if available) unless market or regional mandate restricts sending this information. Characters Format: string (10-18 symbols) country code + Subscriber number. Refer to ITU-E.164 for additional information on format and length.Copyright © 2022. All rights reserved.