org.broadleafcommerce.core.web.api.endpoint.checkout
@Component(value="blRestCheckoutEndpoint") @Scope(value="singleton") public class CheckoutEndpoint extends Object implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected CheckoutService |
checkoutService |
protected CompositePaymentService |
compositePaymentService |
protected org.springframework.context.ApplicationContext |
context |
protected OrderService |
orderService |
| Constructor and Description |
|---|
CheckoutEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
PaymentResponseItemWrapper |
executePayment(javax.servlet.http.HttpServletRequest request,
PaymentReferenceMapWrapper mapWrapper) |
OrderWrapper |
performCheckout(javax.servlet.http.HttpServletRequest request,
List<PaymentReferenceMapWrapper> mapWrappers) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected CheckoutService checkoutService
protected CompositePaymentService compositePaymentService
protected OrderService orderService
protected org.springframework.context.ApplicationContext context
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic PaymentResponseItemWrapper executePayment(@Context javax.servlet.http.HttpServletRequest request, PaymentReferenceMapWrapper mapWrapper)
public OrderWrapper performCheckout(@Context javax.servlet.http.HttpServletRequest request, List<PaymentReferenceMapWrapper> mapWrappers)
Copyright © 2015. All Rights Reserved.