Class ShipmentConverter
java.lang.Object
com.broadleafcommerce.order.provider.jpa.domain.support.ShipmentConverter
- All Implemented Interfaces:
 jakarta.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String> 
public class ShipmentConverter
extends Object
implements jakarta.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String> 
Used to convert an 
Shipment to a serialized JSON object string representation for
 persistence and vice-versa.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(com.broadleafcommerce.order.client.domain.Shipment attribute) com.broadleafcommerce.order.client.domain.ShipmentconvertToEntityAttribute(String dbData) com.fasterxml.jackson.databind.ObjectMapper 
- 
Constructor Details
- 
ShipmentConverter
public ShipmentConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
 - 
 - 
Method Details
- 
convertToDatabaseColumn
- Specified by:
 convertToDatabaseColumnin interfacejakarta.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String> 
 - 
convertToEntityAttribute
- Specified by:
 convertToEntityAttributein interfacejakarta.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String> 
 - 
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() 
 -