Class CloseData

  • All Implemented Interfaces:
    tbdex.sdk.protocol.models.Data , tbdex.sdk.protocol.models.MessageData

    
    public final class CloseData
     implements MessageData
                        

    A data class implementing MessageData that represents the contents of a Close.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getReason() an explanation of why the exchange is being closed/completed
      final Boolean getSuccess() indicates whether the exchange successfully completed
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getReason

         final String getReason()

        an explanation of why the exchange is being closed/completed

      • getSuccess

         final Boolean getSuccess()

        indicates whether the exchange successfully completed