Class SavedPaymentMethodActionConverter
java.lang.Object
com.broadleafcommerce.paymenttransaction.provider.jpa.domain.support.SavedPaymentMethodActionConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<SavedPaymentMethodNextAction,
String>
public class SavedPaymentMethodActionConverter
extends Object
implements jakarta.persistence.AttributeConverter<SavedPaymentMethodNextAction,String>
Used to convert a
SavedPaymentMethodNextAction
to a serialized JSON object string
representation for persistence and vice-versa.-
Constructor Summary
ConstructorDescriptionSavedPaymentMethodActionConverter
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionconvertToEntityAttribute
(String dbData) com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Details
-
SavedPaymentMethodActionConverter
public SavedPaymentMethodActionConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejakarta.persistence.AttributeConverter<SavedPaymentMethodNextAction,
String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<SavedPaymentMethodNextAction,
String>
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-