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