org.broadleafcommerce.core.web.api.endpoint.checkout
Class CheckoutEndpoint

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.endpoint.BaseEndpoint
      extended by org.broadleafcommerce.core.web.api.endpoint.checkout.CheckoutEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.MessageSourceAware

public abstract class CheckoutEndpoint
extends BaseEndpoint

This endpoint depends on JAX-RS to provide checkout services. It should be extended by components that actually wish to provide an endpoint. The annotations such as @Path, @Scope, @Context, @PathParam, @QueryParam,


Field Summary
protected  CheckoutService checkoutService
           
protected  CompositePaymentService compositePaymentService
           
protected  OrderService orderService
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.endpoint.BaseEndpoint
context, messageSource
 
Constructor Summary
CheckoutEndpoint()
           
 
Method Summary
 PaymentResponseItemWrapper executePayment(javax.servlet.http.HttpServletRequest request, PaymentReferenceMapWrapper mapWrapper)
           
 OrderWrapper performCheckout(javax.servlet.http.HttpServletRequest request, List<PaymentReferenceMapWrapper> mapWrappers)
           
 
Methods inherited from class org.broadleafcommerce.core.web.api.endpoint.BaseEndpoint
setApplicationContext, setMessageSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkoutService

protected CheckoutService checkoutService

compositePaymentService

protected CompositePaymentService compositePaymentService

orderService

protected OrderService orderService
Constructor Detail

CheckoutEndpoint

public CheckoutEndpoint()
Method Detail

executePayment

public PaymentResponseItemWrapper executePayment(javax.servlet.http.HttpServletRequest request,
                                                 PaymentReferenceMapWrapper mapWrapper)

performCheckout

public OrderWrapper performCheckout(javax.servlet.http.HttpServletRequest request,
                                    List<PaymentReferenceMapWrapper> mapWrappers)


Copyright © 2013. All Rights Reserved.