@Override
	public boolean equals(final Object other) {

		if (this == other) {
			return true;
		}

		if (!(other instanceof Transaction)) {
			return false;
		}

		Transaction trans = (Transaction) other;

		return this.state == trans.state && this.amount == trans.amount
				&& this.clientEmail.equals(trans.clientEmail)
				&& this.barcode.equals(trans.barcode)
				&& this.partner.equals(trans.partner)
				&& this.transactionTimestamp == trans.transactionTimestamp;
	}