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

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

The newest version!
// Generated by delombok at Thu Nov 16 13:48:04 CST 2017
package com.paypal.api.payments;

import com.paypal.base.rest.PayPalModel;
import java.util.ArrayList;
import java.util.List;

public class AgreementTransactions extends PayPalModel {
	/**
	 * Array of agreement_transaction object.
	 */
	private List agreementTransactionList;

	/**
	 * Default Constructor
	 */
	public AgreementTransactions() {
		agreementTransactionList = new ArrayList();
	}

	/**
	 * Array of agreement_transaction object.
	 */
	@java.lang.SuppressWarnings("all")
	public List getAgreementTransactionList() {
		return this.agreementTransactionList;
	}

	/**
	 * Array of agreement_transaction object.
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public AgreementTransactions setAgreementTransactionList(final List agreementTransactionList) {
		this.agreementTransactionList = agreementTransactionList;
		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 AgreementTransactions)) return false;
		final AgreementTransactions other = (AgreementTransactions) o;
		if (!other.canEqual((java.lang.Object) this)) return false;
		if (!super.equals(o)) return false;
		final java.lang.Object this$agreementTransactionList = this.getAgreementTransactionList();
		final java.lang.Object other$agreementTransactionList = other.getAgreementTransactionList();
		if (this$agreementTransactionList == null ? other$agreementTransactionList != null : !this$agreementTransactionList.equals(other$agreementTransactionList)) return false;
		return true;
	}

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy