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.accounting.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class GlAccountTransfer 022 extends BaseTransfer { 023 024 private String glAccountName; 025 private GlAccountTransfer parentGlAccount; 026 private GlAccountTypeTransfer glAccountType; 027 private GlAccountClassTransfer glAccountClass; 028 private GlAccountCategoryTransfer glAccountCategory; 029 private GlResourceTypeTransfer glResourceType; 030 private CurrencyTransfer currency; 031 private Boolean isDefault; 032 private String description; 033 034 /** Creates a new instance of GlAccountTransfer */ 035 public GlAccountTransfer(String glAccountName, GlAccountTransfer parentGlAccount, GlAccountTypeTransfer glAccountType, 036 GlAccountClassTransfer glAccountClass, GlAccountCategoryTransfer glAccountCategory, 037 GlResourceTypeTransfer glResourceType, CurrencyTransfer currency, Boolean isDefault, String description) { 038 this.glAccountName = glAccountName; 039 this.parentGlAccount = parentGlAccount; 040 this.glAccountType = glAccountType; 041 this.glAccountClass = glAccountClass; 042 this.glAccountCategory = glAccountCategory; 043 this.glResourceType = glResourceType; 044 this.currency = currency; 045 this.isDefault = isDefault; 046 this.description = description; 047 } 048 049 public String getGlAccountName() { 050 return glAccountName; 051 } 052 053 public void setGlAccountName(String glAccountName) { 054 this.glAccountName = glAccountName; 055 } 056 057 public GlAccountTransfer getParentGlAccount() { 058 return parentGlAccount; 059 } 060 061 public void setParentGlAccount(GlAccountTransfer parentGlAccount) { 062 this.parentGlAccount = parentGlAccount; 063 } 064 065 public GlAccountTypeTransfer getGlAccountType() { 066 return glAccountType; 067 } 068 069 public void setGlAccountType(GlAccountTypeTransfer glAccountType) { 070 this.glAccountType = glAccountType; 071 } 072 073 public GlAccountClassTransfer getGlAccountClass() { 074 return glAccountClass; 075 } 076 077 public void setGlAccountClass(GlAccountClassTransfer glAccountClass) { 078 this.glAccountClass = glAccountClass; 079 } 080 081 public GlAccountCategoryTransfer getGlAccountCategory() { 082 return glAccountCategory; 083 } 084 085 public void setGlAccountCategory(GlAccountCategoryTransfer glAccountCategory) { 086 this.glAccountCategory = glAccountCategory; 087 } 088 089 public GlResourceTypeTransfer getGlResourceType() { 090 return glResourceType; 091 } 092 093 public void setGlResourceType(GlResourceTypeTransfer glResourceType) { 094 this.glResourceType = glResourceType; 095 } 096 097 public CurrencyTransfer getCurrency() { 098 return currency; 099 } 100 101 public void setCurrency(CurrencyTransfer currency) { 102 this.currency = currency; 103 } 104 105 public Boolean getIsDefault() { 106 return isDefault; 107 } 108 109 public void setIsDefault(Boolean isDefault) { 110 this.isDefault = isDefault; 111 } 112 113 public String getDescription() { 114 return description; 115 } 116 117 public void setDescription(String description) { 118 this.description = description; 119 } 120 121}