Daml.Finance.Interface.Data.Reference.HolidayCalendar¶
Interfaces¶
interface HolidayCalendar
Interface for contracts storing holiday calendar data on the ledger.
viewtype V
Choice Archive
Controller: Signatories of implementing template
Returns: ()
(no fields)
Choice GetView
Retrieves the interface view.
Controller: viewer
Returns: View
Field Type Description viewer Party The party fetching the view. Choice UpdateCalendar
Updates the holiday calendar.
Controller: (DA.Internal.Record.getField @"provider" (view this))
Returns: ContractId HolidayCalendar
Field Type Description newCalendar HolidayCalendarData The new HolidayCalendarData
.Method updateCalendar : UpdateCalendar -> Update (ContractId HolidayCalendar)
Updates the holiday calendar.
Data Types¶
- type I
-
Type synonym for
HolidayCalendar
.instance HasMethod Factory "create’" (Create -> Update (ContractId I))
- type V
= View
Type synonym for
View
.instance HasFromAnyView HolidayCalendar V
data View
View for
HolidayCalendar
.
Field Type Description provider Party The parties providing the HolidayCalendar
.calendar HolidayCalendarData Holiday Calendar Data used to define holidays.