Table of Contents

Class QuantityUnitHelper

Namespace
RetailForce.Fiscalisation.Model.Helper
Assembly
RetailForce.Fiscalisation.Model.dll
public static class QuantityUnitHelper
Inheritance
object
QuantityUnitHelper
Inherited Members

Methods

GetQuantityUnits()

Gets the quantity units.

public static List<QuantityUnitIso> GetQuantityUnits()

Returns

List<QuantityUnitIso>

TryGetIsoCode(QuantityUnitIsoCode, out string)

Tries the get iso code.

public static bool TryGetIsoCode(QuantityUnitIsoCode unitIsoCode, out string isoCode)

Parameters

unitIsoCode QuantityUnitIsoCode

The unit iso code.

isoCode string

The iso code.

Returns

bool

TryGetIsoCodeAllCaps(QuantityUnitIsoCode, out string)

Tries the get iso code all caps.

public static bool TryGetIsoCodeAllCaps(QuantityUnitIsoCode unitIsoCode, out string isoCode)

Parameters

unitIsoCode QuantityUnitIsoCode

The unit iso code.

isoCode string

The iso code.

Returns

bool