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

阅读英文版

referencejavacom-daml-ledger-javaapi-dataupdatesubmission

UpdateSubmission

此类可用于构建有效的更新提交。它提供了用于初始创建的 create(String, String, Update) 和设置可选参数的方法,例如 withActAs(List)、withWorkflowId(String) 等。用法: varsubmission = UpdateSubmission.create(userId, commandId, update) .withAccessToken(token) .withParty(party) .with…

更新提交 - 稳定

上游文档:打开

签名

public final class UpdateSubmission<U> extends Object

会员|文档 |会员|介绍 |已弃用 |已删除 | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------- | ---------- | -------- | | 打开 | create(String, String, Update<U>) | 3.4.8 | - | - | | 打开 | getAccessToken() | 3.4.8 | - | - | | 打开 | getActAs() | 3.4.8 | - | - | | 打开 | getCommandId() | 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 | - | - | | 打开 | get同步器Id() | 3.4.8 | - | - | | 打开 | getUpdate() | 3.4.8 | - | - | | 打开 | getUserId() | 3.4.8 | - | - | | 打开 | getWorkflowId() | 3.4.8 | - | - || 打开 | toCommandsSubmission() | 3.4.8 | - | - | | 打开 | withAccessToken(Optional<String>) | 3.4.8 | - | - | | 打开 | withActAs(List<String>) | 3.4.8 | - | - | | 打开 | withActAs(String) | 3.4.8 | - | - | | 打开 | withDeduplicationDuration(Optional<Duration>) | 3.4.8 | - | - | | 打开 | withDeduplicationOffset(Optional<Long>) | 3.4.8 | - | - | | 打开 | withDisclosedContracts(List<DisclosedContract>) | 3.4.8 | - | - | | 打开 | withMinLedgerTimeAbs(Optional<Instant>)| 3.4.8 | - | - | | 打开 | withMinLedgerTimeRel(Optional<Duration>) | 3.4.8 | - | - || 打开 | withPackageIdSelectionPreference(List<String>) | 3.4.8 | - | - | | 打开 | withPrefetchContractKeys(List<PrefetchContractKey>) | 3.4.8 | - | - | | 打开 | withReadAs(List<String>) | 3.4.8 | - | - | | 打开 | with同步器Id(String) | 3.4.8 | - | - | | 打开 | withWorkflowId(String) | 3.4.8 | - | - |


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