Class OfferPricingInfoConverter

java.lang.Object
ma.glasnost.orika.CustomConverter<OfferPricingInfoData,OfferPricingInfo>
de.hybris.platform.coretravelcommonsocc.mapping.converters.OfferPricingInfoConverter
All Implemented Interfaces:
ma.glasnost.orika.Converter<OfferPricingInfoData,OfferPricingInfo>, ma.glasnost.orika.MappedTypePair<OfferPricingInfoData,OfferPricingInfo>

public class OfferPricingInfoConverter extends ma.glasnost.orika.CustomConverter<OfferPricingInfoData,OfferPricingInfo>
Converter to convert the ReservationData from TransportReservation.
  • Field Summary

    Fields inherited from class ma.glasnost.orika.CustomConverter

    destinationType, mapperFacade, sourceType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(OfferPricingInfoData offerPricingInfoData, ma.glasnost.orika.metadata.Type<? extends OfferPricingInfo> type, ma.glasnost.orika.MappingContext mappingContext)
    Converts an offerPricingInfoData to an offerPricingInfo dto.

    Methods inherited from class ma.glasnost.orika.CustomConverter

    canConvert, equals, getAType, getBType, hashCode, setMapperFacade, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OfferPricingInfoConverter

      public OfferPricingInfoConverter()
  • Method Details

    • convert

      public OfferPricingInfo convert(OfferPricingInfoData offerPricingInfoData, ma.glasnost.orika.metadata.Type<? extends OfferPricingInfo> type, ma.glasnost.orika.MappingContext mappingContext)
      Converts an offerPricingInfoData to an offerPricingInfo dto.
      Parameters:
      offerPricingInfoData - the offer pricing info data to convert
      type - the destination type of the conversion
      mappingContext - the mapping context
      Returns:
      the OfferPricingInfo