Interface CostProjectionOrBuilder (2.21.0)

public interface CostProjectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCost()

public abstract Money getCost()

An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

.google.type.Money cost = 1;

Returns
TypeDescription
com.google.type.Money

The cost.

getCostOrBuilder()

public abstract MoneyOrBuilder getCostOrBuilder()

An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

.google.type.Money cost = 1;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

getDuration()

public abstract Duration getDuration()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
DurationOrBuilder

hasCost()

public abstract boolean hasCost()

An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

.google.type.Money cost = 1;

Returns
TypeDescription
boolean

Whether the cost field is set.

hasDuration()

public abstract boolean hasDuration()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
boolean

Whether the duration field is set.