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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceId
Sets the identifier of the service this transaction belongs to. -
transactionId
Sets the identifier of the transaction within a service. -
payload
Sets the payload of the transaction. -
build
Creates the RawTransaction instance with specified parameters.
-