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;
021import com.echothree.util.common.transfer.ListWrapper;
022
023public class TransactionTransfer
024        extends BaseTransfer {
025    
026    private String transactionName;
027    private PartyTransfer groupParty;
028    private TransactionGroupTransfer transactionGroup;
029    private TransactionTypeTransfer transactionType;
030    private Long unformattedPostingTime;
031    private String postingTime;
032    
033    private ListWrapper<TransactionGlEntryTransfer> transactionGlEntries;
034    private ListWrapper<TransactionEntityRoleTransfer> transactionEntityRoles;
035    
036    /** Creates a new instance of TransactionTransfer */
037    public TransactionTransfer(String transactionName, PartyTransfer groupParty, TransactionGroupTransfer transactionGroup, TransactionTypeTransfer transactionType, Long unformattedPostingTime,
038            String postingTime) {
039        this.transactionName = transactionName;
040        this.groupParty = groupParty;
041        this.transactionGroup = transactionGroup;
042        this.transactionType = transactionType;
043        this.unformattedPostingTime = unformattedPostingTime;
044        this.postingTime = postingTime;
045    }
046    
047    public String getTransactionName() {
048        return transactionName;
049    }
050    
051    public void setTransactionName(String transactionName) {
052        this.transactionName = transactionName;
053    }
054    
055    public PartyTransfer getGroupParty() {
056        return groupParty;
057    }
058    
059    public void setGroupParty(PartyTransfer groupParty) {
060        this.groupParty = groupParty;
061    }
062    
063    public TransactionGroupTransfer getTransactionGroup() {
064        return transactionGroup;
065    }
066    
067    public void setTransactionGroup(TransactionGroupTransfer transactionGroup) {
068        this.transactionGroup = transactionGroup;
069    }
070    
071    public TransactionTypeTransfer getTransactionType() {
072        return transactionType;
073    }
074    
075    public void setTransactionType(TransactionTypeTransfer transactionType) {
076        this.transactionType = transactionType;
077    }
078
079    public Long getUnformattedPostingTime() {
080        return unformattedPostingTime;
081    }
082
083    public void setUnformattedPostingTime(Long unformattedPostingTime) {
084        this.unformattedPostingTime = unformattedPostingTime;
085    }
086
087    public String getPostingTime() {
088        return postingTime;
089    }
090
091    public void setPostingTime(String postingTime) {
092        this.postingTime = postingTime;
093    }
094    
095    public ListWrapper<TransactionGlEntryTransfer> getTransactionGlEntries() {
096        return transactionGlEntries;
097    }
098
099    public void setTransactionGlEntries(ListWrapper<TransactionGlEntryTransfer> transactionGlEntries) {
100        this.transactionGlEntries = transactionGlEntries;
101    }
102
103    public ListWrapper<TransactionEntityRoleTransfer> getTransactionEntityRoles() {
104        return transactionEntityRoles;
105    }
106
107    public void setTransactionEntityRoles(ListWrapper<TransactionEntityRoleTransfer> transactionEntityRoles) {
108        this.transactionEntityRoles = transactionEntityRoles;
109    }
110
111}