Class PriceDataUsage
java.lang.Object
com.broadleafcommerce.pricing.client.domain.usage.PriceDataUsage
- All Implemented Interfaces:
 Serializable
DTO used to record a price data usage for a specific target.
- Since:
 - Pricing Client 2.0.3
 - Author:
 - Sunny Yu
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id of the limited PriceData.The id of the PriceList that the limited price data was from.ThePriceableTargetto which this usage corresponds to.Defines the quantity that was used by this target.inthashCode()voidsetPriceDataId(String priceDataId) The id of the limited PriceData.voidsetPriceListId(String priceListId) The id of the PriceList that the limited price data was from.voidsetTarget(PriceableTarget target) ThePriceableTargetto which this usage corresponds to.voidsetUsageQuantity(Integer usageQuantity) Defines the quantity that was used by this target.toString() 
- 
Constructor Details
- 
PriceDataUsage
public PriceDataUsage() 
 - 
 - 
Method Details
- 
getTarget
ThePriceableTargetto which this usage corresponds to. - 
getPriceDataId
The id of the limited PriceData. - 
getPriceListId
The id of the PriceList that the limited price data was from. - 
getUsageQuantity
Defines the quantity that was used by this target. - 
setTarget
ThePriceableTargetto which this usage corresponds to. - 
setPriceDataId
The id of the limited PriceData. - 
setPriceListId
The id of the PriceList that the limited price data was from. - 
setUsageQuantity
Defines the quantity that was used by this target. - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() - 
toString
 
 -