public class RecurringCustomer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RecurringCustomer.LocaleEnum
Preferred locale for the payment page ([ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code).
|
| Constructor and Description |
|---|
RecurringCustomer() |
| Modifier and Type | Method and Description |
|---|---|
RecurringCustomer |
email(String email) |
RecurringCustomer |
homePhone(String homePhone) |
RecurringCustomer |
id(String id) |
RecurringCustomer |
ip(String ip) |
RecurringCustomer |
locale(RecurringCustomer.LocaleEnum locale) |
RecurringCustomer |
phone(String phone) |
void |
setEmail(String email) |
void |
setHomePhone(String homePhone) |
void |
setId(String id) |
void |
setIp(String ip) |
void |
setLocale(RecurringCustomer.LocaleEnum locale) |
void |
setPhone(String phone) |
void |
setWorkPhone(String workPhone) |
String |
toString() |
RecurringCustomer |
workPhone(String workPhone) |
public void setEmail(String email)
public RecurringCustomer email(String email)
email - Customer's e-mail address. Mandatory by default, can be defined as optional by CardPay manager.public void setHomePhone(String homePhone)
public RecurringCustomer 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 RecurringCustomer id(String id)
id - Customer's ID in Merchant's systempublic void setIp(String ip)
public RecurringCustomer ip(String ip)
ip - Customer IPv4public void setLocale(RecurringCustomer.LocaleEnum locale)
public RecurringCustomer locale(RecurringCustomer.LocaleEnum 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 RecurringCustomer phone(String phone)
phone - Customer phone number. Optional by default, can be defined as mandatory by CardPay manager.public void setWorkPhone(String workPhone)
public RecurringCustomer 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.Copyright © 2020. All rights reserved.