Module Daml.Finance.Interface.Data.Reference.HolidayCalendar

Interfaces

interface HolidayCalendar

Interface for contracts storing holiday calendar data on the ledger.

  • Choice Archive

    (no fields)

  • Choice GetView

    Retrieves the interface view.

    Field Type Description
    viewer Party The party fetching the view.
  • Choice UpdateCalendar

    Updates the holiday calendar.

    Field Type Description
    newCalendar HolidayCalendarData The new HolidayCalendarData.
  • Method asDisclosure : I

    Conversion to Disclosure interface.

  • Method updateCalendar : UpdateCalendar -> Update (ContractId HolidayCalendar)

    Updates the holiday calendar.

Typeclasses

class Implementation t => HasImplementation t where

Data Types

type I

= HolidayCalendar

Type synonym for HolidayCalendar.

instance HasMethod Factory "create’" (Create -> Update (ContractId I))

type Implementation t

= (HasToInterface t I, Implementation t)

Type constraint for requiring templates to implement HolidayCalendar along with Disclosure.

type V

= View

Type synonym for View.

instance HasFromAnyView HolidayCalendar V

data View

View for HolidayCalendar.

View

Field Type Description
provider Party The parties providing the HolidayCalendar.
calendar HolidayCalendarData Holiday Calendar Data used to define holidays.