Class MonetaryToMonetaryConverter
java.lang.Object
org.modelmapper.AbstractConverter<javax.money.MonetaryAmount,javax.money.MonetaryAmount>
com.broadleafcommerce.common.extension.mapping.MonetaryToMonetaryConverter
- All Implemented Interfaces:
org.modelmapper.Converter<javax.money.MonetaryAmount,
javax.money.MonetaryAmount>
public class MonetaryToMonetaryConverter
extends org.modelmapper.AbstractConverter<javax.money.MonetaryAmount,javax.money.MonetaryAmount>
A converter to help inform
ModelMapper
how to convert MonetaryAmounts.- Author:
- Chad Harchar (charchar)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.money.MonetaryAmount
convert
(javax.money.MonetaryAmount source) Methods inherited from class org.modelmapper.AbstractConverter
convert, toString
-
Constructor Details
-
MonetaryToMonetaryConverter
public MonetaryToMonetaryConverter()
-
-
Method Details
-
convert
public javax.money.MonetaryAmount convert(javax.money.MonetaryAmount source) - Specified by:
convert
in classorg.modelmapper.AbstractConverter<javax.money.MonetaryAmount,
javax.money.MonetaryAmount>
-