Module Daml.Finance.Interface.Settlement.RouteProvider¶
Interfaces¶
interface RouteProvider
An interface used to discover the settlement route for each
Step
, i.e.,[RoutedStep]
.
Choice Archive
(no fields)
Choice Discover
Discover the settlement route for each
Step
.
Field Type Description discoverors Parties Parties requesting to discover. contextId Optional Id Context for the discovery. steps [Step] Settlement steps to route. Choice GetView
Retrieves the interface view.
Field Type Description viewer Party The party retrieving the view. Method discover : Discover -> Update [RoutedStep]
Implementation of the
Discover
choice.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type I
-
Type synonym for
RouteProvider
.
- type Implementation t
= HasToInterface t I
Type constraint for requiring templates to implement
Factory
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView RouteProvider V
data View
Functions¶
- discover
- : RouteProvider -> Discover -> Update [RoutedStep]