public class AddCodeToCartResponse extends Object implements Serializable
| Constructor and Description |
|---|
AddCodeToCartResponse() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<com.broadleafcommerce.order.common.domain.Adjustment> |
getAdjustments()
The list of adjustments that were added to the cart because of the code's application.
|
com.broadleafcommerce.cart.client.domain.Cart |
getCart()
The updated
Cart, including the code and applicable adjustments (discounts). |
String |
getCode()
The added offer or campaign code.
|
String |
getMessage()
A message describing the results of adding the code to the cart.
|
String |
getResponseCode()
A simple code describing the results of the add code to cart request.
|
int |
hashCode() |
void |
setAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> adjustments)
The list of adjustments that were added to the cart because of the code's application.
|
void |
setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
The updated
Cart, including the code and applicable adjustments (discounts). |
void |
setCode(String code)
The added offer or campaign code.
|
void |
setMessage(String message)
A message describing the results of adding the code to the cart.
|
void |
setResponseCode(String responseCode)
A simple code describing the results of the add code to cart request.
|
String |
toString() |
public com.broadleafcommerce.cart.client.domain.Cart getCart()
Cart, including the code and applicable adjustments (discounts).public String getCode()
public String getResponseCode()
DefaultAddCodeToCartResponseTypespublic String getMessage()
public List<com.broadleafcommerce.order.common.domain.Adjustment> getAdjustments()
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
Cart, including the code and applicable adjustments (discounts).cart - The updated cart, including the code and applicable adjustments (discounts).public void setCode(String code)
code - The added offer or campaign code.public void setResponseCode(String responseCode)
responseCode - A simple code describing the results of the add code to cart request.DefaultAddCodeToCartResponseTypespublic void setMessage(String message)
message - A message describing the results of adding the code to the cart.public void setAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> adjustments)
adjustments - The list of adjustments that were added to the cart because of the code's
application.protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.