001// --------------------------------------------------------------------------------
002// Copyright 2002-2025 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 PartyTransfer groupParty;
028    private TransactionGlAccountCategoryTransfer transactionGlAccountCategory;
029    private GlAccountTransfer glAccount;
030    private CurrencyTransfer originalCurrency;
031    private Long unformattedOriginalDebit;
032    private String originalDebit;
033    private Long unformattedOriginalCredit;
034    private String originalCredit;
035    private Long unformattedDebit;
036    private String debit;
037    private Long unformattedCredit;
038    private String credit;
039
040    public TransactionGlEntryTransfer(final TransactionTransfer transaction, final Integer transactionGlEntrySequence,
041            final PartyTransfer groupParty, final TransactionGlAccountCategoryTransfer transactionGlAccountCategory,
042            final GlAccountTransfer glAccount, final CurrencyTransfer originalCurrency, final Long unformattedOriginalDebit,
043            final String originalDebit, final Long unformattedOriginalCredit, final String originalCredit, final Long unformattedDebit,
044            final String debit, final Long unformattedCredit, final String credit) {
045        this.transaction = transaction;
046        this.transactionGlEntrySequence = transactionGlEntrySequence;
047        this.groupParty = groupParty;
048        this.transactionGlAccountCategory = transactionGlAccountCategory;
049        this.glAccount = glAccount;
050        this.originalCurrency = originalCurrency;
051        this.unformattedOriginalDebit = unformattedOriginalDebit;
052        this.originalDebit = originalDebit;
053        this.unformattedOriginalCredit = unformattedOriginalCredit;
054        this.originalCredit = originalCredit;
055        this.unformattedDebit = unformattedDebit;
056        this.debit = debit;
057        this.unformattedCredit = unformattedCredit;
058        this.credit = credit;
059    }
060
061    public TransactionTransfer getTransaction() {
062        return transaction;
063    }
064
065    public void setTransaction(final TransactionTransfer transaction) {
066        this.transaction = transaction;
067    }
068
069    public Integer getTransactionGlEntrySequence() {
070        return transactionGlEntrySequence;
071    }
072
073    public void setTransactionGlEntrySequence(final Integer transactionGlEntrySequence) {
074        this.transactionGlEntrySequence = transactionGlEntrySequence;
075    }
076
077    public PartyTransfer getGroupParty() {
078        return groupParty;
079    }
080
081    public void setGroupParty(final PartyTransfer groupParty) {
082        this.groupParty = groupParty;
083    }
084
085    public TransactionGlAccountCategoryTransfer getTransactionGlAccountCategory() {
086        return transactionGlAccountCategory;
087    }
088
089    public void setTransactionGlAccountCategory(final TransactionGlAccountCategoryTransfer transactionGlAccountCategory) {
090        this.transactionGlAccountCategory = transactionGlAccountCategory;
091    }
092
093    public GlAccountTransfer getGlAccount() {
094        return glAccount;
095    }
096
097    public void setGlAccount(final GlAccountTransfer glAccount) {
098        this.glAccount = glAccount;
099    }
100
101    public CurrencyTransfer getOriginalCurrency() {
102        return originalCurrency;
103    }
104
105    public void setOriginalCurrency(final CurrencyTransfer originalCurrency) {
106        this.originalCurrency = originalCurrency;
107    }
108
109    public Long getUnformattedOriginalDebit() {
110        return unformattedOriginalDebit;
111    }
112
113    public void setUnformattedOriginalDebit(final Long unformattedOriginalDebit) {
114        this.unformattedOriginalDebit = unformattedOriginalDebit;
115    }
116
117    public String getOriginalDebit() {
118        return originalDebit;
119    }
120
121    public void setOriginalDebit(final String originalDebit) {
122        this.originalDebit = originalDebit;
123    }
124
125    public Long getUnformattedOriginalCredit() {
126        return unformattedOriginalCredit;
127    }
128
129    public void setUnformattedOriginalCredit(final Long unformattedOriginalCredit) {
130        this.unformattedOriginalCredit = unformattedOriginalCredit;
131    }
132
133    public String getOriginalCredit() {
134        return originalCredit;
135    }
136
137    public void setOriginalCredit(final String originalCredit) {
138        this.originalCredit = originalCredit;
139    }
140
141    public Long getUnformattedDebit() {
142        return unformattedDebit;
143    }
144
145    public void setUnformattedDebit(final Long unformattedDebit) {
146        this.unformattedDebit = unformattedDebit;
147    }
148
149    public String getDebit() {
150        return debit;
151    }
152
153    public void setDebit(final String debit) {
154        this.debit = debit;
155    }
156
157    public Long getUnformattedCredit() {
158        return unformattedCredit;
159    }
160
161    public void setUnformattedCredit(final Long unformattedCredit) {
162        this.unformattedCredit = unformattedCredit;
163    }
164
165    public String getCredit() {
166        return credit;
167    }
168
169    public void setCredit(final String credit) {
170        this.credit = credit;
171    }
172
173}