Options
All
  • Public
  • Public/Protected
  • All
Menu
module

Commodities Copyright (c) Jin Yang. All Rights Reserved.

Hierarchy

Index

Classes

Properties

Methods

Properties

Protected _data

_data: Data

Static _commodityTypes

_commodityTypes: Map<string, Data> = new Map()

Methods

code

  • code(): string
  • Returns string

empty

  • empty(): boolean
  • Returns boolean

init1

  • Returns CommodityType

init2

  • Parameters

    • code: string
    • name: string

    Returns CommodityType

name

  • name(): string
  • Returns string