Class CheckoutProcessDto
java.lang.Object
com.broadleafcommerce.cartoperation.domain.checkout.CheckoutProcessDto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes that can be added to this request in order to provide more information.com.broadleafcommerce.cart.client.domain.CartgetCart()ResolvedCartfor this checkout process request.com.broadleafcommerce.order.common.domain.CustomerRefResolvedCustomerReffor this checkout process request representing the user submitting checkout.The originalCart.getStatus()before checkout submission.ResolvedPaymentSummariesfor this checkout process request.Resolved payment lock tokens for this checkout process request.Convenient method to get a list ofPaymentSummariesfromgetPaymentById().A unique id used to represent the request.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this request in order to provide more information.voidsetCart(com.broadleafcommerce.cart.client.domain.Cart cart) ResolvedCartfor this checkout process request.voidsetCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) ResolvedCustomerReffor this checkout process request representing the user submitting checkout.voidsetOriginalCartStatus(String originalCartStatus) The originalCart.getStatus()before checkout submission.voidsetPaymentById(Map<String, PaymentSummary> paymentById) ResolvedPaymentSummariesfor this checkout process request.voidsetPaymentLockTokens(Map<String, String> paymentLockTokens) Resolved payment lock tokens for this checkout process request.voidsetPaymentSummaries(List<PaymentSummary> paymentSummaries) Convenient method to setgetPaymentById()from a list ofPaymentSummariesvoidsetRequestId(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 ofPaymentSummariesfromgetPaymentById().- Returns:
- a list of
PaymentSummariesfromgetPaymentById().
-
setPaymentSummaries
Convenient method to setgetPaymentById()from a list ofPaymentSummaries- Parameters:
paymentSummaries- a list ofPaymentSummariesused 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()ResolvedCartfor this checkout process request. -
getCustomerRef
@Nullable public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()ResolvedCustomerReffor this checkout process request representing the user submitting checkout. -
getPaymentLockTokens
Resolved payment lock tokens for this checkout process request. -
getPaymentById
ResolvedPaymentSummariesfor 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) ResolvedCartfor this checkout process request. -
setCustomerRef
public void setCustomerRef(@Nullable com.broadleafcommerce.order.common.domain.CustomerRef customerRef) ResolvedCustomerReffor this checkout process request representing the user submitting checkout. -
setPaymentLockTokens
Resolved payment lock tokens for this checkout process request. -
setPaymentById
ResolvedPaymentSummariesfor 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()
-