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

com.paypal.api.payments.PayerNotification 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;

import com.paypal.base.rest.PayPalModel;

public class PayerNotification extends PayPalModel {
	/**
	 * Email Address associated with the Payer's PayPal Account.
	 */
	private String email;

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

	/**
	 * Email Address associated with the Payer's PayPal Account.
	 */
	@java.lang.SuppressWarnings("all")
	public String getEmail() {
		return this.email;
	}

	/**
	 * Email Address associated with the Payer's PayPal Account.
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public PayerNotification setEmail(final String email) {
		this.email = email;
		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 PayerNotification)) return false;
		final PayerNotification other = (PayerNotification) o;
		if (!other.canEqual((java.lang.Object) this)) return false;
		if (!super.equals(o)) return false;
		final java.lang.Object this$email = this.getEmail();
		final java.lang.Object other$email = other.getEmail();
		if (this$email == null ? other$email != null : !this$email.equals(other$email)) return false;
		return true;
	}

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

	@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 $email = this.getEmail();
		result = result * PRIME + ($email == null ? 43 : $email.hashCode());
		return result;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy