Class MarshalUtils


  • public final class MarshalUtils
    extends java.lang.Object
    Provides internal utility function which are not publicly available in the API. Use the class TxnVoBuilder instead.
    Since:
    5.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Txn marshalTxn​(com.avoka.fc.core.entity.Submission sub, boolean withFormDataMap, boolean withFormXml, boolean withGroupNames, boolean withPropertyMap, boolean withReceiptPdf, boolean withFileAttachList, boolean withDeliveryFuncs)
      Marshal a submission entity into a new Txn value object.
      • Methods inherited from class java.lang.Object

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

      • marshalTxn

        public static Txn marshalTxn​(com.avoka.fc.core.entity.Submission sub,
                                     boolean withFormDataMap,
                                     boolean withFormXml,
                                     boolean withGroupNames,
                                     boolean withPropertyMap,
                                     boolean withReceiptPdf,
                                     boolean withFileAttachList,
                                     boolean withDeliveryFuncs)
        Marshal a submission entity into a new Txn value object.
        Parameters:
        sub - the submission entity
        withFormDataMap - include form data map
        withFormXml - include form XML
        withGroupNames - include submission group names
        withPropertyMap - include property map
        withReceiptPdf - include the receipt PDF data
        withFileAttachList - include file attachments
        withDeliveryFuncs - include transaction delivery functions
        Returns:
        the new Txn value object