Class ProductPriceInformations
- java.lang.Object
-
- de.hybris.platform.jalo.order.price.ProductPriceInformations
-
public class ProductPriceInformations extends java.lang.ObjectThe price information object of the hybris platform. This interface describes how pricing informations must look like when they are returned by the installed price factory. Since each pricefactory may implement a different pricing model it is responsible to provide concrete info objects which implement this interface. Generally each pricing information consists of three possible parts: prices, taxes and discounts. Depending upon the model these might be multiple rows.
Since each row not just holds a value but is likely to be qualified somehow these are compound objects too.
-
-
Constructor Summary
Constructors Constructor Description ProductPriceInformations(PriceInformation pinf)ProductPriceInformations(java.util.Collection<PriceInformation> prices)ProductPriceInformations(java.util.Collection<PriceInformation> prices, java.util.Collection<TaxInformation> taxes)ProductPriceInformations(java.util.Collection<PriceInformation> prices, java.util.Collection<TaxInformation> taxes, java.util.Collection<DiscountInformation> discounts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<DiscountInformation>getDiscounts()The collection of available disocunts as discount info rows.java.util.Collection<PriceInformation>getPrices()The collection of all price info rows which have been found.java.util.Collection<TaxInformation>getTaxes()The collection of assigned taxes as tax info rows.
-
-
-
Constructor Detail
-
ProductPriceInformations
public ProductPriceInformations(PriceInformation pinf)
-
ProductPriceInformations
public ProductPriceInformations(java.util.Collection<PriceInformation> prices)
-
ProductPriceInformations
public ProductPriceInformations(java.util.Collection<PriceInformation> prices, java.util.Collection<TaxInformation> taxes)
-
ProductPriceInformations
public ProductPriceInformations(java.util.Collection<PriceInformation> prices, java.util.Collection<TaxInformation> taxes, java.util.Collection<DiscountInformation> discounts)
-
-
Method Detail
-
getPrices
public java.util.Collection<PriceInformation> getPrices()
The collection of all price info rows which have been found.
-
getDiscounts
public java.util.Collection<DiscountInformation> getDiscounts()
The collection of available disocunts as discount info rows.
-
getTaxes
public java.util.Collection<TaxInformation> getTaxes()
The collection of assigned taxes as tax info rows.
-
-