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 boolean
boolean
The id of the limited PriceData.The id of the PriceList that the limited price data was from.ThePriceableTarget
to which this usage corresponds to.Defines the quantity that was used by this target.int
hashCode()
void
setPriceDataId
(String priceDataId) The id of the limited PriceData.void
setPriceListId
(String priceListId) The id of the PriceList that the limited price data was from.void
setTarget
(PriceableTarget target) ThePriceableTarget
to which this usage corresponds to.void
setUsageQuantity
(Integer usageQuantity) Defines the quantity that was used by this target.toString()
-
Constructor Details
-
PriceDataUsage
public PriceDataUsage()
-
-
Method Details
-
getTarget
ThePriceableTarget
to 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
ThePriceableTarget
to 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
-