com.paypal.api.payments.Transaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.payment.method.paypal
Show all versions of com.liferay.commerce.payment.method.paypal
Liferay Commerce Payment Method PayPal
The newest version!
// Generated by delombok at Thu Nov 16 13:48:05 CST 2017
package com.paypal.api.payments;
import java.util.List;
public class Transaction extends TransactionBase {
/**
* Financial transactions related to a payment.
*/
private List transactions;
/**
* Default Constructor
*/
public Transaction() {
}
/**
* Financial transactions related to a payment.
*/
@java.lang.SuppressWarnings("all")
public List getTransactions() {
return this.transactions;
}
/**
* Financial transactions related to a payment.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Transaction setTransactions(final List transactions) {
this.transactions = transactions;
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 Transaction)) return false;
final Transaction other = (Transaction) o;
if (!other.canEqual((java.lang.Object) this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$transactions = this.getTransactions();
final java.lang.Object other$transactions = other.getTransactions();
if (this$transactions == null ? other$transactions != null : !this$transactions.equals(other$transactions)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Transaction;
}
@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 $transactions = this.getTransactions();
result = result * PRIME + ($transactions == null ? 43 : $transactions.hashCode());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy