public interface RegionalInventoryAttributesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAvailability()
public abstract RegionalInventoryAttributes.Availability getAvailability()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Availability |
The availability. |
getAvailabilityValue()
public abstract int getAvailabilityValue()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for availability. |
getPrice()
public abstract Price getPrice()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The price. |
getPriceOrBuilder()
public abstract PriceOrBuilder getPriceOrBuilder()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
getSalePrice()
public abstract Price getSalePrice() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The salePrice. |
getSalePriceEffectiveDate()
public abstract Interval getSalePriceEffectiveDate() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval |
The salePriceEffectiveDate. |
getSalePriceEffectiveDateOrBuilder()
public abstract IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.IntervalOrBuilder |
|
getSalePriceOrBuilder()
public abstract PriceOrBuilder getSalePriceOrBuilder() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
hasAvailability()
public abstract boolean hasAvailability()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the availability field is set. |
hasPrice()
public abstract boolean hasPrice()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the price field is set. |
hasSalePrice()
public abstract boolean hasSalePrice() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the salePrice field is set. |
hasSalePriceEffectiveDate()
public abstract boolean hasSalePriceEffectiveDate() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the salePriceEffectiveDate field is set. |