Class PaymentProtocol.Output

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    PaymentProtocol

    public static class PaymentProtocol.Output
    extends java.lang.Object
    implements java.io.Serializable
    Value object to hold amount/script pairs.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Output​(Coin amount, byte[] scriptData)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • amount

        @Nullable
        public final Coin amount
      • scriptData

        public final byte[] scriptData
    • Constructor Detail

      • Output

        public Output​(@Nullable
                      Coin amount,
                      byte[] scriptData)