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 ItemUnitPriceLimitTransfer
025        extends BaseTransfer {
026    
027    private ItemTransfer item;
028    private InventoryConditionTransfer inventoryCondition;
029    private UnitOfMeasureTypeTransfer unitOfMeasureType;
030    private CurrencyTransfer currency;
031    private Long unformattedMinimumUnitPrice;
032    private String minimumUnitPrice;
033    private Long unformattedMaximumUnitPrice;
034    private String maximumUnitPrice;
035    
036    /** Creates a new instance of ItemUnitPriceLimitTransfer */
037    public ItemUnitPriceLimitTransfer(ItemTransfer item, InventoryConditionTransfer inventoryCondition, UnitOfMeasureTypeTransfer unitOfMeasureType,
038            CurrencyTransfer currency, Long unformattedMinimumUnitPrice, String minimumUnitPrice, Long unformattedMaximumUnitPrice,
039            String maximumUnitPrice) {
040        this.item = item;
041        this.inventoryCondition = inventoryCondition;
042        this.unitOfMeasureType = unitOfMeasureType;
043        this.currency = currency;
044        this.unformattedMinimumUnitPrice = unformattedMinimumUnitPrice;
045        this.minimumUnitPrice = minimumUnitPrice;
046        this.unformattedMaximumUnitPrice = unformattedMaximumUnitPrice;
047        this.maximumUnitPrice = maximumUnitPrice;
048    }
049
050    /**
051     * Returns the item.
052     * @return the item
053     */
054    public ItemTransfer getItem() {
055        return item;
056    }
057
058    /**
059     * Sets the item.
060     * @param item the item to set
061     */
062    public void setItem(ItemTransfer item) {
063        this.item = item;
064    }
065
066    /**
067     * Returns the inventoryCondition.
068     * @return the inventoryCondition
069     */
070    public InventoryConditionTransfer getInventoryCondition() {
071        return inventoryCondition;
072    }
073
074    /**
075     * Sets the inventoryCondition.
076     * @param inventoryCondition the inventoryCondition to set
077     */
078    public void setInventoryCondition(InventoryConditionTransfer inventoryCondition) {
079        this.inventoryCondition = inventoryCondition;
080    }
081
082    /**
083     * Returns the unitOfMeasureType.
084     * @return the unitOfMeasureType
085     */
086    public UnitOfMeasureTypeTransfer getUnitOfMeasureType() {
087        return unitOfMeasureType;
088    }
089
090    /**
091     * Sets the unitOfMeasureType.
092     * @param unitOfMeasureType the unitOfMeasureType to set
093     */
094    public void setUnitOfMeasureType(UnitOfMeasureTypeTransfer unitOfMeasureType) {
095        this.unitOfMeasureType = unitOfMeasureType;
096    }
097
098    /**
099     * Returns the currency.
100     * @return the currency
101     */
102    public CurrencyTransfer getCurrency() {
103        return currency;
104    }
105
106    /**
107     * Sets the currency.
108     * @param currency the currency to set
109     */
110    public void setCurrency(CurrencyTransfer currency) {
111        this.currency = currency;
112    }
113
114    /**
115     * Returns the unformattedMinimumUnitPrice.
116     * @return the unformattedMinimumUnitPrice
117     */
118    public Long getUnformattedMinimumUnitPrice() {
119        return unformattedMinimumUnitPrice;
120    }
121
122    /**
123     * Sets the unformattedMinimumUnitPrice.
124     * @param unformattedMinimumUnitPrice the unformattedMinimumUnitPrice to set
125     */
126    public void setUnformattedMinimumUnitPrice(Long unformattedMinimumUnitPrice) {
127        this.unformattedMinimumUnitPrice = unformattedMinimumUnitPrice;
128    }
129
130    /**
131     * Returns the minimumUnitPrice.
132     * @return the minimumUnitPrice
133     */
134    public String getMinimumUnitPrice() {
135        return minimumUnitPrice;
136    }
137
138    /**
139     * Sets the minimumUnitPrice.
140     * @param minimumUnitPrice the minimumUnitPrice to set
141     */
142    public void setMinimumUnitPrice(String minimumUnitPrice) {
143        this.minimumUnitPrice = minimumUnitPrice;
144    }
145
146    /**
147     * Returns the unformattedMaximumUnitPrice.
148     * @return the unformattedMaximumUnitPrice
149     */
150    public Long getUnformattedMaximumUnitPrice() {
151        return unformattedMaximumUnitPrice;
152    }
153
154    /**
155     * Sets the unformattedMaximumUnitPrice.
156     * @param unformattedMaximumUnitPrice the unformattedMaximumUnitPrice to set
157     */
158    public void setUnformattedMaximumUnitPrice(Long unformattedMaximumUnitPrice) {
159        this.unformattedMaximumUnitPrice = unformattedMaximumUnitPrice;
160    }
161
162    /**
163     * Returns the maximumUnitPrice.
164     * @return the maximumUnitPrice
165     */
166    public String getMaximumUnitPrice() {
167        return maximumUnitPrice;
168    }
169
170    /**
171     * Sets the maximumUnitPrice.
172     * @param maximumUnitPrice the maximumUnitPrice to set
173     */
174    public void setMaximumUnitPrice(String maximumUnitPrice) {
175        this.maximumUnitPrice = maximumUnitPrice;
176    }
177    
178}