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.item.common.transfer; 018 019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer; 020import com.echothree.model.control.inventory.common.transfer.InventoryConditionTransfer; 021import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer; 022import com.echothree.util.common.transfer.BaseTransfer; 023 024public class ItemPriceTransfer 025 extends BaseTransfer { 026 027 private ItemTransfer item; 028 private InventoryConditionTransfer inventoryCondition; 029 private UnitOfMeasureTypeTransfer unitOfMeasureType; 030 private CurrencyTransfer currency; 031 private Long unformattedUnitPrice; 032 private String unitPrice; 033 private Long unformattedMinimumUnitPrice; 034 private String minimumUnitPrice; 035 private Long unformattedMaximumUnitPrice; 036 private String maximumUnitPrice; 037 private Long unformattedUnitPriceIncrement; 038 private String unitPriceIncrement; 039 040 /** Creates a new instance of ItemPriceTransfer */ 041 public ItemPriceTransfer(ItemTransfer item, InventoryConditionTransfer inventoryCondition, UnitOfMeasureTypeTransfer unitOfMeasureType, 042 CurrencyTransfer currency, Long unformattedUnitPrice, String unitPrice, Long unformattedMinimumUnitPrice, String minimumUnitPrice, 043 Long unformattedMaximumUnitPrice, String maximumUnitPrice, Long unformattedUnitPriceIncrement, String unitPriceIncrement) { 044 this.item = item; 045 this.inventoryCondition = inventoryCondition; 046 this.unitOfMeasureType = unitOfMeasureType; 047 this.currency = currency; 048 this.unformattedUnitPrice = unformattedUnitPrice; 049 this.unitPrice = unitPrice; 050 this.unformattedMinimumUnitPrice = unformattedMinimumUnitPrice; 051 this.minimumUnitPrice = minimumUnitPrice; 052 this.unformattedMaximumUnitPrice = unformattedMaximumUnitPrice; 053 this.maximumUnitPrice = maximumUnitPrice; 054 this.unformattedUnitPriceIncrement = unformattedUnitPriceIncrement; 055 this.unitPriceIncrement = unitPriceIncrement; 056 } 057 058 /** 059 * Returns the item. 060 * @return the item 061 */ 062 public ItemTransfer getItem() { 063 return item; 064 } 065 066 /** 067 * Sets the item. 068 * @param item the item to set 069 */ 070 public void setItem(ItemTransfer item) { 071 this.item = item; 072 } 073 074 /** 075 * Returns the inventoryCondition. 076 * @return the inventoryCondition 077 */ 078 public InventoryConditionTransfer getInventoryCondition() { 079 return inventoryCondition; 080 } 081 082 /** 083 * Sets the inventoryCondition. 084 * @param inventoryCondition the inventoryCondition to set 085 */ 086 public void setInventoryCondition(InventoryConditionTransfer inventoryCondition) { 087 this.inventoryCondition = inventoryCondition; 088 } 089 090 /** 091 * Returns the unitOfMeasureType. 092 * @return the unitOfMeasureType 093 */ 094 public UnitOfMeasureTypeTransfer getUnitOfMeasureType() { 095 return unitOfMeasureType; 096 } 097 098 /** 099 * Sets the unitOfMeasureType. 100 * @param unitOfMeasureType the unitOfMeasureType to set 101 */ 102 public void setUnitOfMeasureType(UnitOfMeasureTypeTransfer unitOfMeasureType) { 103 this.unitOfMeasureType = unitOfMeasureType; 104 } 105 106 /** 107 * Returns the currency. 108 * @return the currency 109 */ 110 public CurrencyTransfer getCurrency() { 111 return currency; 112 } 113 114 /** 115 * Sets the currency. 116 * @param currency the currency to set 117 */ 118 public void setCurrency(CurrencyTransfer currency) { 119 this.currency = currency; 120 } 121 122 /** 123 * Returns the unformattedUnitPrice. 124 * @return the unformattedUnitPrice 125 */ 126 public Long getUnformattedUnitPrice() { 127 return unformattedUnitPrice; 128 } 129 130 /** 131 * Sets the unformattedUnitPrice. 132 * @param unformattedUnitPrice the unformattedUnitPrice to set 133 */ 134 public void setUnformattedUnitPrice(Long unformattedUnitPrice) { 135 this.unformattedUnitPrice = unformattedUnitPrice; 136 } 137 138 /** 139 * Returns the unitPrice. 140 * @return the unitPrice 141 */ 142 public String getUnitPrice() { 143 return unitPrice; 144 } 145 146 /** 147 * Sets the unitPrice. 148 * @param unitPrice the unitPrice to set 149 */ 150 public void setUnitPrice(String unitPrice) { 151 this.unitPrice = unitPrice; 152 } 153 154 /** 155 * Returns the unformattedMinimumUnitPrice. 156 * @return the unformattedMinimumUnitPrice 157 */ 158 public Long getUnformattedMinimumUnitPrice() { 159 return unformattedMinimumUnitPrice; 160 } 161 162 /** 163 * Sets the unformattedMinimumUnitPrice. 164 * @param unformattedMinimumUnitPrice the unformattedMinimumUnitPrice to set 165 */ 166 public void setUnformattedMinimumUnitPrice(Long unformattedMinimumUnitPrice) { 167 this.unformattedMinimumUnitPrice = unformattedMinimumUnitPrice; 168 } 169 170 /** 171 * Returns the minimumUnitPrice. 172 * @return the minimumUnitPrice 173 */ 174 public String getMinimumUnitPrice() { 175 return minimumUnitPrice; 176 } 177 178 /** 179 * Sets the minimumUnitPrice. 180 * @param minimumUnitPrice the minimumUnitPrice to set 181 */ 182 public void setMinimumUnitPrice(String minimumUnitPrice) { 183 this.minimumUnitPrice = minimumUnitPrice; 184 } 185 186 /** 187 * Returns the unformattedMaximumUnitPrice. 188 * @return the unformattedMaximumUnitPrice 189 */ 190 public Long getUnformattedMaximumUnitPrice() { 191 return unformattedMaximumUnitPrice; 192 } 193 194 /** 195 * Sets the unformattedMaximumUnitPrice. 196 * @param unformattedMaximumUnitPrice the unformattedMaximumUnitPrice to set 197 */ 198 public void setUnformattedMaximumUnitPrice(Long unformattedMaximumUnitPrice) { 199 this.unformattedMaximumUnitPrice = unformattedMaximumUnitPrice; 200 } 201 202 /** 203 * Returns the maximumUnitPrice. 204 * @return the maximumUnitPrice 205 */ 206 public String getMaximumUnitPrice() { 207 return maximumUnitPrice; 208 } 209 210 /** 211 * Sets the maximumUnitPrice. 212 * @param maximumUnitPrice the maximumUnitPrice to set 213 */ 214 public void setMaximumUnitPrice(String maximumUnitPrice) { 215 this.maximumUnitPrice = maximumUnitPrice; 216 } 217 218 /** 219 * Returns the unformattedUnitPriceIncrement. 220 * @return the unformattedUnitPriceIncrement 221 */ 222 public Long getUnformattedUnitPriceIncrement() { 223 return unformattedUnitPriceIncrement; 224 } 225 226 /** 227 * Sets the unformattedUnitPriceIncrement. 228 * @param unformattedUnitPriceIncrement the unformattedUnitPriceIncrement to set 229 */ 230 public void setUnformattedUnitPriceIncrement(Long unformattedUnitPriceIncrement) { 231 this.unformattedUnitPriceIncrement = unformattedUnitPriceIncrement; 232 } 233 234 /** 235 * Returns the unitPriceIncrement. 236 * @return the unitPriceIncrement 237 */ 238 public String getUnitPriceIncrement() { 239 return unitPriceIncrement; 240 } 241 242 /** 243 * Sets the unitPriceIncrement. 244 * @param unitPriceIncrement the unitPriceIncrement to set 245 */ 246 public void setUnitPriceIncrement(String unitPriceIncrement) { 247 this.unitPriceIncrement = unitPriceIncrement; 248 } 249 250}