public class PaymentRequestCustomer extends Object
| Constructor and Description |
|---|
PaymentRequestCustomer() |
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 setDocumentType(String documentType)
public PaymentRequestCustomer documentType(String documentType)
documentType - Customer document type *(mandatory for 'PAGOEFECTIVO' methods only)*public void setEmail(String email)
public PaymentRequestCustomer email(String email)
email - Email address of Customer *(mandatory by default for BANKCARD, PAYPAL, 'Latin America', AIRTEL, MPESA, MTN, UGANDAMOBILE, VODAFONE, TIGO, DIRECTBANKINGNGA and AQRCODE payment methods only)*. Can be defined as optional by CardPay manager.public void setFirstName(String firstName)
public PaymentRequestCustomer firstName(String firstName)
firstName - Customer first name *(mandatory for 'PAGOEFECTIVO' payment methods only)*public void setFullName(String fullName)
public PaymentRequestCustomer fullName(String fullName)
fullName - Customer full name *(mandatory for 'Latin America' payment methods only)*public void setHomePhone(String homePhone)
public PaymentRequestCustomer homePhone(String homePhone)
homePhone - 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.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 setIdentity(String identity)
public PaymentRequestCustomer identity(String identity)
identity - Customer identity string valuepublic void setLastName(String lastName)
public PaymentRequestCustomer lastName(String lastName)
lastName - Customer last name *(mandatory for 'PAGOEFECTIVO' payment methods only)*public void setLivingAddress(PaymentRequestLivingAddress livingAddress)
public PaymentRequestCustomer livingAddress(PaymentRequestLivingAddress livingAddress)
livingAddress - Customer address *(mandatory for 'Latin America' methods only)* For 'Latin America' is required for methods where country = COpublic 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 DIRECTBANKINGNGA payment method. For other payment methods: optional by default, can be defined as mandatory by CardPay manager.public void setWorkPhone(String workPhone)
public PaymentRequestCustomer workPhone(String workPhone)
workPhone - 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 setIp(String ip)
public PaymentRequestCustomer ip(String ip)
ip - IP address of CustomerCopyright © 2021. All rights reserved.