public class PaymentRequestCustomer extends Object
| Constructor and Description |
|---|
PaymentRequestCustomer() |
| Modifier and Type | Method and Description |
|---|---|
PaymentRequestCustomer |
birthDate(String birthDate) |
PaymentRequestCustomer |
email(String email) |
PaymentRequestCustomer |
fullName(String fullName) |
PaymentRequestCustomer |
id(String id) |
PaymentRequestCustomer |
locale(String locale) |
PaymentRequestCustomer |
phone(String phone) |
void |
setBirthDate(String birthDate) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setId(String id) |
void |
setLocale(String locale) |
void |
setPhone(String phone) |
String |
toString() |
public void setBirthDate(String birthDate)
public PaymentRequestCustomer birthDate(String birthDate)
birthDate - Customer birth date in format `YYYY-MM-DD`. For Zenith bank in DIRECTBANKINGNGA: Customer password in format date of birth. *(mandatory for DIRECTBANKINGNGA payment method only)*public void setEmail(String email)
public PaymentRequestCustomer email(String email)
email - Email address of Customer *(mandatory by default for BANKCARD, 'Asia', 'Latin America', AIRTEL, MPESA, MTN, UGANDAMOBILE, VODAFONE, TIGO, DIRECTBANKINGNGA and AQRCODE payment methods only)*. Can be defined as optional by CardPay manager.public void setFullName(String fullName)
public PaymentRequestCustomer fullName(String fullName)
fullName - Customer full name *(mandatory for 'Latin America' and 'Asia' payment methods only)*public void setId(String id)
public PaymentRequestCustomer id(String id)
id - Customer ID in Merchant's system *(mandatory for WEBMONEY payment method only)*public void setLocale(String locale)
public PaymentRequestCustomer 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 PaymentRequestCustomer phone(String phone)
phone - Customer phone number. Format: `+` sign and 10 or 11 digits, example: `+12345678901` Mandatory for 'Asia' and DIRECTBANKINGNGA payment methods. For other payment methods: optional by default, can be defined as mandatory by CardPay manager.Copyright © 2019. All rights reserved.