Class CheckoutProcessDto
java.lang.Object
com.broadleafcommerce.cartoperation.domain.checkout.CheckoutProcessDto
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Miscellaneous attributes that can be added to this request in order to provide more information.com.broadleafcommerce.cart.client.domain.Cart
getCart()
ResolvedCart
for this checkout process request.com.broadleafcommerce.order.common.domain.CustomerRef
ResolvedCustomerRef
for this checkout process request representing the user submitting checkout.The originalCart.getStatus()
before checkout submission.ResolvedPaymentSummaries
for this checkout process request.Resolved payment lock tokens for this checkout process request.Convenient method to get a list ofPaymentSummaries
fromgetPaymentById()
.A unique id used to represent the request.int
hashCode()
void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this request in order to provide more information.void
setCart
(com.broadleafcommerce.cart.client.domain.Cart cart) ResolvedCart
for this checkout process request.void
setCustomerRef
(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) ResolvedCustomerRef
for this checkout process request representing the user submitting checkout.void
setOriginalCartStatus
(String originalCartStatus) The originalCart.getStatus()
before checkout submission.void
setPaymentById
(Map<String, PaymentSummary> paymentById) ResolvedPaymentSummaries
for this checkout process request.void
setPaymentLockTokens
(Map<String, String> paymentLockTokens) Resolved payment lock tokens for this checkout process request.void
setPaymentSummaries
(List<PaymentSummary> paymentSummaries) Convenient method to setgetPaymentById()
from a list ofPaymentSummaries
void
setRequestId
(String requestId) A unique id used to represent the request.toString()
-
Constructor Details
-
CheckoutProcessDto
public CheckoutProcessDto()
-
-
Method Details
-
getPaymentSummaries
Convenient method to get a list ofPaymentSummaries
fromgetPaymentById()
.- Returns:
- a list of
PaymentSummaries
fromgetPaymentById()
.
-
setPaymentSummaries
Convenient method to setgetPaymentById()
from a list ofPaymentSummaries
- Parameters:
paymentSummaries
- a list ofPaymentSummaries
used to setgetPaymentById()
.
-
getRequestId
A unique id used to represent the request. This value can be used to link various persisted entities/values to the originating request. -
getOriginalCartStatus
The originalCart.getStatus()
before checkout submission. -
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()ResolvedCart
for this checkout process request. -
getCustomerRef
@Nullable public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()ResolvedCustomerRef
for this checkout process request representing the user submitting checkout. -
getPaymentLockTokens
Resolved payment lock tokens for this checkout process request. -
getPaymentById
ResolvedPaymentSummaries
for this checkout process request. -
getAdditionalAttributes
Miscellaneous attributes that can be added to this request in order to provide more information. -
setRequestId
A unique id used to represent the request. This value can be used to link various persisted entities/values to the originating request. -
setOriginalCartStatus
The originalCart.getStatus()
before checkout submission. -
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) ResolvedCart
for this checkout process request. -
setCustomerRef
public void setCustomerRef(@Nullable com.broadleafcommerce.order.common.domain.CustomerRef customerRef) ResolvedCustomerRef
for this checkout process request representing the user submitting checkout. -
setPaymentLockTokens
Resolved payment lock tokens for this checkout process request. -
setPaymentById
ResolvedPaymentSummaries
for this checkout process request. -
setAdditionalAttributes
Miscellaneous attributes that can be added to this request in order to provide more information. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-