Class: Google::Shopping::Merchant::Inventories::V1::RegionalInventoryAttributes
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Inventories::V1::RegionalInventoryAttributes
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/inventories/v1/inventories_common.rb
Overview
Regional inventory attributes.
Defined Under Namespace
Modules: Availability
Instance Attribute Summary collapse
-
#availability ⇒ ::Google::Shopping::Merchant::Inventories::V1::RegionalInventoryAttributes::Availability
Optional.
-
#price ⇒ ::Google::Shopping::Type::Price
Optional.
-
#sale_price ⇒ ::Google::Shopping::Type::Price
Optional.
-
#sale_price_effective_date ⇒ ::Google::Type::Interval
Optional.
Instance Attribute Details
#availability ⇒ ::Google::Shopping::Merchant::Inventories::V1::RegionalInventoryAttributes::Availability
Returns Optional. Availability of the product in this region.
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/shopping/merchant/inventories/v1/inventories_common.rb', line 161 class RegionalInventoryAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Availability](https://support.google.com/merchants/answer/14644124) of the # product in this region. module Availability # Indicates that the availability is unspecified. REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED = 0 # Indicates that the product is in stock. IN_STOCK = 1 # Indicates that the product is out of stock. OUT_OF_STOCK = 2 end end |
#price ⇒ ::Google::Shopping::Type::Price
Returns Optional. Price of the product in this region.
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/shopping/merchant/inventories/v1/inventories_common.rb', line 161 class RegionalInventoryAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Availability](https://support.google.com/merchants/answer/14644124) of the # product in this region. module Availability # Indicates that the availability is unspecified. REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED = 0 # Indicates that the product is in stock. IN_STOCK = 1 # Indicates that the product is out of stock. OUT_OF_STOCK = 2 end end |
#sale_price ⇒ ::Google::Shopping::Type::Price
Returns Optional. Sale price of the product in this region. Mandatory if
[salePriceEffectiveDate
][RegionalInventory.sale_price_effective_date] is
defined.
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/shopping/merchant/inventories/v1/inventories_common.rb', line 161 class RegionalInventoryAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Availability](https://support.google.com/merchants/answer/14644124) of the # product in this region. module Availability # Indicates that the availability is unspecified. REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED = 0 # Indicates that the product is in stock. IN_STOCK = 1 # Indicates that the product is out of stock. OUT_OF_STOCK = 2 end end |
#sale_price_effective_date ⇒ ::Google::Type::Interval
Returns Optional. The TimePeriod
of the
sale price in this region.
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/shopping/merchant/inventories/v1/inventories_common.rb', line 161 class RegionalInventoryAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Availability](https://support.google.com/merchants/answer/14644124) of the # product in this region. module Availability # Indicates that the availability is unspecified. REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED = 0 # Indicates that the product is in stock. IN_STOCK = 1 # Indicates that the product is out of stock. OUT_OF_STOCK = 2 end end |