Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.86 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.86 KB

AGCO Break Open Ticket Types

npm (scoped) Maintainability codecov DeepSource Coverage Testing

Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.

Schedule of Approved Break Open Ticket Types and Associated Expense Maximums

Installation

npm install @cityssm/agco-break-open-ticket-types

Usage

import {
  isTicketType,
  ticketTypes
} from '@cityssm/agco-break-open-ticket-types'

console.log(isTicketType('BN1'))
// => true

console.log(isTicketType('AG1000'))
// => false

console.log(ticketTypes.SP1)
/*
  {
    ticketType: "SP1",
    ticketPrice: 0.5,
    ticketCount: 2730,
    prizesPerDeal: 930
  }
 */

Related Projects

Lottery Licence Manager
A web application for managing AGCO's municipal lottery licensing requirements in Ontario.