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.model.control.inventory.common.transfer.InventoryConditionTransfer;
020import com.echothree.model.control.item.common.transfer.ItemTransfer;
021import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer;
022import com.echothree.util.common.transfer.BaseTransfer;
023
024public class InvoiceLineItemTransfer
025        extends BaseTransfer {
026    
027    private InvoiceLineTransfer invoiceLine;
028    private ItemTransfer item;
029    private InventoryConditionTransfer inventoryCondition;
030    private UnitOfMeasureTypeTransfer unitOfMeasureType;
031    private Integer quantity;
032    
033    /** Creates a new instance of InvoiceLineItemTransfer */
034    public InvoiceLineItemTransfer(InvoiceLineTransfer invoiceLine, ItemTransfer item, InventoryConditionTransfer inventoryCondition, UnitOfMeasureTypeTransfer unitOfMeasureType, Integer quantity) {
035        this.invoiceLine = invoiceLine;
036        this.item = item;
037        this.inventoryCondition = inventoryCondition;
038        this.unitOfMeasureType = unitOfMeasureType;
039        this.quantity = quantity;
040    }
041
042    public InvoiceLineTransfer getInvoiceLine() {
043        return invoiceLine;
044    }
045
046    public void setInvoiceLine(InvoiceLineTransfer invoiceLine) {
047        this.invoiceLine = invoiceLine;
048    }
049
050    public ItemTransfer getItem() {
051        return item;
052    }
053
054    public void setItem(ItemTransfer item) {
055        this.item = item;
056    }
057
058    public InventoryConditionTransfer getInventoryCondition() {
059        return inventoryCondition;
060    }
061
062    public void setInventoryCondition(InventoryConditionTransfer inventoryCondition) {
063        this.inventoryCondition = inventoryCondition;
064    }
065
066    public UnitOfMeasureTypeTransfer getUnitOfMeasureType() {
067        return unitOfMeasureType;
068    }
069
070    public void setUnitOfMeasureType(UnitOfMeasureTypeTransfer unitOfMeasureType) {
071        this.unitOfMeasureType = unitOfMeasureType;
072    }
073
074    public Integer getQuantity() {
075        return quantity;
076    }
077
078    public void setQuantity(Integer quantity) {
079        this.quantity = quantity;
080    }
081    
082}