Class IdentifyCancellationPolicyResponse
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.domain.IdentifyCancellationPolicyResponse
- All Implemented Interfaces:
Serializable
Response DTO describing the result of identifying the cancellation policies for the
CartItems- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes that can be added to the response in order to provide more information.A map ofCartItem.getId()to the matchingCancellationPolicyRef.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to the response in order to provide more information.voidsetPolicyByCartItemId(Map<String, com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef> policyByCartItemId) A map ofCartItem.getId()to the matchingCancellationPolicyRef.toString()
-
Constructor Details
-
IdentifyCancellationPolicyResponse
public IdentifyCancellationPolicyResponse()
-
-
Method Details
-
getPolicyByCartItemId
public Map<String,com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef> getPolicyByCartItemId()A map ofCartItem.getId()to the matchingCancellationPolicyRef. -
getAdditionalAttributes
Miscellaneous attributes that can be added to the response in order to provide more information. -
setPolicyByCartItemId
public void setPolicyByCartItemId(Map<String, com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef> policyByCartItemId) A map ofCartItem.getId()to the matchingCancellationPolicyRef. -
setAdditionalAttributes
Miscellaneous attributes that can be added to the response in order to provide more information. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-