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 rest-api-sdk Show documentation
Show all versions of rest-api-sdk Show documentation
PayPal SDK for integrating with the REST APIs
// Generated by delombok at Wed Oct 12 18:15:55 CDT 2016
package com.paypal.api.payments;
import java.util.ArrayList;
import java.util.List;
public class Transaction extends TransactionBase {
/**
* Additional transactions for complex payment scenarios.
*/
private List transactions;
/**
* Default Constructor
*/
public Transaction() {
transactions = new ArrayList();
}
/**
* Additional transactions for complex payment scenarios.
*/
@java.lang.SuppressWarnings("all")
public List getTransactions() {
return this.transactions;
}
/**
* Additional transactions for complex payment scenarios.
* @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 - 2024 Weber Informatics LLC | Privacy Policy