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 |
contractNumber(String contractNumber) |
RecurringCustomer |
email(String email) |
RecurringCustomer |
homePhone(String homePhone) |
RecurringCustomer |
id(String id) |
RecurringCustomer |
identity(String identity) |
RecurringCustomer |
ip(String ip) |
RecurringCustomer |
ipCountry(String ipCountry) |
RecurringCustomer |
locale(RecurringCustomer.LocaleEnum locale) |
RecurringCustomer |
phone(String phone) |
void |
setContractNumber(String contractNumber) |
void |
setEmail(String email) |
void |
setHomePhone(String homePhone) |
void |
setId(String id) |
void |
setIdentity(String identity) |
void |
setIp(String ip) |
void |
setIpCountry(String ipCountry) |
void |
setLocale(RecurringCustomer.LocaleEnum locale) |
void |
setPhone(String phone) |
void |
setUserAgent(String userAgent) |
void |
setWorkPhone(String workPhone) |
String |
toString() |
RecurringCustomer |
userAgent(String userAgent) |
RecurringCustomer |
workPhone(String workPhone) |
public void setContractNumber(String contractNumber)
public RecurringCustomer contractNumber(String contractNumber)
contractNumber - Contract number between customer and merchant. Required for Mexican merchants for scheduled payments.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 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 © 2022. All rights reserved.