public class PaymentResponseCustomer extends Object
| Constructor and Description |
|---|
PaymentResponseCustomer() |
| Modifier and Type | Method and Description |
|---|---|
PaymentResponseCustomer |
email(String email) |
PaymentResponseCustomer |
fullName(String fullName) |
PaymentResponseCustomer |
id(String id) |
PaymentResponseCustomer |
ip(String ip) |
PaymentResponseCustomer |
locale(String locale) |
PaymentResponseCustomer |
phone(String phone) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setId(String id) |
void |
setIp(String ip) |
void |
setLocale(String locale) |
void |
setPhone(String phone) |
String |
toString() |
public void setEmail(String email)
public PaymentResponseCustomer 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 PaymentResponseCustomer fullName(String fullName)
fullName - Customer's full namepublic void setId(String id)
public PaymentResponseCustomer id(String id)
id - Customer's ID in the merchant's systempublic void setIp(String ip)
public PaymentResponseCustomer ip(String ip)
ip - IP address of Customerpublic void setLocale(String locale)
public PaymentResponseCustomer 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 PaymentResponseCustomer 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.Copyright © 2020. All rights reserved.