Interface UnitPricingBaseMeasureOrBuilder (0.5.0)

public interface UnitPricingBaseMeasureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUnit()

public abstract String getUnit()

The unit of the denominator.

string unit = 2;

Returns
Type Description
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

The unit of the denominator.

string unit = 2;

Returns
Type Description
ByteString

The bytes for unit.

getValue()

public abstract long getValue()

The denominator of the unit price.

int64 value = 1;

Returns
Type Description
long

The value.