Class CartCreationRequest
java.lang.Object
com.broadleafcommerce.cartoperation.domain.CartCreationRequest
- All Implemented Interfaces:
Serializable
A request DTO used to create a new
Cart
.- Author:
- Nick Crum (ncrum)
- See Also:
-
Constructor Summary
ConstructorDescriptionCartCreationRequest
(AddItemRequest addItemRequest) CartCreationRequest
(AddItemRequest addItemRequest, PriceCartRequest priceCartRequest) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The initialAddItemRequest
to populate the cart.The initialPriceCartRequest
to price the cart.int
hashCode()
void
setAddItemRequest
(AddItemRequest addItemRequest) The initialAddItemRequest
to populate the cart.void
setPriceCartRequest
(PriceCartRequest priceCartRequest) The initialPriceCartRequest
to price the cart.toString()
-
Constructor Details
-
CartCreationRequest
-
CartCreationRequest
-
CartCreationRequest
public CartCreationRequest()
-
-
Method Details
-
getAddItemRequest
The initialAddItemRequest
to populate the cart. -
getPriceCartRequest
The initialPriceCartRequest
to price the cart. -
setAddItemRequest
The initialAddItemRequest
to populate the cart. -
setPriceCartRequest
The initialPriceCartRequest
to price the cart. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-