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 ItemAccountingCategoryTransfer
022        extends BaseTransfer {
023    
024    private String itemAccountingCategoryName;
025    private ItemAccountingCategoryTransfer parentItemAccountingCategory;
026    private GlAccountTransfer inventoryGlAccount;
027    private GlAccountTransfer salesGlAccount;
028    private GlAccountTransfer returnsGlAccount;
029    private GlAccountTransfer cogsGlAccount;
030    private GlAccountTransfer returnsCogsGlAccount;
031    private Boolean isDefault;
032    private Integer sortOrder;
033    private String description;
034    
035    /** Creates a new instance of ItemAccountingCategoryTransfer */
036    public ItemAccountingCategoryTransfer(String itemAccountingCategoryName, ItemAccountingCategoryTransfer parentItemAccountingCategory,
037            GlAccountTransfer inventoryGlAccount, GlAccountTransfer salesGlAccount, GlAccountTransfer returnsGlAccount,
038            GlAccountTransfer cogsGlAccount, GlAccountTransfer returnsCogsGlAccount, Boolean isDefault, Integer sortOrder, String description) {
039        this.itemAccountingCategoryName = itemAccountingCategoryName;
040        this.parentItemAccountingCategory = parentItemAccountingCategory;
041        this.inventoryGlAccount = inventoryGlAccount;
042        this.salesGlAccount = salesGlAccount;
043        this.returnsGlAccount = returnsGlAccount;
044        this.cogsGlAccount = cogsGlAccount;
045        this.returnsCogsGlAccount = returnsCogsGlAccount;
046        this.isDefault = isDefault;
047        this.sortOrder = sortOrder;
048        this.description = description;
049    }
050    
051    public String getItemAccountingCategoryName() {
052        return itemAccountingCategoryName;
053    }
054    
055    public void setItemAccountingCategoryName(String itemAccountingCategoryName) {
056        this.itemAccountingCategoryName = itemAccountingCategoryName;
057    }
058    
059    public ItemAccountingCategoryTransfer getParentItemAccountingCategory() {
060        return parentItemAccountingCategory;
061    }
062    
063    public void setParentItemAccountingCategory(ItemAccountingCategoryTransfer parentItemAccountingCategory) {
064        this.parentItemAccountingCategory = parentItemAccountingCategory;
065    }
066    
067    public GlAccountTransfer getInventoryGlAccount() {
068        return inventoryGlAccount;
069    }
070    
071    public void setInventoryGlAccount(GlAccountTransfer inventoryGlAccount) {
072        this.inventoryGlAccount = inventoryGlAccount;
073    }
074    
075    public GlAccountTransfer getSalesGlAccount() {
076        return salesGlAccount;
077    }
078    
079    public void setSalesGlAccount(GlAccountTransfer salesGlAccount) {
080        this.salesGlAccount = salesGlAccount;
081    }
082    
083    public GlAccountTransfer getReturnsGlAccount() {
084        return returnsGlAccount;
085    }
086    
087    public void setReturnsGlAccount(GlAccountTransfer returnsGlAccount) {
088        this.returnsGlAccount = returnsGlAccount;
089    }
090    
091    public GlAccountTransfer getCogsGlAccount() {
092        return cogsGlAccount;
093    }
094    
095    public void setCogsGlAccount(GlAccountTransfer cogsGlAccount) {
096        this.cogsGlAccount = cogsGlAccount;
097    }
098    
099    public GlAccountTransfer getReturnsCogsGlAccount() {
100        return returnsCogsGlAccount;
101    }
102    
103    public void setReturnsCogsGlAccount(GlAccountTransfer returnsCogsGlAccount) {
104        this.returnsCogsGlAccount = returnsCogsGlAccount;
105    }
106    
107    public Boolean getIsDefault() {
108        return isDefault;
109    }
110    
111    public void setIsDefault(Boolean isDefault) {
112        this.isDefault = isDefault;
113    }
114    
115    public Integer getSortOrder() {
116        return sortOrder;
117    }
118    
119    public void setSortOrder(Integer sortOrder) {
120        this.sortOrder = sortOrder;
121    }
122    
123    public String getDescription() {
124        return description;
125    }
126    
127    public void setDescription(String description) {
128        this.description = description;
129    }
130    
131}