com.liferay.commerce.pricing.web.internal.model.TierPriceEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.pricing.web
Show all versions of com.liferay.commerce.pricing.web
Liferay Commerce Pricing Web
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.pricing.web.internal.model;
import java.math.BigDecimal;
/**
* @author Alessio Antonio Rendina
*/
public class TierPriceEntry {
public TierPriceEntry(
String discountLevels, String endDate, String override, String price,
BigDecimal quantity, String startDate, long tierPriceEntryId) {
_discountLevels = discountLevels;
_endDate = endDate;
_override = override;
_price = price;
_quantity = quantity;
_startDate = startDate;
_tierPriceEntryId = tierPriceEntryId;
}
public String getDiscountLevels() {
return _discountLevels;
}
public String getEndDate() {
return _endDate;
}
public String getOverride() {
return _override;
}
public String getPrice() {
return _price;
}
public BigDecimal getQuantity() {
return _quantity;
}
public String getStartDate() {
return _startDate;
}
public long getTierPriceEntryId() {
return _tierPriceEntryId;
}
private final String _discountLevels;
private final String _endDate;
private final String _override;
private final String _price;
private final BigDecimal _quantity;
private final String _startDate;
private final long _tierPriceEntryId;
}