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 |
id(String id) |
RecurringCustomer |
locale(RecurringCustomer.LocaleEnum locale) |
RecurringCustomer |
phone(String phone) |
void |
setEmail(String email) |
void |
setId(String id) |
void |
setLocale(RecurringCustomer.LocaleEnum locale) |
void |
setPhone(String phone) |
String |
toString() |
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 setId(String id)
public RecurringCustomer id(String id)
id - Customer's ID in Merchant's systempublic 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.Copyright © 2019. All rights reserved.