/**
* 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.account.data;
import java.util.Date;
import org.mifosplatform.infrastructure.core.service.SearchParameters;
public class StandingInstructionDTO {
final SearchParameters searchParameters;
final Long clientId;
final String clientName;
final Integer transferType;
final Integer fromAccountType;
final Long fromAccount;
final Date startDateRange;
final Date endDateRange;
public StandingInstructionDTO(final SearchParameters searchParameters, final Integer transferType, final String clientName,
final Long clientId, final Long fromAccount, final Integer fromAccountType, final Date startDateRange, final Date endDateRange) {
this.searchParameters = searchParameters;
this.transferType = transferType;
this.clientName = clientName;
this.clientId = clientId;
this.fromAccount = fromAccount;
this.fromAccountType = fromAccountType;
this.startDateRange = startDateRange;
this.endDateRange = endDateRange;
}
public SearchParameters searchParameters() {
return this.searchParameters;
}
public Long clientId() {
return this.clientId;
}
public String clientName() {
return this.clientName;
}
public Integer transferType() {
return this.transferType;
}
public Long fromAccount() {
return this.fromAccount;
}
public Integer fromAccountType() {
return this.fromAccountType;
}
public Integer getTransferType() {
return this.transferType;
}
public Date startDateRange() {
return this.startDateRange;
}
public Date endDateRange() {
return this.endDateRange;
}
}