Daml.Finance.Interface.Data.Reference.HolidayCalendar.Factory¶
Interfaces¶
interface Factory
Interface that allows implementing templates to create holiday calendars.
viewtype V
Choice Archive
Controller: Signatories of implementing template
Returns: ()
(no fields)
Choice Create
Create a new Holiday Calendar.
Controller: provider
Returns: ContractId I
Field Type Description calendar HolidayCalendarData Holiday Calendar Data used to define holidays. observers PartiesMap Observers. provider Party The calendar’s provider. Choice Remove
Archive an Holiday Calendar.
Controller: provider
Returns: ()
Field Type Description calendarCid ContractId I The calendar’s contractid. provider Party The calendar’s provider. Method asDisclosure : I
Conversion to
Disclosure
interface.Method create’ : Create -> Update (ContractId I)
Implementation of
Create
choice.Method remove : Remove -> Update ()
Implementation of
Remove
choice.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type Implementation t
= (HasToInterface t F, Implementation t)
Type constraint for requiring templates to implement
Factory
along withDisclosure
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView Factory V
data View