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