Class CommandsSubmission

java.lang.Object
com.daml.ledger.javaapi.data.CommandsSubmission

public final class CommandsSubmission extends Object
This class can be used to build a valid submission. It provides #create(String, String, String, List) for initial creation and methods to set optional parameters e.g withActAs(List), withWorkflowId(String) etc. Usage:
   var submission = CommandsSubmission.create(userId, commandId, Optional.of(synchronizerId), commands)
                                   .withAccessToken(token)
                                   .withWorkflowId(workflowId)
                                   .with...