001// -------------------------------------------------------------------------------- 002// Copyright 2002-2026 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.inventory.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class InventoryLayerTransfer 022 extends BaseTransfer { 023 024 private InventoryCostingPoolTransfer inventoryCostingPool; 025 private Integer inventoryLayerSequence; 026 private Long unformattedReceiptQuantity; 027 private String receiptQuantity; 028 private Long unformattedUnitCost; 029 private String unitCost; 030 private String description; 031 032 // TODO: Add InventoryTransactionLineTransfer when transaction-line transfers are implemented. 033 034 public InventoryLayerTransfer(InventoryCostingPoolTransfer inventoryCostingPool, Integer inventoryLayerSequence, 035 Long unformattedReceiptQuantity, String receiptQuantity, Long unformattedUnitCost, String unitCost, String description) { 036 this.inventoryCostingPool = inventoryCostingPool; 037 this.inventoryLayerSequence = inventoryLayerSequence; 038 this.unformattedReceiptQuantity = unformattedReceiptQuantity; 039 this.receiptQuantity = receiptQuantity; 040 this.unformattedUnitCost = unformattedUnitCost; 041 this.unitCost = unitCost; 042 this.description = description; 043 } 044 045 public InventoryCostingPoolTransfer getInventoryCostingPool() { 046 return inventoryCostingPool; 047 } 048 049 public void setInventoryCostingPool(InventoryCostingPoolTransfer inventoryCostingPool) { 050 this.inventoryCostingPool = inventoryCostingPool; 051 } 052 053 public Integer getInventoryLayerSequence() { 054 return inventoryLayerSequence; 055 } 056 057 public void setInventoryLayerSequence(Integer inventoryLayerSequence) { 058 this.inventoryLayerSequence = inventoryLayerSequence; 059 } 060 061 public Long getUnformattedReceiptQuantity() { 062 return unformattedReceiptQuantity; 063 } 064 065 public void setUnformattedReceiptQuantity(Long unformattedReceiptQuantity) { 066 this.unformattedReceiptQuantity = unformattedReceiptQuantity; 067 } 068 069 public String getReceiptQuantity() { 070 return receiptQuantity; 071 } 072 073 public void setReceiptQuantity(String receiptQuantity) { 074 this.receiptQuantity = receiptQuantity; 075 } 076 077 public Long getUnformattedUnitCost() { 078 return unformattedUnitCost; 079 } 080 081 public void setUnformattedUnitCost(Long unformattedUnitCost) { 082 this.unformattedUnitCost = unformattedUnitCost; 083 } 084 085 public String getUnitCost() { 086 return unitCost; 087 } 088 089 public void setUnitCost(String unitCost) { 090 this.unitCost = unitCost; 091 } 092 093 public String getDescription() { 094 return description; 095 } 096 097 public void setDescription(String description) { 098 this.description = description; 099 } 100 101}