Interface PercentageAdjustmentOrBuilder (3.36.0)

public interface PercentageAdjustmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercentage()

public abstract Decimal getPercentage()

The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

.google.type.Decimal percentage = 2;

Returns
TypeDescription
com.google.type.Decimal

The percentage.

getPercentageOrBuilder()

public abstract DecimalOrBuilder getPercentageOrBuilder()

The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

.google.type.Decimal percentage = 2;

Returns
TypeDescription
com.google.type.DecimalOrBuilder

hasPercentage()

public abstract boolean hasPercentage()

The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

.google.type.Decimal percentage = 2;

Returns
TypeDescription
boolean

Whether the percentage field is set.