Class VoidTransactionModel


  • public class VoidTransactionModel
    extends java.lang.Object
    A request to void a previously created transaction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VoidReasonCode getCode()
      Getter for code Please specify the reason for voiding or cancelling this transaction.
      void setCode​(VoidReasonCode value)
      Setter for code Please specify the reason for voiding or cancelling this transaction.
      java.lang.String toString()
      Returns a JSON string representation of VoidTransactionModel
      • Methods inherited from class java.lang.Object

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

      • VoidTransactionModel

        public VoidTransactionModel()
    • Method Detail

      • getCode

        public VoidReasonCode getCode()
        Getter for code Please specify the reason for voiding or cancelling this transaction. To void the transaction, please specify the reason 'DocVoided'. If you do not provide a reason, the void command will fail.
      • setCode

        public void setCode​(VoidReasonCode value)
        Setter for code Please specify the reason for voiding or cancelling this transaction. To void the transaction, please specify the reason 'DocVoided'. If you do not provide a reason, the void command will fail.
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of VoidTransactionModel
        Overrides:
        toString in class java.lang.Object