public class CardCustomer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CardCustomer.Builder
Class to build instances of
CardCustomer. |
| Constructor and Description |
|---|
CardCustomer()
Default constructor.
|
CardCustomer(String id,
String emailAddress,
PhoneWithType phone,
String merchantCustomerId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEmailAddress()
Getter for EmailAddress.
|
String |
getId()
Getter for Id.
|
String |
getMerchantCustomerId()
Getter for MerchantCustomerId.
|
PhoneWithType |
getPhone()
Getter for Phone.
|
void |
setEmailAddress(String emailAddress)
Setter for EmailAddress.
|
void |
setId(String id)
Setter for Id.
|
void |
setMerchantCustomerId(String merchantCustomerId)
Setter for MerchantCustomerId.
|
void |
setPhone(PhoneWithType phone)
Setter for Phone.
|
CardCustomer.Builder |
toBuilder()
Builds a new
CardCustomer.Builder object. |
String |
toString()
Converts this CardCustomer into string format.
|
public CardCustomer()
public CardCustomer(String id, String emailAddress, PhoneWithType phone, String merchantCustomerId)
id - String value for id.emailAddress - String value for emailAddress.phone - PhoneWithType value for phone.merchantCustomerId - String value for merchantCustomerId.public String getId()
public void setId(String id)
id - Value for Stringpublic String getEmailAddress()
public void setEmailAddress(String emailAddress)
emailAddress - Value for Stringpublic PhoneWithType getPhone()
public void setPhone(PhoneWithType phone)
phone - Value for PhoneWithTypepublic String getMerchantCustomerId()
public void setMerchantCustomerId(String merchantCustomerId)
merchantCustomerId - Value for Stringpublic String toString()
public CardCustomer.Builder toBuilder()
CardCustomer.Builder object.
Creates the instance with the state of the current model.CardCustomer.Builder objectCopyright © 2026. All rights reserved.