/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.mifosplatform.portfolio.paymentdetail.data;
import org.mifosplatform.portfolio.paymenttype.data.PaymentTypeData;
/**
* Immutable data object representing a payment.
*/
public class PaymentDetailData {
@SuppressWarnings("unused")
private final Long id;
@SuppressWarnings("unused")
private final PaymentTypeData paymentType;
@SuppressWarnings("unused")
private final String accountNumber;
@SuppressWarnings("unused")
private final String checkNumber;
@SuppressWarnings("unused")
private final String routingCode;
@SuppressWarnings("unused")
private final String receiptNumber;
@SuppressWarnings("unused")
private final String bankNumber;
public PaymentDetailData(final Long id, final PaymentTypeData paymentType, final String accountNumber, final String checkNumber,
final String routingCode, final String receiptNumber, final String bankNumber) {
this.id = id;
this.paymentType = paymentType;
this.accountNumber = accountNumber;
this.checkNumber = checkNumber;
this.routingCode = routingCode;
this.receiptNumber = receiptNumber;
this.bankNumber = bankNumber;
}
}