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 Details

    • MonetaryToMonetaryConverter

      public MonetaryToMonetaryConverter()
  • Method Details

    • convert

      public javax.money.MonetaryAmount convert(javax.money.MonetaryAmount source)
      Specified by:
      convert in class org.modelmapper.AbstractConverter<javax.money.MonetaryAmount,javax.money.MonetaryAmount>