Modifier and Type | Method and Description |
---|---|
Customer.CustomerBuilder |
address(String address)
Customer's address.
|
Customer |
build() |
Customer.CustomerBuilder |
city(String city)
Customer's city.
|
Customer.CustomerBuilder |
companyName(String companyName)
Customer's company name.
|
Customer.CustomerBuilder |
country(String country)
Customer's country.
|
Customer.CustomerBuilder |
email(String email)
Customer's email
|
Customer.CustomerBuilder |
firstName(String firstName)
Customer's first name.
|
Customer.CustomerBuilder |
lastName(String lastName)
Customer's last name.
|
Customer.CustomerBuilder |
metadata(com.google.gson.JsonElement metadata)
JSON metadata of the customer.
|
Customer.CustomerBuilder |
phone(String phone)
Customer's phone number.
|
Customer.CustomerBuilder |
postcode(String postcode)
Customer's zipcode or postcode.
|
Customer.CustomerBuilder |
reference(String reference)
Customer's reference.
|
Customer.CustomerBuilder |
state(String state)
Customer's state or province.
|
String |
toString() |
public Customer.CustomerBuilder email(String email)
this
.public Customer.CustomerBuilder firstName(String firstName)
this
.public Customer.CustomerBuilder lastName(String lastName)
this
.public Customer.CustomerBuilder companyName(String companyName)
this
.public Customer.CustomerBuilder phone(String phone)
this
.public Customer.CustomerBuilder reference(String reference)
this
.public Customer.CustomerBuilder metadata(com.google.gson.JsonElement metadata)
this
.public Customer.CustomerBuilder country(String country)
this
.public Customer.CustomerBuilder postcode(String postcode)
this
.public Customer.CustomerBuilder address(String address)
this
.public Customer.CustomerBuilder city(String city)
this
.public Customer.CustomerBuilder state(String state)
this
.public Customer build()
Copyright © 2025 Cense Data Inc.. All rights reserved.