Class PaymentController
java.lang.Object
de.hybris.platform.integration.cis.subscription.controllers.pages.payment.PaymentController
PaymentController
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPaymentMethod(org.springframework.ui.Model model, String sessionToken, String billingAddressPk, String lang) protected CheckoutFacadeprotected I18NServiceprotected ModelServiceprotected SubscriptionFacadeprotected UserFacadeprotected PaymentFormpopulatePaymentForm(String sessionToken, AddressModel billingAddress) Creates and populates the payment form model.
-
Field Details
-
START_YEARS
public static final int START_YEARS- See Also:
-
EXPIRY_YEARS
public static final int EXPIRY_YEARS- See Also:
-
-
Constructor Details
-
PaymentController
public PaymentController()
-
-
Method Details
-
getSubscriptionFacade
-
getCheckoutFacade
-
getUserFacade
-
getI18NService
-
getModelService
-
getCountries
-
getCardTypes
-
getTitles
-
getMonths
-
getStartYears
-
getExpiryYears
-
addPaymentMethod
-
populatePaymentForm
Creates and populates the payment form model.- Parameters:
sessionToken- the session tokenbillingAddress- the billing address- Returns:
PaymentForm
-