All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.commerce.tax.CommerceTaxValue Maven / Gradle / Ivy

There is a newer version: 87.0.0
Show 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.tax;

import java.math.BigDecimal;

/**
 * @author Marco Leo
 */
public class CommerceTaxValue {

	public CommerceTaxValue(String name, String label, BigDecimal amount) {
		_name = name;
		_label = label;
		_amount = amount;
	}

	public BigDecimal getAmount() {
		return _amount;
	}

	public String getLabel() {
		return _label;
	}

	public String getName() {
		return _name;
	}

	private final BigDecimal _amount;
	private final String _label;
	private final String _name;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy