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

public abstract class AbstractResultPopulator<SOURCE,TARGET> extends Object implements Populator<SOURCE,TARGET>
  • Constructor Details

    • AbstractResultPopulator

      public AbstractResultPopulator()
  • Method Details

    • getFormatFactory

      protected FormatFactory getFormatFactory()
    • setFormatFactory

      public void setFormatFactory(FormatFactory formatFactory)
    • getBigDecimalForString

      protected BigDecimal getBigDecimalForString(String value)
      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

      protected Integer getIntegerForString(String value)
      Common method to convert a String to an Integer.
      Parameters:
      value - - the String value to be converted.
      Returns:
      - an Integer object.