Class CCVoidTransactionObject

  • All Implemented Interfaces:
    CCTransaction, CCVoidTransaction, IPGApiTransaction

    public final class CCVoidTransactionObject
    extends CCTransactionObject
    implements CCVoidTransaction
    This class represents a Void transaction and allows for setting its optional attributes by calling the appropriate setter methods. An instance of this class is created when calling IPGApiClient#createVoidTransaction(String, String).
    Author:
    Andreas Schmid
    • Constructor Detail

      • CCVoidTransactionObject

        public CCVoidTransactionObject​(String orderId,
                                       String tDate)
        creates a Void transaction with the minimum set of parameters - note that you can add optional fields by calling the appropriate setter methods on the returned CCVoidTransactionObject instance
        Parameters:
        orderId - the order ID this transaction refers to and which is contained in an IPGApiResult instance returned as result to a successful transaction of any other type - call IPGApiResult.getOrderId() for accessing this order ID
        tDate - the tDate which identifies the transaction to be voided