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.model.control.party.common.transfer.PartyTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class TransactionGlEntryTransfer
023        extends BaseTransfer {
024
025    private TransactionTransfer transaction;
026    private Integer transactionGlEntrySequence;
027    private TransactionGlEntryTransfer parentTransactionGlEntry;
028    private PartyTransfer groupParty;
029    private TransactionGlAccountCategoryTransfer transactionGlAccountCategory;
030    private GlAccountTransfer glAccount;
031    private CurrencyTransfer originalCurrency;
032    private Long unformattedOriginalAmount;
033    private String originalDebit;
034    private String originalCredit;
035    private Long unformattedAmount;
036    private String debit;
037    private String credit;
038
039    /** Creates a new instance of TransactionGlEntryTransfer */
040    public TransactionGlEntryTransfer(TransactionTransfer transaction, Integer transactionGlEntrySequence, TransactionGlEntryTransfer parentTransactionGlEntry,
041            PartyTransfer groupParty, TransactionGlAccountCategoryTransfer transactionGlAccountCategory, GlAccountTransfer glAccount,
042            CurrencyTransfer originalCurrency, Long unformattedOriginalAmount, String originalDebit, String originalCredit, Long unformattedAmount,
043            String debit, String credit) {
044        this.transaction = transaction;
045        this.transactionGlEntrySequence = transactionGlEntrySequence;
046        this.parentTransactionGlEntry = parentTransactionGlEntry;
047        this.groupParty = groupParty;
048        this.transactionGlAccountCategory = transactionGlAccountCategory;
049        this.glAccount = glAccount;
050        this.originalCurrency = originalCurrency;
051        this.unformattedOriginalAmount = unformattedOriginalAmount;
052        this.originalDebit = originalDebit;
053        this.originalCredit = originalCredit;
054        this.unformattedAmount = unformattedAmount;
055        this.debit = debit;
056        this.credit = credit;
057    }
058
059    public TransactionTransfer getTransaction() {
060        return transaction;
061    }
062
063    public void setTransaction(TransactionTransfer transaction) {
064        this.transaction = transaction;
065    }
066
067    public Integer getTransactionGlEntrySequence() {
068        return transactionGlEntrySequence;
069    }
070
071    public void setTransactionGlEntrySequence(Integer transactionGlEntrySequence) {
072        this.transactionGlEntrySequence = transactionGlEntrySequence;
073    }
074
075    public TransactionGlEntryTransfer getParentTransactionGlEntry() {
076        return parentTransactionGlEntry;
077    }
078
079    public void setParentTransactionGlEntry(TransactionGlEntryTransfer parentTransactionGlEntry) {
080        this.parentTransactionGlEntry = parentTransactionGlEntry;
081    }
082
083    public PartyTransfer getGroupParty() {
084        return groupParty;
085    }
086
087    public void setGroupParty(PartyTransfer groupParty) {
088        this.groupParty = groupParty;
089    }
090
091    public TransactionGlAccountCategoryTransfer getTransactionGlAccountCategory() {
092        return transactionGlAccountCategory;
093    }
094
095    public void setTransactionGlAccountCategory(TransactionGlAccountCategoryTransfer transactionGlAccountCategory) {
096        this.transactionGlAccountCategory = transactionGlAccountCategory;
097    }
098
099    public GlAccountTransfer getGlAccount() {
100        return glAccount;
101    }
102
103    public void setGlAccount(GlAccountTransfer glAccount) {
104        this.glAccount = glAccount;
105    }
106
107    public CurrencyTransfer getOriginalCurrency() {
108        return originalCurrency;
109    }
110
111    public void setOriginalCurrency(CurrencyTransfer originalCurrency) {
112        this.originalCurrency = originalCurrency;
113    }
114
115    public Long getUnformattedOriginalAmount() {
116        return unformattedOriginalAmount;
117    }
118
119    public void setUnformattedOriginalAmount(Long unformattedOriginalAmount) {
120        this.unformattedOriginalAmount = unformattedOriginalAmount;
121    }
122
123    public String getOriginalDebit() {
124        return originalDebit;
125    }
126
127    public void setOriginalDebit(String originalDebit) {
128        this.originalDebit = originalDebit;
129    }
130
131    public String getOriginalCredit() {
132        return originalCredit;
133    }
134
135    public void setOriginalCredit(String originalCredit) {
136        this.originalCredit = originalCredit;
137    }
138
139    public Long getUnformattedAmount() {
140        return unformattedAmount;
141    }
142
143    public void setUnformattedAmount(Long unformattedAmount) {
144        this.unformattedAmount = unformattedAmount;
145    }
146
147    public String getDebit() {
148        return debit;
149    }
150
151    public void setDebit(String debit) {
152        this.debit = debit;
153    }
154
155    public String getCredit() {
156        return credit;
157    }
158
159    public void setCredit(String credit) {
160        this.credit = credit;
161    }
162
163}