Class ItemToPaymentMethodConverter
java.lang.Object
com.labs64.netlicensing.schema.converter.ItemToPaymentMethodConverter
- All Implemented Interfaces:
 Converter<Item,PaymentMethod> 
Convert 
Item entity into PaymentMethod object.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionConvert the source of type S to target type T. 
- 
Constructor Details
- 
ItemToPaymentMethodConverter
public ItemToPaymentMethodConverter() 
 - 
 - 
Method Details
- 
convert
Description copied from interface:ConverterConvert the source of type S to target type T.- Specified by:
 convertin interfaceConverter<Item,PaymentMethod> - Parameters:
 source- the source object to converter, which must be an instance of S- Returns:
 - the converted object, which must be an instance of T
 - Throws:
 ConversionException- if the source could not be converted to the desired target type
 - 
newTarget
 
 -