All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.api.payments.ExtendedBankAccount Maven / Gradle / Ivy

There is a newer version: 1.14.0
Show newest version
// Generated by delombok at Tue Jan 31 13:36:37 CST 2017
package com.paypal.api.payments;

public class ExtendedBankAccount extends BankAccount {
	/**
	 * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
	 */
	private String mandateReferenceNumber;

	/**
	 * Default Constructor
	 */
	public ExtendedBankAccount() {
	}

	/**
	 * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
	 */
	@java.lang.SuppressWarnings("all")
	public String getMandateReferenceNumber() {
		return this.mandateReferenceNumber;
	}

	/**
	 * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public ExtendedBankAccount setMandateReferenceNumber(final String mandateReferenceNumber) {
		this.mandateReferenceNumber = mandateReferenceNumber;
		return this;
	}

	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public boolean equals(final java.lang.Object o) {
		if (o == this) return true;
		if (!(o instanceof ExtendedBankAccount)) return false;
		final ExtendedBankAccount other = (ExtendedBankAccount) o;
		if (!other.canEqual((java.lang.Object) this)) return false;
		if (!super.equals(o)) return false;
		final java.lang.Object this$mandateReferenceNumber = this.getMandateReferenceNumber();
		final java.lang.Object other$mandateReferenceNumber = other.getMandateReferenceNumber();
		if (this$mandateReferenceNumber == null ? other$mandateReferenceNumber != null : !this$mandateReferenceNumber.equals(other$mandateReferenceNumber)) return false;
		return true;
	}

	@java.lang.SuppressWarnings("all")
	protected boolean canEqual(final java.lang.Object other) {
		return other instanceof ExtendedBankAccount;
	}

	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public int hashCode() {
		final int PRIME = 59;
		int result = 1;
		result = result * PRIME + super.hashCode();
		final java.lang.Object $mandateReferenceNumber = this.getMandateReferenceNumber();
		result = result * PRIME + ($mandateReferenceNumber == null ? 43 : $mandateReferenceNumber.hashCode());
		return result;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy