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 booleanbooleanMiscellaneous attributes that can be added to this request in order to provide more information.A map of failedPriceDataUsage.getPriceDataId()to the corresponding error.inthashCode()booleanWhether the all usages were successfully recorded.voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this request in order to provide more information.voidsetErrorByPriceDataId(Map<String, String> errorByPriceDataId) A map of failedPriceDataUsage.getPriceDataId()to the corresponding error.voidsetSuccess(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
-