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() |
public void setBrowserInfo(BrowserInfo browserInfo)
public RecurringCustomer browserInfo(BrowserInfo browserInfo)
browserInfo - Browser infopublic void setDevice(Device device)
public RecurringCustomer device(Device device)
device - Customer's device informationpublic 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 setIdentity(String identity)
public RecurringCustomer identity(String identity)
identity - Customer's identity in Merchant's system required for Brazil Installmentspublic void setIp(String ip)
public RecurringCustomer ip(String ip)
ip - Customer IPv4public void setIpCountry(String ipCountry)
public RecurringCustomer ipCountry(String ipCountry)
ipCountry - Customer country by IPpublic 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 setUserAgent(String userAgent)
public RecurringCustomer userAgent(String userAgent)
userAgent - User agentpublic 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 © 2024. All rights reserved.