com.stripe.model.LegalEntity Maven / Gradle / Ivy
// Generated by delombok at Wed Nov 28 11:15:52 EST 2018
package com.stripe.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class LegalEntity extends StripeObject {
List additionalOwners;
Address address;
JapanAddress addressKana;
JapanAddress addressKanji;
String businessName;
String businessNameKana;
String businessNameKanji;
Boolean businessTaxIdProvided;
Boolean businessVatIdProvided;
DateOfBirth dob;
String firstName;
String firstNameKana;
String firstNameKanji;
String gender;
String lastName;
String lastNameKana;
String lastNameKanji;
String maidenName;
Address personalAddress;
JapanAddress personalAddressKana;
JapanAddress personalAddressKanji;
Boolean personalIdNumberProvided;
String phoneNumber;
@SerializedName("ssn_last_4_provided")
Boolean ssnLast4Provided;
String taxIdRegistrar;
String type;
Verification verification;
// TODO: Move this to a top level class instead of duplicating
// with the Person resource
public static class DateOfBirth extends StripeObject {
Long day;
Long month;
Long year;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Long getDay() {
return this.day;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Long getMonth() {
return this.month;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Long getYear() {
return this.year;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDay(final Long day) {
this.day = day;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setMonth(final Long month) {
this.month = month;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setYear(final Long year) {
this.year = year;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof LegalEntity.DateOfBirth)) return false;
final LegalEntity.DateOfBirth other = (LegalEntity.DateOfBirth) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$day = this.getDay();
final java.lang.Object other$day = other.getDay();
if (this$day == null ? other$day != null : !this$day.equals(other$day)) return false;
final java.lang.Object this$month = this.getMonth();
final java.lang.Object other$month = other.getMonth();
if (this$month == null ? other$month != null : !this$month.equals(other$month)) return false;
final java.lang.Object this$year = this.getYear();
final java.lang.Object other$year = other.getYear();
if (this$year == null ? other$year != null : !this$year.equals(other$year)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof LegalEntity.DateOfBirth;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $day = this.getDay();
result = result * PRIME + ($day == null ? 43 : $day.hashCode());
final java.lang.Object $month = this.getMonth();
result = result * PRIME + ($month == null ? 43 : $month.hashCode());
final java.lang.Object $year = this.getYear();
result = result * PRIME + ($year == null ? 43 : $year.hashCode());
return result;
}
}
// TODO: Move this to a top level class instead of duplicating
// with the Person resource
public static class JapanAddress extends StripeObject {
String city;
String country;
String line1;
String line2;
String postalCode;
String state;
String town;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getCity() {
return this.city;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getCountry() {
return this.country;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getLine1() {
return this.line1;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getLine2() {
return this.line2;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getPostalCode() {
return this.postalCode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getState() {
return this.state;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getTown() {
return this.town;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setCity(final String city) {
this.city = city;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setCountry(final String country) {
this.country = country;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLine1(final String line1) {
this.line1 = line1;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLine2(final String line2) {
this.line2 = line2;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPostalCode(final String postalCode) {
this.postalCode = postalCode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setState(final String state) {
this.state = state;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setTown(final String town) {
this.town = town;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof LegalEntity.JapanAddress)) return false;
final LegalEntity.JapanAddress other = (LegalEntity.JapanAddress) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$city = this.getCity();
final java.lang.Object other$city = other.getCity();
if (this$city == null ? other$city != null : !this$city.equals(other$city)) return false;
final java.lang.Object this$country = this.getCountry();
final java.lang.Object other$country = other.getCountry();
if (this$country == null ? other$country != null : !this$country.equals(other$country)) return false;
final java.lang.Object this$line1 = this.getLine1();
final java.lang.Object other$line1 = other.getLine1();
if (this$line1 == null ? other$line1 != null : !this$line1.equals(other$line1)) return false;
final java.lang.Object this$line2 = this.getLine2();
final java.lang.Object other$line2 = other.getLine2();
if (this$line2 == null ? other$line2 != null : !this$line2.equals(other$line2)) return false;
final java.lang.Object this$postalCode = this.getPostalCode();
final java.lang.Object other$postalCode = other.getPostalCode();
if (this$postalCode == null ? other$postalCode != null : !this$postalCode.equals(other$postalCode)) return false;
final java.lang.Object this$state = this.getState();
final java.lang.Object other$state = other.getState();
if (this$state == null ? other$state != null : !this$state.equals(other$state)) return false;
final java.lang.Object this$town = this.getTown();
final java.lang.Object other$town = other.getTown();
if (this$town == null ? other$town != null : !this$town.equals(other$town)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof LegalEntity.JapanAddress;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $city = this.getCity();
result = result * PRIME + ($city == null ? 43 : $city.hashCode());
final java.lang.Object $country = this.getCountry();
result = result * PRIME + ($country == null ? 43 : $country.hashCode());
final java.lang.Object $line1 = this.getLine1();
result = result * PRIME + ($line1 == null ? 43 : $line1.hashCode());
final java.lang.Object $line2 = this.getLine2();
result = result * PRIME + ($line2 == null ? 43 : $line2.hashCode());
final java.lang.Object $postalCode = this.getPostalCode();
result = result * PRIME + ($postalCode == null ? 43 : $postalCode.hashCode());
final java.lang.Object $state = this.getState();
result = result * PRIME + ($state == null ? 43 : $state.hashCode());
final java.lang.Object $town = this.getTown();
result = result * PRIME + ($town == null ? 43 : $town.hashCode());
return result;
}
}
public static class Owner extends StripeObject {
Address address;
DateOfBirth dob;
String firstName;
String lastName;
String maidenName;
Boolean personalIdNumberProvided;
Verification verification;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Address getAddress() {
return this.address;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public DateOfBirth getDob() {
return this.dob;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getFirstName() {
return this.firstName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getLastName() {
return this.lastName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getMaidenName() {
return this.maidenName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getPersonalIdNumberProvided() {
return this.personalIdNumberProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Verification getVerification() {
return this.verification;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setAddress(final Address address) {
this.address = address;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDob(final DateOfBirth dob) {
this.dob = dob;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setFirstName(final String firstName) {
this.firstName = firstName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLastName(final String lastName) {
this.lastName = lastName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setMaidenName(final String maidenName) {
this.maidenName = maidenName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPersonalIdNumberProvided(final Boolean personalIdNumberProvided) {
this.personalIdNumberProvided = personalIdNumberProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setVerification(final Verification verification) {
this.verification = verification;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof LegalEntity.Owner)) return false;
final LegalEntity.Owner other = (LegalEntity.Owner) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$address = this.getAddress();
final java.lang.Object other$address = other.getAddress();
if (this$address == null ? other$address != null : !this$address.equals(other$address)) return false;
final java.lang.Object this$dob = this.getDob();
final java.lang.Object other$dob = other.getDob();
if (this$dob == null ? other$dob != null : !this$dob.equals(other$dob)) return false;
final java.lang.Object this$firstName = this.getFirstName();
final java.lang.Object other$firstName = other.getFirstName();
if (this$firstName == null ? other$firstName != null : !this$firstName.equals(other$firstName)) return false;
final java.lang.Object this$lastName = this.getLastName();
final java.lang.Object other$lastName = other.getLastName();
if (this$lastName == null ? other$lastName != null : !this$lastName.equals(other$lastName)) return false;
final java.lang.Object this$maidenName = this.getMaidenName();
final java.lang.Object other$maidenName = other.getMaidenName();
if (this$maidenName == null ? other$maidenName != null : !this$maidenName.equals(other$maidenName)) return false;
final java.lang.Object this$personalIdNumberProvided = this.getPersonalIdNumberProvided();
final java.lang.Object other$personalIdNumberProvided = other.getPersonalIdNumberProvided();
if (this$personalIdNumberProvided == null ? other$personalIdNumberProvided != null : !this$personalIdNumberProvided.equals(other$personalIdNumberProvided)) return false;
final java.lang.Object this$verification = this.getVerification();
final java.lang.Object other$verification = other.getVerification();
if (this$verification == null ? other$verification != null : !this$verification.equals(other$verification)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof LegalEntity.Owner;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $address = this.getAddress();
result = result * PRIME + ($address == null ? 43 : $address.hashCode());
final java.lang.Object $dob = this.getDob();
result = result * PRIME + ($dob == null ? 43 : $dob.hashCode());
final java.lang.Object $firstName = this.getFirstName();
result = result * PRIME + ($firstName == null ? 43 : $firstName.hashCode());
final java.lang.Object $lastName = this.getLastName();
result = result * PRIME + ($lastName == null ? 43 : $lastName.hashCode());
final java.lang.Object $maidenName = this.getMaidenName();
result = result * PRIME + ($maidenName == null ? 43 : $maidenName.hashCode());
final java.lang.Object $personalIdNumberProvided = this.getPersonalIdNumberProvided();
result = result * PRIME + ($personalIdNumberProvided == null ? 43 : $personalIdNumberProvided.hashCode());
final java.lang.Object $verification = this.getVerification();
result = result * PRIME + ($verification == null ? 43 : $verification.hashCode());
return result;
}
}
// TODO: Move this to a top level class instead of duplicating
// with the Person resource
public static class Verification extends StripeObject {
String details;
String detailsCode;
String document;
String documentBack;
String status;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getDetails() {
return this.details;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getDetailsCode() {
return this.detailsCode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getDocument() {
return this.document;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getDocumentBack() {
return this.documentBack;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getStatus() {
return this.status;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDetails(final String details) {
this.details = details;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDetailsCode(final String detailsCode) {
this.detailsCode = detailsCode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDocument(final String document) {
this.document = document;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDocumentBack(final String documentBack) {
this.documentBack = documentBack;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setStatus(final String status) {
this.status = status;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof LegalEntity.Verification)) return false;
final LegalEntity.Verification other = (LegalEntity.Verification) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$details = this.getDetails();
final java.lang.Object other$details = other.getDetails();
if (this$details == null ? other$details != null : !this$details.equals(other$details)) return false;
final java.lang.Object this$detailsCode = this.getDetailsCode();
final java.lang.Object other$detailsCode = other.getDetailsCode();
if (this$detailsCode == null ? other$detailsCode != null : !this$detailsCode.equals(other$detailsCode)) return false;
final java.lang.Object this$document = this.getDocument();
final java.lang.Object other$document = other.getDocument();
if (this$document == null ? other$document != null : !this$document.equals(other$document)) return false;
final java.lang.Object this$documentBack = this.getDocumentBack();
final java.lang.Object other$documentBack = other.getDocumentBack();
if (this$documentBack == null ? other$documentBack != null : !this$documentBack.equals(other$documentBack)) return false;
final java.lang.Object this$status = this.getStatus();
final java.lang.Object other$status = other.getStatus();
if (this$status == null ? other$status != null : !this$status.equals(other$status)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof LegalEntity.Verification;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $details = this.getDetails();
result = result * PRIME + ($details == null ? 43 : $details.hashCode());
final java.lang.Object $detailsCode = this.getDetailsCode();
result = result * PRIME + ($detailsCode == null ? 43 : $detailsCode.hashCode());
final java.lang.Object $document = this.getDocument();
result = result * PRIME + ($document == null ? 43 : $document.hashCode());
final java.lang.Object $documentBack = this.getDocumentBack();
result = result * PRIME + ($documentBack == null ? 43 : $documentBack.hashCode());
final java.lang.Object $status = this.getStatus();
result = result * PRIME + ($status == null ? 43 : $status.hashCode());
return result;
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public List getAdditionalOwners() {
return this.additionalOwners;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Address getAddress() {
return this.address;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public JapanAddress getAddressKana() {
return this.addressKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public JapanAddress getAddressKanji() {
return this.addressKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getBusinessName() {
return this.businessName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getBusinessNameKana() {
return this.businessNameKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getBusinessNameKanji() {
return this.businessNameKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getBusinessTaxIdProvided() {
return this.businessTaxIdProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getBusinessVatIdProvided() {
return this.businessVatIdProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public DateOfBirth getDob() {
return this.dob;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getFirstName() {
return this.firstName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getFirstNameKana() {
return this.firstNameKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getFirstNameKanji() {
return this.firstNameKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getGender() {
return this.gender;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getLastName() {
return this.lastName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getLastNameKana() {
return this.lastNameKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getLastNameKanji() {
return this.lastNameKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getMaidenName() {
return this.maidenName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Address getPersonalAddress() {
return this.personalAddress;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public JapanAddress getPersonalAddressKana() {
return this.personalAddressKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public JapanAddress getPersonalAddressKanji() {
return this.personalAddressKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getPersonalIdNumberProvided() {
return this.personalIdNumberProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getPhoneNumber() {
return this.phoneNumber;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getSsnLast4Provided() {
return this.ssnLast4Provided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getTaxIdRegistrar() {
return this.taxIdRegistrar;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getType() {
return this.type;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Verification getVerification() {
return this.verification;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setAdditionalOwners(final List additionalOwners) {
this.additionalOwners = additionalOwners;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setAddress(final Address address) {
this.address = address;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setAddressKana(final JapanAddress addressKana) {
this.addressKana = addressKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setAddressKanji(final JapanAddress addressKanji) {
this.addressKanji = addressKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setBusinessName(final String businessName) {
this.businessName = businessName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setBusinessNameKana(final String businessNameKana) {
this.businessNameKana = businessNameKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setBusinessNameKanji(final String businessNameKanji) {
this.businessNameKanji = businessNameKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setBusinessTaxIdProvided(final Boolean businessTaxIdProvided) {
this.businessTaxIdProvided = businessTaxIdProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setBusinessVatIdProvided(final Boolean businessVatIdProvided) {
this.businessVatIdProvided = businessVatIdProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setDob(final DateOfBirth dob) {
this.dob = dob;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setFirstName(final String firstName) {
this.firstName = firstName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setFirstNameKana(final String firstNameKana) {
this.firstNameKana = firstNameKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setFirstNameKanji(final String firstNameKanji) {
this.firstNameKanji = firstNameKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setGender(final String gender) {
this.gender = gender;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLastName(final String lastName) {
this.lastName = lastName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLastNameKana(final String lastNameKana) {
this.lastNameKana = lastNameKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLastNameKanji(final String lastNameKanji) {
this.lastNameKanji = lastNameKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setMaidenName(final String maidenName) {
this.maidenName = maidenName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPersonalAddress(final Address personalAddress) {
this.personalAddress = personalAddress;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPersonalAddressKana(final JapanAddress personalAddressKana) {
this.personalAddressKana = personalAddressKana;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPersonalAddressKanji(final JapanAddress personalAddressKanji) {
this.personalAddressKanji = personalAddressKanji;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPersonalIdNumberProvided(final Boolean personalIdNumberProvided) {
this.personalIdNumberProvided = personalIdNumberProvided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPhoneNumber(final String phoneNumber) {
this.phoneNumber = phoneNumber;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setSsnLast4Provided(final Boolean ssnLast4Provided) {
this.ssnLast4Provided = ssnLast4Provided;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setTaxIdRegistrar(final String taxIdRegistrar) {
this.taxIdRegistrar = taxIdRegistrar;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setType(final String type) {
this.type = type;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setVerification(final Verification verification) {
this.verification = verification;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof LegalEntity)) return false;
final LegalEntity other = (LegalEntity) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$additionalOwners = this.getAdditionalOwners();
final java.lang.Object other$additionalOwners = other.getAdditionalOwners();
if (this$additionalOwners == null ? other$additionalOwners != null : !this$additionalOwners.equals(other$additionalOwners)) return false;
final java.lang.Object this$address = this.getAddress();
final java.lang.Object other$address = other.getAddress();
if (this$address == null ? other$address != null : !this$address.equals(other$address)) return false;
final java.lang.Object this$addressKana = this.getAddressKana();
final java.lang.Object other$addressKana = other.getAddressKana();
if (this$addressKana == null ? other$addressKana != null : !this$addressKana.equals(other$addressKana)) return false;
final java.lang.Object this$addressKanji = this.getAddressKanji();
final java.lang.Object other$addressKanji = other.getAddressKanji();
if (this$addressKanji == null ? other$addressKanji != null : !this$addressKanji.equals(other$addressKanji)) return false;
final java.lang.Object this$businessName = this.getBusinessName();
final java.lang.Object other$businessName = other.getBusinessName();
if (this$businessName == null ? other$businessName != null : !this$businessName.equals(other$businessName)) return false;
final java.lang.Object this$businessNameKana = this.getBusinessNameKana();
final java.lang.Object other$businessNameKana = other.getBusinessNameKana();
if (this$businessNameKana == null ? other$businessNameKana != null : !this$businessNameKana.equals(other$businessNameKana)) return false;
final java.lang.Object this$businessNameKanji = this.getBusinessNameKanji();
final java.lang.Object other$businessNameKanji = other.getBusinessNameKanji();
if (this$businessNameKanji == null ? other$businessNameKanji != null : !this$businessNameKanji.equals(other$businessNameKanji)) return false;
final java.lang.Object this$businessTaxIdProvided = this.getBusinessTaxIdProvided();
final java.lang.Object other$businessTaxIdProvided = other.getBusinessTaxIdProvided();
if (this$businessTaxIdProvided == null ? other$businessTaxIdProvided != null : !this$businessTaxIdProvided.equals(other$businessTaxIdProvided)) return false;
final java.lang.Object this$businessVatIdProvided = this.getBusinessVatIdProvided();
final java.lang.Object other$businessVatIdProvided = other.getBusinessVatIdProvided();
if (this$businessVatIdProvided == null ? other$businessVatIdProvided != null : !this$businessVatIdProvided.equals(other$businessVatIdProvided)) return false;
final java.lang.Object this$dob = this.getDob();
final java.lang.Object other$dob = other.getDob();
if (this$dob == null ? other$dob != null : !this$dob.equals(other$dob)) return false;
final java.lang.Object this$firstName = this.getFirstName();
final java.lang.Object other$firstName = other.getFirstName();
if (this$firstName == null ? other$firstName != null : !this$firstName.equals(other$firstName)) return false;
final java.lang.Object this$firstNameKana = this.getFirstNameKana();
final java.lang.Object other$firstNameKana = other.getFirstNameKana();
if (this$firstNameKana == null ? other$firstNameKana != null : !this$firstNameKana.equals(other$firstNameKana)) return false;
final java.lang.Object this$firstNameKanji = this.getFirstNameKanji();
final java.lang.Object other$firstNameKanji = other.getFirstNameKanji();
if (this$firstNameKanji == null ? other$firstNameKanji != null : !this$firstNameKanji.equals(other$firstNameKanji)) return false;
final java.lang.Object this$gender = this.getGender();
final java.lang.Object other$gender = other.getGender();
if (this$gender == null ? other$gender != null : !this$gender.equals(other$gender)) return false;
final java.lang.Object this$lastName = this.getLastName();
final java.lang.Object other$lastName = other.getLastName();
if (this$lastName == null ? other$lastName != null : !this$lastName.equals(other$lastName)) return false;
final java.lang.Object this$lastNameKana = this.getLastNameKana();
final java.lang.Object other$lastNameKana = other.getLastNameKana();
if (this$lastNameKana == null ? other$lastNameKana != null : !this$lastNameKana.equals(other$lastNameKana)) return false;
final java.lang.Object this$lastNameKanji = this.getLastNameKanji();
final java.lang.Object other$lastNameKanji = other.getLastNameKanji();
if (this$lastNameKanji == null ? other$lastNameKanji != null : !this$lastNameKanji.equals(other$lastNameKanji)) return false;
final java.lang.Object this$maidenName = this.getMaidenName();
final java.lang.Object other$maidenName = other.getMaidenName();
if (this$maidenName == null ? other$maidenName != null : !this$maidenName.equals(other$maidenName)) return false;
final java.lang.Object this$personalAddress = this.getPersonalAddress();
final java.lang.Object other$personalAddress = other.getPersonalAddress();
if (this$personalAddress == null ? other$personalAddress != null : !this$personalAddress.equals(other$personalAddress)) return false;
final java.lang.Object this$personalAddressKana = this.getPersonalAddressKana();
final java.lang.Object other$personalAddressKana = other.getPersonalAddressKana();
if (this$personalAddressKana == null ? other$personalAddressKana != null : !this$personalAddressKana.equals(other$personalAddressKana)) return false;
final java.lang.Object this$personalAddressKanji = this.getPersonalAddressKanji();
final java.lang.Object other$personalAddressKanji = other.getPersonalAddressKanji();
if (this$personalAddressKanji == null ? other$personalAddressKanji != null : !this$personalAddressKanji.equals(other$personalAddressKanji)) return false;
final java.lang.Object this$personalIdNumberProvided = this.getPersonalIdNumberProvided();
final java.lang.Object other$personalIdNumberProvided = other.getPersonalIdNumberProvided();
if (this$personalIdNumberProvided == null ? other$personalIdNumberProvided != null : !this$personalIdNumberProvided.equals(other$personalIdNumberProvided)) return false;
final java.lang.Object this$phoneNumber = this.getPhoneNumber();
final java.lang.Object other$phoneNumber = other.getPhoneNumber();
if (this$phoneNumber == null ? other$phoneNumber != null : !this$phoneNumber.equals(other$phoneNumber)) return false;
final java.lang.Object this$ssnLast4Provided = this.getSsnLast4Provided();
final java.lang.Object other$ssnLast4Provided = other.getSsnLast4Provided();
if (this$ssnLast4Provided == null ? other$ssnLast4Provided != null : !this$ssnLast4Provided.equals(other$ssnLast4Provided)) return false;
final java.lang.Object this$taxIdRegistrar = this.getTaxIdRegistrar();
final java.lang.Object other$taxIdRegistrar = other.getTaxIdRegistrar();
if (this$taxIdRegistrar == null ? other$taxIdRegistrar != null : !this$taxIdRegistrar.equals(other$taxIdRegistrar)) return false;
final java.lang.Object this$type = this.getType();
final java.lang.Object other$type = other.getType();
if (this$type == null ? other$type != null : !this$type.equals(other$type)) return false;
final java.lang.Object this$verification = this.getVerification();
final java.lang.Object other$verification = other.getVerification();
if (this$verification == null ? other$verification != null : !this$verification.equals(other$verification)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof LegalEntity;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $additionalOwners = this.getAdditionalOwners();
result = result * PRIME + ($additionalOwners == null ? 43 : $additionalOwners.hashCode());
final java.lang.Object $address = this.getAddress();
result = result * PRIME + ($address == null ? 43 : $address.hashCode());
final java.lang.Object $addressKana = this.getAddressKana();
result = result * PRIME + ($addressKana == null ? 43 : $addressKana.hashCode());
final java.lang.Object $addressKanji = this.getAddressKanji();
result = result * PRIME + ($addressKanji == null ? 43 : $addressKanji.hashCode());
final java.lang.Object $businessName = this.getBusinessName();
result = result * PRIME + ($businessName == null ? 43 : $businessName.hashCode());
final java.lang.Object $businessNameKana = this.getBusinessNameKana();
result = result * PRIME + ($businessNameKana == null ? 43 : $businessNameKana.hashCode());
final java.lang.Object $businessNameKanji = this.getBusinessNameKanji();
result = result * PRIME + ($businessNameKanji == null ? 43 : $businessNameKanji.hashCode());
final java.lang.Object $businessTaxIdProvided = this.getBusinessTaxIdProvided();
result = result * PRIME + ($businessTaxIdProvided == null ? 43 : $businessTaxIdProvided.hashCode());
final java.lang.Object $businessVatIdProvided = this.getBusinessVatIdProvided();
result = result * PRIME + ($businessVatIdProvided == null ? 43 : $businessVatIdProvided.hashCode());
final java.lang.Object $dob = this.getDob();
result = result * PRIME + ($dob == null ? 43 : $dob.hashCode());
final java.lang.Object $firstName = this.getFirstName();
result = result * PRIME + ($firstName == null ? 43 : $firstName.hashCode());
final java.lang.Object $firstNameKana = this.getFirstNameKana();
result = result * PRIME + ($firstNameKana == null ? 43 : $firstNameKana.hashCode());
final java.lang.Object $firstNameKanji = this.getFirstNameKanji();
result = result * PRIME + ($firstNameKanji == null ? 43 : $firstNameKanji.hashCode());
final java.lang.Object $gender = this.getGender();
result = result * PRIME + ($gender == null ? 43 : $gender.hashCode());
final java.lang.Object $lastName = this.getLastName();
result = result * PRIME + ($lastName == null ? 43 : $lastName.hashCode());
final java.lang.Object $lastNameKana = this.getLastNameKana();
result = result * PRIME + ($lastNameKana == null ? 43 : $lastNameKana.hashCode());
final java.lang.Object $lastNameKanji = this.getLastNameKanji();
result = result * PRIME + ($lastNameKanji == null ? 43 : $lastNameKanji.hashCode());
final java.lang.Object $maidenName = this.getMaidenName();
result = result * PRIME + ($maidenName == null ? 43 : $maidenName.hashCode());
final java.lang.Object $personalAddress = this.getPersonalAddress();
result = result * PRIME + ($personalAddress == null ? 43 : $personalAddress.hashCode());
final java.lang.Object $personalAddressKana = this.getPersonalAddressKana();
result = result * PRIME + ($personalAddressKana == null ? 43 : $personalAddressKana.hashCode());
final java.lang.Object $personalAddressKanji = this.getPersonalAddressKanji();
result = result * PRIME + ($personalAddressKanji == null ? 43 : $personalAddressKanji.hashCode());
final java.lang.Object $personalIdNumberProvided = this.getPersonalIdNumberProvided();
result = result * PRIME + ($personalIdNumberProvided == null ? 43 : $personalIdNumberProvided.hashCode());
final java.lang.Object $phoneNumber = this.getPhoneNumber();
result = result * PRIME + ($phoneNumber == null ? 43 : $phoneNumber.hashCode());
final java.lang.Object $ssnLast4Provided = this.getSsnLast4Provided();
result = result * PRIME + ($ssnLast4Provided == null ? 43 : $ssnLast4Provided.hashCode());
final java.lang.Object $taxIdRegistrar = this.getTaxIdRegistrar();
result = result * PRIME + ($taxIdRegistrar == null ? 43 : $taxIdRegistrar.hashCode());
final java.lang.Object $type = this.getType();
result = result * PRIME + ($type == null ? 43 : $type.hashCode());
final java.lang.Object $verification = this.getVerification();
result = result * PRIME + ($verification == null ? 43 : $verification.hashCode());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy