org.broadleafcommerce.core.web.api.endpoint.checkout
Class CheckoutEndpoint
java.lang.Object
org.broadleafcommerce.core.web.api.endpoint.checkout.CheckoutEndpoint
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
@Component(value="blRestCheckoutEndpoint")
@Scope(value="singleton")
public class CheckoutEndpoint
- extends Object
- implements org.springframework.context.ApplicationContextAware
JAXRS endpoint for exposing the checkout process as a set of RESTful services.
User: Kelly Tisdell
Date: 4/10/12
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkoutService
protected CheckoutService checkoutService
compositePaymentService
protected CompositePaymentService compositePaymentService
orderService
protected OrderService orderService
context
protected org.springframework.context.ApplicationContext context
CheckoutEndpoint
public CheckoutEndpoint()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
executePayment
public PaymentResponseItemWrapper executePayment(@Context
javax.servlet.http.HttpServletRequest request,
PaymentReferenceMapWrapper mapWrapper)
performCheckout
public OrderWrapper performCheckout(@Context
javax.servlet.http.HttpServletRequest request,
List<PaymentReferenceMapWrapper> mapWrappers)
Copyright © 2013. All Rights Reserved.