Class GovernmentAccountHolder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.AbstractAccountHolder
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.governmentaccountholder.GovernmentAccountHolder
-
public final class GovernmentAccountHolder extends AbstractAccountHolder
government account_holder Class The unreferenced refund destination account holder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGovernmentAccountHolder.GovernmentAccountHolderBuilder
-
Field Summary
-
Fields inherited from class com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.AbstractAccountHolder
type
-
-
Constructor Summary
Constructors Constructor Description GovernmentAccountHolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GovernmentAccountHolder.GovernmentAccountHolderBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)BillingAddressgetBillingAddress()The account holder's billing address.java.lang.StringgetCompanyName()The account holder's company name.java.lang.StringgetEmail()The account holder's email address.IdentificationgetIdentification()The account holder's identification.PhonegetPhone()The account holder's phone number.inthashCode()voidsetBillingAddress(BillingAddress billingAddress)The account holder's billing address.voidsetCompanyName(java.lang.String companyName)The account holder's company name.voidsetEmail(java.lang.String email)The account holder's email address.voidsetIdentification(Identification identification)The account holder's identification.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 GovernmentAccountHolder.GovernmentAccountHolderBuilder builder()
-
getCompanyName
public java.lang.String getCompanyName()
The account holder's company name. This must be a valid legal name. The following formats for the company_name value will return a field validation error: a single character all numeric characters all punctuation characters [Required] <= 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
-
setCompanyName
public void setCompanyName(java.lang.String companyName)
The account holder's company name. This must be a valid legal name. The following formats for the company_name value will return a field validation error: a single character all numeric characters all punctuation characters [Required] <= 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
-
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
-
-