tarifart

package
v0.0.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tarifart

type Tarifart int

Tarifart wird verwendet zur Charakterisierung von Zählern und daraus resultierenden Tarifen.

const (
	// EINTARIF = single tariff
	EINTARIF          Tarifart = iota + 1
	ZWEITARIF                  // ZWEITARIF = two tariffs
	MEHRTARIF                  // MEHRTARIF = multiple (>2) tariffs
	SMARTMETER                 // SMARTMETER means Smart Meter Tariff
	LEISTUNGSGEMESSEN          // LEISTUNGSGEMESSEN means Leistungsgemessener Tarif
)

func (Tarifart) MarshalJSON

func (r Tarifart) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Tarifart satisfies json.Marshaler.

func (Tarifart) String

func (i Tarifart) String() string

func (*Tarifart) UnmarshalJSON

func (r *Tarifart) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Tarifart satisfies json.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL