Class RawTransaction.Builder

java.lang.Object
com.exonum.binding.core.transaction.RawTransaction.Builder
Enclosing class:
RawTransaction

public abstract static class RawTransaction.Builder
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    abstract RawTransaction build()
    Creates the RawTransaction instance with specified parameters.
    abstract RawTransaction.Builder payload​(byte[] payload)
    Sets the payload of the transaction.
    abstract RawTransaction.Builder serviceId​(int serviceId)
    Sets the identifier of the service this transaction belongs to.
    abstract RawTransaction.Builder transactionId​(int transactionId)
    Sets the identifier of the transaction within a service.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait