public static interface PrivateOffer.SingleProductOffer.StandardIntervalPriceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPriceModel()
public abstract PrivateOffer.SingleProductOffer.PriceModel getPriceModel()Optional. The price model of the offer. Must be present to publish the offer.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel price_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.PriceModel |
The priceModel. |
getPriceModelOrBuilder()
public abstract PrivateOffer.SingleProductOffer.PriceModelOrBuilder getPriceModelOrBuilder()Optional. The price model of the offer. Must be present to publish the offer.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel price_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.PriceModelOrBuilder |
|
getStandardInterval()
public abstract PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval getStandardInterval()Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval standard_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval |
The standardInterval. |
getStandardIntervalValue()
public abstract int getStandardIntervalValue()Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval standard_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for standardInterval. |
hasPriceModel()
public abstract boolean hasPriceModel()Optional. The price model of the offer. Must be present to publish the offer.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel price_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priceModel field is set. |