Class BLCPaymentMethodUtils
java.lang.Object
org.broadleafcommerce.common.util.BLCPaymentMethodUtils
Convenience class to payment method data for front-end display.
- Author:
- Chris Kittrell (ckittrell)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA helper method used to construct a list of Credit Card Expiration Months Useful for expiration dropdown menus.A helper method used to construct a list of Credit Card Expiration Years Useful for expiration dropdown menus.
-
Constructor Details
-
BLCPaymentMethodUtils
public BLCPaymentMethodUtils()
-
-
Method Details
-
getExpirationMonthOptions
A helper method used to construct a list of Credit Card Expiration Months Useful for expiration dropdown menus. Will use locale to determine language if a locale is available.- Returns:
- List containing expiration months of the form "01 - January"
-
getExpirationYearOptions
A helper method used to construct a list of Credit Card Expiration Years Useful for expiration dropdown menus.- Returns:
- List of the next ten years starting with the current year.
-