Class AbstractResultPopulator<SOURCE,TARGET>
java.lang.Object
de.hybris.platform.acceleratorservices.payment.cybersource.converters.populators.response.AbstractResultPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
- Direct Known Subclasses:
AuthReplyResultPopulator,CreateSubscriptionResultPopulator,CustomerBillToDataPopulator,CustomerInfoResultPopulator,CustomerShipToDataPopulator,OrderInfoResultPopulator,PaymentDataPopulator,PaymentInfoDataPopulator,PaymentInfoResultPopulator,SignatureResultPopulator,SubscriptionInfoResultPopulator,SubscriptionSignatureResultPopulator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BigDecimalgetBigDecimalForString(String value) Common method to convert a String to a BigDecimal using a formatFactory.protected FormatFactoryprotected IntegergetIntegerForString(String value) Common method to convert a String to an Integer.voidsetFormatFactory(FormatFactory formatFactory)
-
Constructor Details
-
AbstractResultPopulator
public AbstractResultPopulator()
-
-
Method Details
-
getFormatFactory
-
setFormatFactory
-
getBigDecimalForString
Common method to convert a String to a BigDecimal using a formatFactory.- Parameters:
value- - the String value to be converted.- Returns:
- - a BigDecimal object.
-
getIntegerForString
Common method to convert a String to an Integer.- Parameters:
value- - the String value to be converted.- Returns:
- - an Integer object.
-