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.invoice.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class InvoiceLineTransfer
022        extends BaseTransfer {
023    
024    private InvoiceTransfer invoice;
025    private Integer invoiceLineSequence;
026    private InvoiceLineTransfer parentInvoiceLine;
027    private InvoiceLineTypeTransfer invoiceLineType;
028    private InvoiceLineUseTypeTransfer invoiceLineUseType;
029    private String amount;
030    private Long unformattedAmount;
031    private String description;
032    private InvoiceLineItemTransfer invoiceLineItem;
033    private InvoiceLineGlAccountTransfer invoiceLineGlAccount;
034    
035    /** Creates a new instance of InvoiceLineTransfer */
036    public InvoiceLineTransfer(InvoiceTransfer invoice, Integer invoiceLineSequence, InvoiceLineTransfer parentInvoiceLine, InvoiceLineTypeTransfer invoiceLineType,
037            InvoiceLineUseTypeTransfer invoiceLineUseType, String amount, Long unformattedAmount, String description) {
038        this.invoice = invoice;
039        this.invoiceLineSequence = invoiceLineSequence;
040        this.parentInvoiceLine = parentInvoiceLine;
041        this.invoiceLineType = invoiceLineType;
042        this.invoiceLineUseType = invoiceLineUseType;
043        this.amount = amount;
044        this.unformattedAmount = unformattedAmount;
045        this.description = description;
046    }
047
048    public InvoiceTransfer getInvoice() {
049        return invoice;
050    }
051
052    public void setInvoice(InvoiceTransfer invoice) {
053        this.invoice = invoice;
054    }
055
056    public Integer getInvoiceLineSequence() {
057        return invoiceLineSequence;
058    }
059
060    public void setInvoiceLineSequence(Integer invoiceLineSequence) {
061        this.invoiceLineSequence = invoiceLineSequence;
062    }
063
064    public InvoiceLineTransfer getParentInvoiceLine() {
065        return parentInvoiceLine;
066    }
067
068    public void setParentInvoiceLine(InvoiceLineTransfer parentInvoiceLine) {
069        this.parentInvoiceLine = parentInvoiceLine;
070    }
071
072    public InvoiceLineTypeTransfer getInvoiceLineType() {
073        return invoiceLineType;
074    }
075
076    public void setInvoiceLineType(InvoiceLineTypeTransfer invoiceLineType) {
077        this.invoiceLineType = invoiceLineType;
078    }
079
080    public InvoiceLineUseTypeTransfer getInvoiceLineUseType() {
081        return invoiceLineUseType;
082    }
083
084    public void setInvoiceLineUseType(InvoiceLineUseTypeTransfer invoiceLineUseType) {
085        this.invoiceLineUseType = invoiceLineUseType;
086    }
087
088    public String getAmount() {
089        return amount;
090    }
091
092    public void setAmount(String amount) {
093        this.amount = amount;
094    }
095
096    public Long getUnformattedAmount() {
097        return unformattedAmount;
098    }
099
100    public void setUnformattedAmount(Long unformattedAmount) {
101        this.unformattedAmount = unformattedAmount;
102    }
103
104    public String getDescription() {
105        return description;
106    }
107
108    public void setDescription(String description) {
109        this.description = description;
110    }
111
112    public InvoiceLineItemTransfer getInvoiceLineItem() {
113        return invoiceLineItem;
114    }
115
116    public void setInvoiceLineItem(InvoiceLineItemTransfer invoiceLineItem) {
117        this.invoiceLineItem = invoiceLineItem;
118    }
119
120    public InvoiceLineGlAccountTransfer getInvoiceLineGlAccount() {
121        return invoiceLineGlAccount;
122    }
123
124    public void setInvoiceLineGlAccount(InvoiceLineGlAccountTransfer invoiceLineGlAccount) {
125        this.invoiceLineGlAccount = invoiceLineGlAccount;
126    }
127    
128}