public abstract class CheckoutEndpoint extends BaseEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.core.checkout.service.CheckoutService |
checkoutService |
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService |
customerPaymentService |
protected org.broadleafcommerce.core.payment.service.OrderPaymentService |
orderPaymentService |
protected org.broadleafcommerce.core.order.service.OrderService |
orderService |
context, messageSource| Constructor and Description |
|---|
CheckoutEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
OrderPaymentWrapper |
addOrderPaymentTransaction(javax.servlet.http.HttpServletRequest request,
Long orderPaymentId,
PaymentTransactionWrapper wrapper,
Long cartId) |
OrderPaymentWrapper |
addPaymentToOrder(javax.servlet.http.HttpServletRequest request,
OrderPaymentWrapper wrapper,
Long cartId) |
OrderPaymentWrapper |
addPaymentToOrderById(javax.servlet.http.HttpServletRequest request,
Double amount,
String currencyCode,
Long customerPaymentId,
Long cartId) |
List<OrderPaymentWrapper> |
findPaymentsForOrder(javax.servlet.http.HttpServletRequest request,
Long cartId) |
OrderWrapper |
performCheckout(javax.servlet.http.HttpServletRequest request,
Long cartId) |
OrderWrapper |
removePaymentFromOrder(javax.servlet.http.HttpServletRequest request,
OrderPaymentWrapper wrapper,
Long cartId) |
OrderWrapper |
removePaymentFromOrderById(javax.servlet.http.HttpServletRequest request,
Long paymentId,
Long cartId) |
getApplicationContext, getMessageSource, setApplicationContext, setMessageSourceprotected org.broadleafcommerce.core.checkout.service.CheckoutService checkoutService
protected org.broadleafcommerce.core.order.service.OrderService orderService
protected org.broadleafcommerce.core.payment.service.OrderPaymentService orderPaymentService
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService customerPaymentService
public List<OrderPaymentWrapper> findPaymentsForOrder(javax.servlet.http.HttpServletRequest request, Long cartId)
public OrderPaymentWrapper addPaymentToOrderById(javax.servlet.http.HttpServletRequest request, Double amount, String currencyCode, Long customerPaymentId, Long cartId)
public OrderPaymentWrapper addPaymentToOrder(javax.servlet.http.HttpServletRequest request, OrderPaymentWrapper wrapper, Long cartId)
public OrderWrapper removePaymentFromOrder(javax.servlet.http.HttpServletRequest request, OrderPaymentWrapper wrapper, Long cartId)
public OrderWrapper removePaymentFromOrderById(javax.servlet.http.HttpServletRequest request, Long paymentId, Long cartId)
public OrderPaymentWrapper addOrderPaymentTransaction(javax.servlet.http.HttpServletRequest request, Long orderPaymentId, PaymentTransactionWrapper wrapper, Long cartId)
public OrderWrapper performCheckout(javax.servlet.http.HttpServletRequest request, Long cartId)
Copyright © 2018. All rights reserved.