Class RecordPriceDataUsageResponse
java.lang.Object
com.broadleafcommerce.pricing.client.domain.usage.RecordPriceDataUsageResponse
- All Implemented Interfaces:
Serializable
Response DTO to represent the result of recording price data usages.
- Since:
- Pricing Client 2.0.3
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Miscellaneous attributes that can be added to this request in order to provide more information.A map of failedPriceDataUsage.getPriceDataId()
to the corresponding error.int
hashCode()
boolean
Whether the all usages were successfully recorded.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this request in order to provide more information.void
setErrorByPriceDataId
(Map<String, String> errorByPriceDataId) A map of failedPriceDataUsage.getPriceDataId()
to the corresponding error.void
setSuccess
(boolean success) Whether the all usages were successfully recorded.toString()
-
Constructor Details
-
RecordPriceDataUsageResponse
public RecordPriceDataUsageResponse()
-
-
Method Details
-
isSuccess
public boolean isSuccess()Whether the all usages were successfully recorded. -
getErrorByPriceDataId
A map of failedPriceDataUsage.getPriceDataId()
to the corresponding error.- See Also:
-
getAdditionalAttributes
Miscellaneous attributes that can be added to this request in order to provide more information. -
setSuccess
public void setSuccess(boolean success) Whether the all usages were successfully recorded. -
setErrorByPriceDataId
A map of failedPriceDataUsage.getPriceDataId()
to the corresponding error.- See Also:
-
setAdditionalAttributes
Miscellaneous attributes that can be added to this request in order to provide more information. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-