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.model.control.accounting.common.transfer.CurrencyTransfer; 020import com.echothree.model.control.accounting.common.transfer.GlAccountTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022import com.echothree.util.common.transfer.ListWrapper; 023import com.echothree.util.common.transfer.MapWrapper; 024 025public class FinancialAccountTransfer 026 extends BaseTransfer { 027 028 private FinancialAccountTypeTransfer financialAccountType; 029 private String financialAccountName; 030 private CurrencyTransfer currency; 031 private GlAccountTransfer glAccount; 032 private String reference; 033 private String description; 034 private Long unformattedActualBalance; 035 private String actualBalance; 036 private Long unformattedAvailableBalance; 037 private String availableBalance; 038 039 private MapWrapper<FinancialAccountRoleTransfer> financialAccountRoles; 040 private ListWrapper<FinancialAccountTransactionTransfer> financialAccountTransactions; 041 042 /** Creates a new instance of FinancialAccountTransfer */ 043 public FinancialAccountTransfer(FinancialAccountTypeTransfer financialAccountType, String financialAccountName, CurrencyTransfer currency, 044 GlAccountTransfer glAccount, String reference, String description, Long unformattedActualBalance, String actualBalance, 045 Long unformattedAvailableBalance, String availableBalance) { 046 this.financialAccountType = financialAccountType; 047 this.financialAccountName = financialAccountName; 048 this.currency = currency; 049 this.glAccount = glAccount; 050 this.reference = reference; 051 this.description = description; 052 this.unformattedActualBalance = unformattedActualBalance; 053 this.actualBalance = actualBalance; 054 this.unformattedAvailableBalance = unformattedAvailableBalance; 055 this.availableBalance = availableBalance; 056 } 057 058 public FinancialAccountTypeTransfer getFinancialAccountType() { 059 return financialAccountType; 060 } 061 062 public void setFinancialAccountType(FinancialAccountTypeTransfer financialAccountType) { 063 this.financialAccountType = financialAccountType; 064 } 065 066 public String getFinancialAccountName() { 067 return financialAccountName; 068 } 069 070 public void setFinancialAccountName(String financialAccountName) { 071 this.financialAccountName = financialAccountName; 072 } 073 074 public CurrencyTransfer getCurrency() { 075 return currency; 076 } 077 078 public void setCurrency(CurrencyTransfer currency) { 079 this.currency = currency; 080 } 081 082 public GlAccountTransfer getGlAccount() { 083 return glAccount; 084 } 085 086 public void setGlAccount(GlAccountTransfer glAccount) { 087 this.glAccount = glAccount; 088 } 089 090 public String getReference() { 091 return reference; 092 } 093 094 public void setReference(String reference) { 095 this.reference = reference; 096 } 097 098 public String getDescription() { 099 return description; 100 } 101 102 public void setDescription(String description) { 103 this.description = description; 104 } 105 106 public Long getUnformattedActualBalance() { 107 return unformattedActualBalance; 108 } 109 110 public void setUnformattedActualBalance(Long unformattedActualBalance) { 111 this.unformattedActualBalance = unformattedActualBalance; 112 } 113 114 public String getActualBalance() { 115 return actualBalance; 116 } 117 118 public void setActualBalance(String actualBalance) { 119 this.actualBalance = actualBalance; 120 } 121 122 public Long getUnformattedAvailableBalance() { 123 return unformattedAvailableBalance; 124 } 125 126 public void setUnformattedAvailableBalance(Long unformattedAvailableBalance) { 127 this.unformattedAvailableBalance = unformattedAvailableBalance; 128 } 129 130 public String getAvailableBalance() { 131 return availableBalance; 132 } 133 134 public void setAvailableBalance(String availableBalance) { 135 this.availableBalance = availableBalance; 136 } 137 138 public MapWrapper<FinancialAccountRoleTransfer> getFinancialAccountRoles() { 139 return financialAccountRoles; 140 } 141 142 public void setFinancialAccountRoles(MapWrapper<FinancialAccountRoleTransfer> financialAccountRoles) { 143 this.financialAccountRoles = financialAccountRoles; 144 } 145 146 public ListWrapper<FinancialAccountTransactionTransfer> getFinancialAccountTransactions() { 147 return financialAccountTransactions; 148 } 149 150 public void setFinancialAccountTransactions(ListWrapper<FinancialAccountTransactionTransfer> financialAccountTransactions) { 151 this.financialAccountTransactions = financialAccountTransactions; 152 } 153 154}