org.broadleafcommerce.core.web.controller.checkout
Class CheckoutController

java.lang.Object
  extended by org.broadleafcommerce.core.web.controller.checkout.CheckoutController

@Controller(value="blCheckoutController")
@RequestMapping(value="/checkout")
public class CheckoutController
extends Object


Field Summary
protected  CartService cartService
           
protected  CheckoutFormValidator checkoutFormValidator
           
protected  CheckoutService checkoutService
           
protected  String checkoutView
           
protected  CountryService countryService
           
protected  CustomerAddressService customerAddressService
           
protected  CustomerPhoneService customerPhoneService
           
protected  CustomerService customerService
           
protected  CustomerState customerState
           
protected  PaymentInfoService paymentInfoService
           
protected  String receiptView
           
protected  SecurePaymentInfoService securePaymentInfoService
           
protected  StateService stateService
           
 
Constructor Summary
CheckoutController()
           
 
Method Summary
 String checkout(CheckoutForm checkoutForm, org.springframework.validation.BindingResult errors, org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
           
 String processCheckout(CheckoutForm checkoutForm, org.springframework.validation.BindingResult errors, org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
           
protected  Order retrieveCartOrder(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
           
 void setCheckoutView(String checkoutView)
           
 void setReceiptView(String receiptView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cartService

protected CartService cartService

customerState

protected CustomerState customerState

customerAddressService

protected CustomerAddressService customerAddressService

customerPhoneService

protected CustomerPhoneService customerPhoneService

checkoutService

protected CheckoutService checkoutService

stateService

protected StateService stateService

countryService

protected CountryService countryService

paymentInfoService

protected PaymentInfoService paymentInfoService

securePaymentInfoService

protected SecurePaymentInfoService securePaymentInfoService

checkoutFormValidator

protected CheckoutFormValidator checkoutFormValidator

customerService

protected CustomerService customerService

checkoutView

protected String checkoutView

receiptView

protected String receiptView
Constructor Detail

CheckoutController

public CheckoutController()
Method Detail

setReceiptView

public void setReceiptView(String receiptView)

setCheckoutView

public void setCheckoutView(String checkoutView)

processCheckout

@RequestMapping(value="/checkout.htm",
                method=POST)
public String processCheckout(@ModelAttribute
                                             CheckoutForm checkoutForm,
                                             org.springframework.validation.BindingResult errors,
                                             org.springframework.ui.ModelMap model,
                                             javax.servlet.http.HttpServletRequest request)

checkout

@RequestMapping(value="/checkout.htm",
                method=GET)
public String checkout(@ModelAttribute
                                      CheckoutForm checkoutForm,
                                      org.springframework.validation.BindingResult errors,
                                      org.springframework.ui.ModelMap model,
                                      javax.servlet.http.HttpServletRequest request)

retrieveCartOrder

protected Order retrieveCartOrder(javax.servlet.http.HttpServletRequest request,
                                  org.springframework.ui.ModelMap model)


Copyright © 2012. All Rights Reserved.