public class SummaryCheckoutStepController
extends AbstractCheckoutStepController
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
ISV_SOP_CARD_TYPES |
Constructor and Description |
---|
SummaryCheckoutStepController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
back(RedirectAttributes redirectAttributes) |
java.lang.String |
enterStep(Model model,
RedirectAttributes redirectAttributes) |
java.lang.String |
enterStepWithPaymentError(Model model,
RedirectAttributes redirectModel) |
protected CheckoutFacade |
getB2BCheckoutFacade() |
protected CheckoutStep |
getCheckoutStep() |
protected java.util.List<java.lang.String> |
getNumberRange(int startNumber,
int endNumber) |
protected void |
initBinder(ServletRequestDataBinder binder) |
java.lang.String |
next(RedirectAttributes redirectAttributes) |
java.lang.String |
paymentCanceled(Model model) |
java.lang.String |
placeOrder(PlaceOrderForm placeOrderForm,
Model model,
RedirectAttributes redirectModel) |
protected java.lang.String |
redirectToOrderConfirmationPage(PlaceOrderData placeOrderData,
AbstractOrderData orderData) |
protected boolean |
validateOrderForm(PlaceOrderForm placeOrderForm,
Model model)
Validates the order form before to filter out invalid order states
|
protected static final java.util.Map<java.lang.String,java.lang.String> ISV_SOP_CARD_TYPES
public java.lang.String enterStepWithPaymentError(Model model, RedirectAttributes redirectModel) throws CMSItemNotFoundException, CommerceCartModificationException
CMSItemNotFoundException
CommerceCartModificationException
public java.lang.String enterStep(Model model, RedirectAttributes redirectAttributes) throws CMSItemNotFoundException, CommerceCartModificationException
CMSItemNotFoundException
CommerceCartModificationException
public java.lang.String paymentCanceled(Model model)
protected java.util.List<java.lang.String> getNumberRange(int startNumber, int endNumber)
public java.lang.String placeOrder(PlaceOrderForm placeOrderForm, Model model, RedirectAttributes redirectModel) throws CMSItemNotFoundException, CommerceCartModificationException
CMSItemNotFoundException
CommerceCartModificationException
protected boolean validateOrderForm(PlaceOrderForm placeOrderForm, Model model)
placeOrderForm
- The spring form of the order being submittedmodel
- A spring Modelprotected CheckoutFacade getB2BCheckoutFacade()
protected java.lang.String redirectToOrderConfirmationPage(PlaceOrderData placeOrderData, AbstractOrderData orderData)
public java.lang.String back(RedirectAttributes redirectAttributes)
public java.lang.String next(RedirectAttributes redirectAttributes)
protected CheckoutStep getCheckoutStep()
protected void initBinder(ServletRequestDataBinder binder)