@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof TaxRegistrationEntry == false)
            return false;
        TaxRegistrationEntry other = (TaxRegistrationEntry) obj;
        if (other.getAdditionalTaxInformation() == null ^ this.getAdditionalTaxInformation() == null)
            return false;
        if (other.getAdditionalTaxInformation() != null && other.getAdditionalTaxInformation().equals(this.getAdditionalTaxInformation()) == false)
            return false;
        if (other.getCertifiedEmailId() == null ^ this.getCertifiedEmailId() == null)
            return false;
        if (other.getCertifiedEmailId() != null && other.getCertifiedEmailId().equals(this.getCertifiedEmailId()) == false)
            return false;
        if (other.getLegalAddress() == null ^ this.getLegalAddress() == null)
            return false;
        if (other.getLegalAddress() != null && other.getLegalAddress().equals(this.getLegalAddress()) == false)
            return false;
        if (other.getLegalName() == null ^ this.getLegalName() == null)
            return false;
        if (other.getLegalName() != null && other.getLegalName().equals(this.getLegalName()) == false)
            return false;
        if (other.getRegistrationId() == null ^ this.getRegistrationId() == null)
            return false;
        if (other.getRegistrationId() != null && other.getRegistrationId().equals(this.getRegistrationId()) == false)
            return false;
        if (other.getRegistrationType() == null ^ this.getRegistrationType() == null)
            return false;
        if (other.getRegistrationType() != null && other.getRegistrationType().equals(this.getRegistrationType()) == false)
            return false;
        if (other.getSector() == null ^ this.getSector() == null)
            return false;
        if (other.getSector() != null && other.getSector().equals(this.getSector()) == false)
            return false;
        if (other.getVerificationDetails() == null ^ this.getVerificationDetails() == null)
            return false;
        if (other.getVerificationDetails() != null && other.getVerificationDetails().equals(this.getVerificationDetails()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-taxsettings/src/main/java/com/amazonaws/services/taxsettings/model/TaxRegistrationEntry.java