All Implemented Interfaces:
CheckoutStepController

@Controller @RequestMapping("/checkout/multi/tax-invoice") public class ChineseTaxInvoiceController extends AbstractCheckoutStepController
  • Constructor Details

    • ChineseTaxInvoiceController

      public ChineseTaxInvoiceController()
  • Method Details

    • initBinder

      @InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
    • enterStep

      @RequestMapping(method=GET) public String enterStep(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws CMSItemNotFoundException, CommerceCartModificationException
      Description copied from interface: CheckoutStepController
      Swapping the parameter order might break the validation aspect from working.
      Returns:
      returns the result for entering the checkout step
      Throws:
      CMSItemNotFoundException
      CommerceCartModificationException
    • addInvoice

      @RequestMapping(value="/add", method=POST) public String addInvoice(@ModelAttribute("invoiceForm") TaxInvoiceForm invoiceForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirect) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • back

      @RequestMapping(value="/back", method=GET) public String back(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      Returns:
      checkoutstep link for navigating back
    • next

      @RequestMapping(value="/next", method=GET) public String next(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      Returns:
      checkoutstep link for navigating next
    • getCheckoutStep

      protected CheckoutStep getCheckoutStep()
    • setTaxInvoices

      protected void setTaxInvoices(org.springframework.ui.Model model)
    • getBreadcrumbKey

      protected String getBreadcrumbKey()
    • populatorAttributes

      protected void populatorAttributes(org.springframework.ui.Model model) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • getEnumerationService

      protected EnumerationService getEnumerationService()
    • setEnumerationService

      public void setEnumerationService(EnumerationService enumerationService)
    • getTaxInvoiceValidator

      protected TaxInvoiceValidator getTaxInvoiceValidator()
    • setTaxInvoiceValidator

      public void setTaxInvoiceValidator(TaxInvoiceValidator taxInvoiceValidator)
    • getTaxInvoiceCheckoutFacade

      protected TaxInvoiceCheckoutFacade getTaxInvoiceCheckoutFacade()
    • setTaxInvoiceCheckoutFacade

      public void setTaxInvoiceCheckoutFacade(TaxInvoiceCheckoutFacade taxInvoiceCheckoutFacade)