Class IndividualAccountHolder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.AbstractAccountHolder
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.individualaccountholder.IndividualAccountHolder
-
public final class IndividualAccountHolder extends AbstractAccountHolder
individual account_holder Class The unreferenced refund destination account holder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndividualAccountHolder.IndividualAccountHolderBuilder
-
Field Summary
-
Fields inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.AbstractAccountHolder
type
-
-
Constructor Summary
Constructors Constructor Description IndividualAccountHolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndividualAccountHolder.IndividualAccountHolderBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)BillingAddressgetBillingAddress()The account holder's billing address.java.lang.StringgetCountryOfBirth()The account holder's country of birth, as a two-letter ISO country code.java.lang.StringgetDateOfBirth()The account holder's date of birth, in the format YYYY-MM-DD.java.lang.StringgetEmail()The account holder's email address.java.lang.StringgetFirstName()The account holder's first name.IdentificationgetIdentification()The account holder's identification.java.lang.StringgetLastName()The account holder's last name.java.lang.StringgetMiddleName()The account holder's middle name.PhonegetPhone()The account holder's phone number.inthashCode()voidsetBillingAddress(BillingAddress billingAddress)The account holder's billing address.voidsetCountryOfBirth(java.lang.String countryOfBirth)The account holder's country of birth, as a two-letter ISO country code.voidsetDateOfBirth(java.lang.String dateOfBirth)The account holder's date of birth, in the format YYYY-MM-DD.voidsetEmail(java.lang.String email)The account holder's email address.voidsetFirstName(java.lang.String firstName)The account holder's first name.voidsetIdentification(Identification identification)The account holder's identification.voidsetLastName(java.lang.String lastName)The account holder's last name.voidsetMiddleName(java.lang.String middleName)The account holder's middle name.voidsetPhone(Phone phone)The account holder's phone number.java.lang.StringtoString()-
Methods inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.AbstractAccountHolder
getType
-
-
-
-
Method Detail
-
builder
public static IndividualAccountHolder.IndividualAccountHolderBuilder builder()
-
getFirstName
public java.lang.String getFirstName()
The account holder's first name. This must be a valid legal name. The following formats for the first_name value will return a field validation error: a single character all numeric characters all punctuation characters [Required] <= 50
-
getLastName
public java.lang.String getLastName()
The account holder's last name. This must be a valid legal name. The following formats for the last_name value will return a field validation error: a single character all numeric characters all punctuation characters [Required] <= 50
-
getMiddleName
public java.lang.String getMiddleName()
The account holder's middle name. [Optional] <= 50
-
getBillingAddress
public BillingAddress getBillingAddress()
The account holder's billing address. If your company is incorporated in the United States, this field is required for all unreferenced refunds you perform. [Optional]
-
getPhone
public Phone getPhone()
The account holder's phone number. [Optional]
-
getIdentification
public Identification getIdentification()
The account holder's identification. Providing identification details for the unreferenced refund recipient increases the likelihood of a successful unreferenced refund. [Optional]
-
getEmail
public java.lang.String getEmail()
The account holder's email address. [Optional] <= 255
-
getDateOfBirth
public java.lang.String getDateOfBirth()
The account holder's date of birth, in the format YYYY-MM-DD. [Optional] 10 characters
-
getCountryOfBirth
public java.lang.String getCountryOfBirth()
The account holder's country of birth, as a two-letter ISO country code. [Optional] 2 characters
-
setFirstName
public void setFirstName(java.lang.String firstName)
The account holder's first name. This must be a valid legal name. The following formats for the first_name value will return a field validation error: a single character all numeric characters all punctuation characters [Required] <= 50
-
setLastName
public void setLastName(java.lang.String lastName)
The account holder's last name. This must be a valid legal name. The following formats for the last_name value will return a field validation error: a single character all numeric characters all punctuation characters [Required] <= 50
-
setMiddleName
public void setMiddleName(java.lang.String middleName)
The account holder's middle name. [Optional] <= 50
-
setBillingAddress
public void setBillingAddress(BillingAddress billingAddress)
The account holder's billing address. If your company is incorporated in the United States, this field is required for all unreferenced refunds you perform. [Optional]
-
setPhone
public void setPhone(Phone phone)
The account holder's phone number. [Optional]
-
setIdentification
public void setIdentification(Identification identification)
The account holder's identification. Providing identification details for the unreferenced refund recipient increases the likelihood of a successful unreferenced refund. [Optional]
-
setEmail
public void setEmail(java.lang.String email)
The account holder's email address. [Optional] <= 255
-
setDateOfBirth
public void setDateOfBirth(java.lang.String dateOfBirth)
The account holder's date of birth, in the format YYYY-MM-DD. [Optional] 10 characters
-
setCountryOfBirth
public void setCountryOfBirth(java.lang.String countryOfBirth)
The account holder's country of birth, as a two-letter ISO country code. [Optional] 2 characters
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractAccountHolder
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractAccountHolder
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractAccountHolder
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractAccountHolder
-
-