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.vendor.common.transfer; 018 019import com.echothree.model.control.inventory.common.transfer.InventoryConditionTransfer; 020import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class VendorItemCostTransfer 024 extends BaseTransfer { 025 026 private VendorItemTransfer vendorItem; 027 private InventoryConditionTransfer inventoryCondition; 028 private UnitOfMeasureTypeTransfer unitOfMeasureType; 029 private Long unformattedUnitCost; 030 private String unitCost; 031 032 /** Creates a new instance of VendorItemCostTransfer */ 033 public VendorItemCostTransfer(VendorItemTransfer vendorItem, InventoryConditionTransfer inventoryCondition, UnitOfMeasureTypeTransfer unitOfMeasureType, 034 Long unformattedUnitCost, String unitCost) { 035 this.vendorItem = vendorItem; 036 this.inventoryCondition = inventoryCondition; 037 this.unitOfMeasureType = unitOfMeasureType; 038 this.unformattedUnitCost = unformattedUnitCost; 039 this.unitCost = unitCost; 040 } 041 042 /** 043 * Returns the vendorItem. 044 * @return the vendorItem 045 */ 046 public VendorItemTransfer getVendorItem() { 047 return vendorItem; 048 } 049 050 /** 051 * Sets the vendorItem. 052 * @param vendorItem the vendorItem to set 053 */ 054 public void setVendorItem(VendorItemTransfer vendorItem) { 055 this.vendorItem = vendorItem; 056 } 057 058 /** 059 * Returns the inventoryCondition. 060 * @return the inventoryCondition 061 */ 062 public InventoryConditionTransfer getInventoryCondition() { 063 return inventoryCondition; 064 } 065 066 /** 067 * Sets the inventoryCondition. 068 * @param inventoryCondition the inventoryCondition to set 069 */ 070 public void setInventoryCondition(InventoryConditionTransfer inventoryCondition) { 071 this.inventoryCondition = inventoryCondition; 072 } 073 074 /** 075 * Returns the unitOfMeasureType. 076 * @return the unitOfMeasureType 077 */ 078 public UnitOfMeasureTypeTransfer getUnitOfMeasureType() { 079 return unitOfMeasureType; 080 } 081 082 /** 083 * Sets the unitOfMeasureType. 084 * @param unitOfMeasureType the unitOfMeasureType to set 085 */ 086 public void setUnitOfMeasureType(UnitOfMeasureTypeTransfer unitOfMeasureType) { 087 this.unitOfMeasureType = unitOfMeasureType; 088 } 089 090 /** 091 * Returns the unformattedUnitCost. 092 * @return the unformattedUnitCost 093 */ 094 public Long getUnformattedUnitCost() { 095 return unformattedUnitCost; 096 } 097 098 /** 099 * Sets the unformattedUnitCost. 100 * @param unformattedUnitCost the unformattedUnitCost to set 101 */ 102 public void setUnformattedUnitCost(Long unformattedUnitCost) { 103 this.unformattedUnitCost = unformattedUnitCost; 104 } 105 106 /** 107 * Returns the unitCost. 108 * @return the unitCost 109 */ 110 public String getUnitCost() { 111 return unitCost; 112 } 113 114 /** 115 * Sets the unitCost. 116 * @param unitCost the unitCost to set 117 */ 118 public void setUnitCost(String unitCost) { 119 this.unitCost = unitCost; 120 } 121 122}