完整文档页面(中文翻译)。文末附有来源说明。

阅读英文版

referencejavacom-daml-ledger-javaapi-datacommandssubmission

CommandsSubmission

该类可用于构建有效的提交。它提供了用于初始创建的create(String、String、Optional、List)以及设置可选参数的方法,例如withActAs(List)、withWorkflowId(String)等。用法:varsubmission = CommandsSubmission.create(userId,commandId,Optional.of(同步器Id),commands).withAccessToken(token).withWorkflowId(workflowId).with…

CommandsSubmission - 稳定

上游文档:打开

签名

public final class CommandsSubmission extends Object

会员|文档 |会员|介绍 |已弃用 |已删除 | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ---------- | -------- | | [打开](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/CommandsSubmission.html#%3Cinit%3E%28java.util.Optional,java.lang.String,java.lang.String,java.util.List,java.uti l.Optional,java.util.Optional,java.util.Optional,java.util.Optional,java.util.List,java.util.List,java.util.Optional,java.util.List,java.util.Optional,java.util.Optional,java.util.List,java.util.List%29) | CommandsSubmission(Optional<String>, String, String, List<? extends HasCommands>, Optional<Duration>, Optional<Long>, Optional<Instant>, Optional<Duration>, List<String>, List<String>, Optional<String>, List<DisclosedContract>, Optional<String>, Optional<String>, List<String>, List<PrefetchContractKey>) | 3.4.8 | - | - || 打开 | create(String, String, Optional<String>, List<? extends HasCommands>) | 3.4.8 | - | - | | 打开 | equals(Object) | 3.4.8 | - | - | | 打开 | fromProto(CommandsOuterClass.Commands) | 3.4.8 | - | - || 打开 | getAccessToken() | 3.4.8 | - | - | | 打开 | getActAs() | 3.4.8 | - | - | | 打开 | getCommandId() | 3.4.8 | - | - || 打开 | getCommands() | 3.4.8 | - | - | | 打开 | getDeduplicationDuration() | 3.4.8 | - | - | | 打开 | getDeduplicationOffset() | 3.4.8 | - | - || 打开 | getDisclosedContracts() | 3.4.8 | - | - | | 打开 | getMinLedgerTimeAbs() | 3.4.8 | - | - | | 打开 | getMinLedgerTimeRel() | 3.4.8 | - | - || 打开 | getPackageIdSelectionPreference() | 3.4.8 | - | - | | 打开 | getPrefetchContractKeys() | 3.4.8 | - | - | | 打开 | getReadAs() | 3.4.8 | - | - || 打开 | getSubmissionId() | 3.4.8 | - | - | | 打开 | get同步器Id() | 3.4.8 | - | - | | 打开 | getUserId() | 3.4.8 | - | - || 打开 | getWorkflowId() | 3.4.8 | - | - | | 打开 | hashCode() | 3.4.8 | - | - | | 打开 | toProto() | 3.4.8 | - | - || 打开 | toString() | 3.4.8 | - | - | | 打开 | withAccessToken(String) | 3.4.8 | - | - | | 打开 | withActAs(List<String>) | 3.4.8 | - | - || 打开 | withActAs(String) | 3.4.8 | - | - | | 打开 | withCommands(List<? extends HasCommands>) | 3.4.8 | - | - | | 打开 | withDeduplicationDuration(Duration) | 3.4.8 | - | - || 打开 | withDeduplicationOffset(Long) | 3.4.8 | - | - | | 打开 | withDisclosedContracts(List<DisclosedContract>) | 3.4.8 | - | - | | 打开 | withMinLedgerTimeAbs(Instant) | 3.4.8 | - | - || 打开 | withMinLedgerTimeRel(Duration) | 3.4.8 | - | - | | 打开 | withPackageIdSelectionPreference(List<String>) | 3.4.8 | - | - | | 打开 | withPrefetchContractKeys(List<PrefetchContractKey>) | 3.4.8 | - | - || 打开 | withReadAs(List<String>) | 3.4.8 | - | - | | 打开 | withWorkflowId(String) | 3.4.8 | - | - |


本文由 CC Privacy Club 根据 Canton Network 官方文档(CC-BY-4.0)整理翻译,仅供学习;实现细节以官方最新版本为准。