public class Payer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Payer.Builder
Class to build instances of
Payer. |
| Constructor and Description |
|---|
Payer()
Default constructor.
|
Payer(String emailAddress,
String payerId,
Name name,
PhoneWithType phone,
String birthDate,
TaxInfo taxInfo,
Address address)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
Getter for Address.
|
String |
getBirthDate()
Getter for BirthDate.
|
String |
getEmailAddress()
Getter for EmailAddress.
|
Name |
getName()
Getter for Name.
|
String |
getPayerId()
Getter for PayerId.
|
PhoneWithType |
getPhone()
Getter for Phone.
|
TaxInfo |
getTaxInfo()
Getter for TaxInfo.
|
void |
setAddress(Address address)
Setter for Address.
|
void |
setBirthDate(String birthDate)
Setter for BirthDate.
|
void |
setEmailAddress(String emailAddress)
Setter for EmailAddress.
|
void |
setName(Name name)
Setter for Name.
|
void |
setPayerId(String payerId)
Setter for PayerId.
|
void |
setPhone(PhoneWithType phone)
Setter for Phone.
|
void |
setTaxInfo(TaxInfo taxInfo)
Setter for TaxInfo.
|
Payer.Builder |
toBuilder()
Builds a new
Payer.Builder object. |
String |
toString()
Converts this Payer into string format.
|
public Payer()
public Payer(String emailAddress, String payerId, Name name, PhoneWithType phone, String birthDate, TaxInfo taxInfo, Address address)
emailAddress - String value for emailAddress.payerId - String value for payerId.name - Name value for name.phone - PhoneWithType value for phone.birthDate - String value for birthDate.taxInfo - TaxInfo value for taxInfo.address - Address value for address.public String getEmailAddress()
public void setEmailAddress(String emailAddress)
emailAddress - Value for Stringpublic String getPayerId()
public void setPayerId(String payerId)
payerId - Value for Stringpublic Name getName()
public void setName(Name name)
name - Value for Namepublic PhoneWithType getPhone()
public void setPhone(PhoneWithType phone)
phone - Value for PhoneWithTypepublic String getBirthDate()
public void setBirthDate(String birthDate)
birthDate - Value for Stringpublic TaxInfo getTaxInfo()
public void setTaxInfo(TaxInfo taxInfo)
taxInfo - Value for TaxInfopublic Address getAddress()
public void setAddress(Address address)
address - Value for Addresspublic String toString()
public Payer.Builder toBuilder()
Payer.Builder object.
Creates the instance with the state of the current model.Payer.Builder objectCopyright © 2025. All rights reserved.