Interface ErroCodeToFormFieldMappingStrategy
- All Known Implementing Classes:
DefaultErroCodeToFormFieldMappingStrategy
public interface ErroCodeToFormFieldMappingStrategy
A mapping between Payment Service Providers error codes and Spring form ids.
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldForErrorCode(Integer code) Gets a spring form field id that maps to an error code from a payment provider
-
Method Details
-
getFieldForErrorCode
Gets a spring form field id that maps to an error code from a payment provider- Parameters:
code- An error code from PSP- Returns:
- A form field id
-