Package com.checkout.accounts
Class AccountsAccountHolder
- java.lang.Object
-
- com.checkout.accounts.AccountsAccountHolder
-
- Direct Known Subclasses:
AccountsCorporateAccountHolder,AccountsIndividualAccountHolder
public abstract class AccountsAccountHolder extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccountsAccountHolder(AccountHolderType type, java.lang.String taxId, DateOfBirth dateOfBirth, CountryCode countryOfBirth, java.lang.String residentialStatus, Address billingAddress, AccountPhone phone, AccountHolderIdentification identification, java.lang.String email)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AddressgetBillingAddress()CountryCodegetCountryOfBirth()DateOfBirthgetDateOfBirth()java.lang.StringgetEmail()AccountHolderIdentificationgetIdentification()AccountPhonegetPhone()java.lang.StringgetResidentialStatus()java.lang.StringgetTaxId()AccountHolderTypegetType()inthashCode()voidsetBillingAddress(Address billingAddress)voidsetCountryOfBirth(CountryCode countryOfBirth)voidsetDateOfBirth(DateOfBirth dateOfBirth)voidsetEmail(java.lang.String email)voidsetIdentification(AccountHolderIdentification identification)voidsetPhone(AccountPhone phone)voidsetResidentialStatus(java.lang.String residentialStatus)voidsetTaxId(java.lang.String taxId)voidsetType(AccountHolderType type)java.lang.StringtoString()
-
-
-
Constructor Detail
-
AccountsAccountHolder
protected AccountsAccountHolder(AccountHolderType type, java.lang.String taxId, DateOfBirth dateOfBirth, CountryCode countryOfBirth, java.lang.String residentialStatus, Address billingAddress, AccountPhone phone, AccountHolderIdentification identification, java.lang.String email)
-
-
Method Detail
-
getType
public AccountHolderType getType()
-
getTaxId
public java.lang.String getTaxId()
-
getDateOfBirth
public DateOfBirth getDateOfBirth()
-
getCountryOfBirth
public CountryCode getCountryOfBirth()
-
getResidentialStatus
public java.lang.String getResidentialStatus()
-
getBillingAddress
public Address getBillingAddress()
-
getPhone
public AccountPhone getPhone()
-
getIdentification
public AccountHolderIdentification getIdentification()
-
getEmail
public java.lang.String getEmail()
-
setType
public void setType(AccountHolderType type)
-
setTaxId
public void setTaxId(java.lang.String taxId)
-
setDateOfBirth
public void setDateOfBirth(DateOfBirth dateOfBirth)
-
setCountryOfBirth
public void setCountryOfBirth(CountryCode countryOfBirth)
-
setResidentialStatus
public void setResidentialStatus(java.lang.String residentialStatus)
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
-
setPhone
public void setPhone(AccountPhone phone)
-
setIdentification
public void setIdentification(AccountHolderIdentification identification)
-
setEmail
public void setEmail(java.lang.String email)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-