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

org.schema.UnitPriceSpecification Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show newest version
package org.schema;

/**
 * Schema.org/UnitPriceSpecification
 * The price asked for a given offer by the respective organization or person.
 *
 * @author schema.org
 * @class UnitPriceSpecification
 * @module org.schema
 * @extends PriceSpecification
 */
public class UnitPriceSpecification extends PriceSpecification {
	/**
	 * Schema.org/unitCode
	 * The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.
	 *
	 * @property unitCode
	 * @type Text
	 */
	public String unitCode;
	/**
	 * Schema.org/billingIncrement
	 * This property specifies the minimal quantity and rounding increment that will be the basis for the billing. The unit of measurement is specified by the unitCode property.
	 *
	 * @property billingIncrement
	 * @type Number
	 */
	public Double billingIncrement;
	/**
	 * Schema.org/referenceQuantity
	 * The reference quantity for which a certain price applies, e.g. 1 EUR per 4 kWh of electricity. This property is a replacement for unitOfMeasurement for the advanced cases where the price does not relate to a standard unit.
	 *
	 * @property referenceQuantity
	 * @type QuantitativeValue
	 */
	public QuantitativeValue referenceQuantity;
	/**
	 * Schema.org/unitText
	 * A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for
	 * unitCode.
	 *
	 * @property unitText
	 * @type Text
	 */
	public String unitText;
	/**
	 * Schema.org/priceType
	 * A short text or acronym indicating multiple price specifications for the same offer, e.g. SRP for the suggested retail price or INVOICE for the invoice price, mostly used in the car industry.
	 *
	 * @property priceType
	 * @type Text
	 */
	public String priceType;

	/**
	 * Constructor, automatically sets @context and @type.
	 *
	 * @constructor
	 */
	public UnitPriceSpecification() {
		context = "http://schema.org/";
		type = "UnitPriceSpecification";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy