Class CheckoutProcessDto
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.checkout.CheckoutProcessDto
-
public class CheckoutProcessDto extends Object
-
-
Constructor Summary
Constructors Constructor Description CheckoutProcessDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,Object>
getAdditionalAttributes()
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
getCustomerRef()
ResolvedCustomerRef
for this checkout process request representing the user submitting checkout.String
getOriginalCartStatus()
The originalCart.getStatus()
before checkout submission.Map<String,PaymentSummary>
getPaymentById()
ResolvedPaymentSummaries
for this checkout process request.Map<String,String>
getPaymentLockTokens()
Resolved payment lock tokens for this checkout process request.List<PaymentSummary>
getPaymentSummaries()
Convenient method to get a list ofPaymentSummaries
fromgetPaymentById()
.String
getRequestId()
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.String
toString()
-
-
-
Method Detail
-
getPaymentSummaries
public List<PaymentSummary> getPaymentSummaries()
Convenient method to get a list ofPaymentSummaries
fromgetPaymentById()
.- Returns:
- a list of
PaymentSummaries
fromgetPaymentById()
.
-
setPaymentSummaries
public void setPaymentSummaries(List<PaymentSummary> paymentSummaries)
Convenient method to setgetPaymentById()
from a list ofPaymentSummaries
- Parameters:
paymentSummaries
- a list ofPaymentSummaries
used to setgetPaymentById()
.
-
getRequestId
public String 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
public String 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
public Map<String,String> getPaymentLockTokens()
Resolved payment lock tokens for this checkout process request.
-
getPaymentById
public Map<String,PaymentSummary> getPaymentById()
ResolvedPaymentSummaries
for this checkout process request.
-
getAdditionalAttributes
public Map<String,Object> getAdditionalAttributes()
Miscellaneous attributes that can be added to this request in order to provide more information.
-
setRequestId
public void setRequestId(String requestId)
A unique id used to represent the request. This value can be used to link various persisted entities/values to the originating request.
-
setOriginalCartStatus
public void setOriginalCartStatus(String originalCartStatus)
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
public void setPaymentLockTokens(Map<String,String> paymentLockTokens)
Resolved payment lock tokens for this checkout process request.
-
setPaymentById
public void setPaymentById(Map<String,PaymentSummary> paymentById)
ResolvedPaymentSummaries
for this checkout process request.
-
setAdditionalAttributes
public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
Miscellaneous attributes that can be added to this request in order to provide more information.
-
canEqual
protected boolean canEqual(Object other)
-
-