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 booleancanEqual(Object other)booleanequals(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.CartgetCart()ResolvedCartfor this checkout process request.com.broadleafcommerce.order.common.domain.CustomerRefgetCustomerRef()ResolvedCustomerReffor this checkout process request representing the user submitting checkout.StringgetOriginalCartStatus()The originalCart.getStatus()before checkout submission.Map<String,PaymentSummary>getPaymentById()ResolvedPaymentSummariesfor 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 ofPaymentSummariesfromgetPaymentById().StringgetRequestId()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.StringtoString()
-
-
-
Method Detail
-
getPaymentSummaries
public List<PaymentSummary> getPaymentSummaries()
Convenient method to get a list ofPaymentSummariesfromgetPaymentById().- Returns:
- a list of
PaymentSummariesfromgetPaymentById().
-
setPaymentSummaries
public void setPaymentSummaries(List<PaymentSummary> paymentSummaries)
Convenient method to setgetPaymentById()from a list ofPaymentSummaries- Parameters:
paymentSummaries- a list ofPaymentSummariesused 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()
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
public Map<String,String> getPaymentLockTokens()
Resolved payment lock tokens for this checkout process request.
-
getPaymentById
public Map<String,PaymentSummary> getPaymentById()
ResolvedPaymentSummariesfor 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)
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
public void setPaymentLockTokens(Map<String,String> paymentLockTokens)
Resolved payment lock tokens for this checkout process request.
-
setPaymentById
public void setPaymentById(Map<String,PaymentSummary> paymentById)
ResolvedPaymentSummariesfor 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)
-
-