Class Choice<Tpl,ArgType,ResType>
java.lang.Object
com.daml.ledger.javaapi.data.codegen.Choice<Tpl,ArgType,ResType>
- Type Parameters:
Tpl- The generated template class or marker interface for a Daml interfaceArgType- The choice's argument typeResType- The result from exercising the choice
This represents a Daml choice that can be exercised on
ContractIds of type
ContractId<Tpl>.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal JsonLfDecoder<ArgType>final Function<ArgType,JsonLfEncoder> final ValueDecoder<ArgType>final StringThe choice name *final JsonLfDecoder<ResType>final Function<ResType,JsonLfEncoder> final ValueDecoder<ResType> -
Method Summary
-
Field Details
-
name
The choice name * -
encodeArg
-
argTypeDecoder
-
returnTypeDecoder
-
argJsonDecoder
-
resultJsonDecoder
-
argJsonEncoder
-
resultJsonEncoder
-