001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.financial.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class FinancialAccountTransactionTransfer 022 extends BaseTransfer { 023 024 private String financialAccountTransactionName; 025 private FinancialAccountTransfer financialAccount; 026 private FinancialAccountTransactionTypeTransfer financialAccountTransactionType; 027 private Long unformattedAmount; 028 private String amount; 029 private String comment; 030 031 /** Creates a new instance of FinancialAccountTransactionTransfer */ 032 public FinancialAccountTransactionTransfer(String financialAccountTransactionName, FinancialAccountTransfer financialAccount, 033 FinancialAccountTransactionTypeTransfer financialAccountTransactionType, Long unformattedAmount, String amount, String comment) { 034 this.financialAccountTransactionName = financialAccountTransactionName; 035 this.financialAccount = financialAccount; 036 this.financialAccountTransactionType = financialAccountTransactionType; 037 this.unformattedAmount = unformattedAmount; 038 this.amount = amount; 039 this.comment = comment; 040 } 041 042 public String getFinancialAccountTransactionName() { 043 return financialAccountTransactionName; 044 } 045 046 public void setFinancialAccountTransactionName(String financialAccountTransactionName) { 047 this.financialAccountTransactionName = financialAccountTransactionName; 048 } 049 050 public FinancialAccountTransfer getFinancialAccount() { 051 return financialAccount; 052 } 053 054 public void setFinancialAccount(FinancialAccountTransfer financialAccount) { 055 this.financialAccount = financialAccount; 056 } 057 058 public FinancialAccountTransactionTypeTransfer getFinancialAccountTransactionType() { 059 return financialAccountTransactionType; 060 } 061 062 public void setFinancialAccountTransactionType(FinancialAccountTransactionTypeTransfer financialAccountTransactionType) { 063 this.financialAccountTransactionType = financialAccountTransactionType; 064 } 065 066 public Long getUnformattedAmount() { 067 return unformattedAmount; 068 } 069 070 public void setUnformattedAmount(Long unformattedAmount) { 071 this.unformattedAmount = unformattedAmount; 072 } 073 074 public String getAmount() { 075 return amount; 076 } 077 078 public void setAmount(String amount) { 079 this.amount = amount; 080 } 081 082 public String getComment() { 083 return comment; 084 } 085 086 public void setComment(String comment) { 087 this.comment = comment; 088 } 089 090}