public class MobileCustomerResponse extends Object
| Constructor and Description |
|---|
MobileCustomerResponse() |
| Modifier and Type | Method and Description |
|---|---|
MobileCustomerResponse |
email(String email) |
MobileCustomerResponse |
fullName(String fullName) |
MobileCustomerResponse |
homePhone(String homePhone) |
MobileCustomerResponse |
id(String id) |
MobileCustomerResponse |
ip(String ip) |
MobileCustomerResponse |
locale(String locale) |
MobileCustomerResponse |
phone(String phone) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setHomePhone(String homePhone) |
void |
setId(String id) |
void |
setIp(String ip) |
void |
setLocale(String locale) |
void |
setPhone(String phone) |
void |
setWorkPhone(String workPhone) |
String |
toString() |
MobileCustomerResponse |
workPhone(String workPhone) |
public void setEmail(String email)
public MobileCustomerResponse email(String email)
email - Email address of the customer (mandatory by default for 'Latin America', 'NETELLER', 'DIRECTBANKINGNGA', 'AQRCODE', 'AIRTEL', 'MPESA', 'MTN', 'UGANDAMOBILE', 'VODAFONE', 'TIGO' payment methods only)). Can be defined as optional by CardPay manager.public void setFullName(String fullName)
public MobileCustomerResponse fullName(String fullName)
fullName - Customer's full namepublic void setHomePhone(String homePhone)
public MobileCustomerResponse 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 MobileCustomerResponse id(String id)
id - Customer's ID in the merchant's systempublic void setIp(String ip)
public MobileCustomerResponse ip(String ip)
ip - IP address of customerpublic void setLocale(String locale)
public MobileCustomerResponse 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 MobileCustomerResponse 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 setWorkPhone(String workPhone)
public MobileCustomerResponse 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 © 2020. All rights reserved.