Class DefaultCCPaymentInfoDataPopulator

  • All Implemented Interfaces:
    Populator<java.util.Map<java.lang.String,​java.lang.String>,​CCPaymentInfoData>

    public class DefaultCCPaymentInfoDataPopulator
    extends java.lang.Object
    implements Populator<java.util.Map<java.lang.String,​java.lang.String>,​CCPaymentInfoData>
    Default credit card payment info populator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void populate​(java.util.Map<java.lang.String,​java.lang.String> source, CCPaymentInfoData target)
      Populate the target instance with values from the source instance.
      protected void populateBillingAddress​(AddressData billingAddress, java.util.Map<java.lang.String,​java.lang.String> source)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultCCPaymentInfoDataPopulator

        public DefaultCCPaymentInfoDataPopulator()
    • Method Detail

      • populate

        public void populate​(java.util.Map<java.lang.String,​java.lang.String> source,
                             CCPaymentInfoData target)
                      throws java.lang.IllegalArgumentException
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Specified by:
        populate in interface Populator<java.util.Map<java.lang.String,​java.lang.String>,​CCPaymentInfoData>
        Parameters:
        source - the source object
        target - the target to fill
        Throws:
        java.lang.IllegalArgumentException
      • populateBillingAddress

        protected void populateBillingAddress​(AddressData billingAddress,
                                              java.util.Map<java.lang.String,​java.lang.String> source)