Interface Sku.SkuPrice.TieredPrice.PriceTierOrBuilder (0.1.0)

public static interface Sku.SkuPrice.TieredPrice.PriceTierOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrice()

public abstract Money getPrice()

Output only. The price per price_unit_count of unit in the tier. The price is applied fractionally if the customer's usage within the tier is not an integer multiple of price_unit_count.

.google.type.Money price = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money

The price.

getPriceOrBuilder()

public abstract MoneyOrBuilder getPriceOrBuilder()

Output only. The price per price_unit_count of unit in the tier. The price is applied fractionally if the customer's usage within the tier is not an integer multiple of price_unit_count.

.google.type.Money price = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.MoneyOrBuilder

getStartAmount()

public abstract Decimal getStartAmount()

Output only. Inclusive lower bound of the tier interval, denominated in unit.

.google.type.Decimal start_amount = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Decimal

The startAmount.

getStartAmountOrBuilder()

public abstract DecimalOrBuilder getStartAmountOrBuilder()

Output only. Inclusive lower bound of the tier interval, denominated in unit.

.google.type.Decimal start_amount = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.DecimalOrBuilder

hasPrice()

public abstract boolean hasPrice()

Output only. The price per price_unit_count of unit in the tier. The price is applied fractionally if the customer's usage within the tier is not an integer multiple of price_unit_count.

.google.type.Money price = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the price field is set.

hasStartAmount()

public abstract boolean hasStartAmount()

Output only. Inclusive lower bound of the tier interval, denominated in unit.

.google.type.Decimal start_amount = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startAmount field is set.