public class PaymentMethodCheckoutStepController
extends AbstractCheckoutStepController
Constructor and Description |
---|
PaymentMethodCheckoutStepController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
back(RedirectAttributes redirectAttributes) |
java.lang.String |
doSelectPaymentMethod(java.lang.String selectedPaymentMethodId)
This method gets called when the "Use These Payment Details" button is clicked.
|
java.lang.String |
enterStep(Model model,
RedirectAttributes redirectAttributes) |
java.util.Collection<CountryData> |
getBillingCountries() |
protected CheckoutStep |
getCheckoutStep() |
java.util.List<SelectOption> |
getExpiryYears() |
java.lang.String |
next(RedirectAttributes redirectAttributes) |
java.lang.String |
remove(java.lang.String paymentMethodId,
RedirectAttributes redirectAttributes) |
protected void |
setupAddPaymentPage(Model model) |
protected void |
setupIsvPaymentForm(SopPaymentDetailsForm paymentDetailsForm,
Model model) |
public java.util.Collection<CountryData> getBillingCountries()
public java.util.List<SelectOption> getExpiryYears()
public java.lang.String enterStep(Model model, RedirectAttributes redirectAttributes) throws CMSItemNotFoundException
CMSItemNotFoundException
public java.lang.String remove(java.lang.String paymentMethodId, RedirectAttributes redirectAttributes) throws CMSItemNotFoundException
CMSItemNotFoundException
public java.lang.String doSelectPaymentMethod(java.lang.String selectedPaymentMethodId)
selectedPaymentMethodId
- - the id of the payment method to use.public java.lang.String back(RedirectAttributes redirectAttributes)
public java.lang.String next(RedirectAttributes redirectAttributes)
protected void setupAddPaymentPage(Model model) throws CMSItemNotFoundException
CMSItemNotFoundException
protected void setupIsvPaymentForm(SopPaymentDetailsForm paymentDetailsForm, Model model)
protected CheckoutStep getCheckoutStep()