Class LocalInventoryAttributes
Local inventory attributes.
Implements
Namespace: Google.Shopping.Merchant.Inventories.V1
Assembly: Google.Shopping.Merchant.Inventories.V1.dll
Syntax
public sealed class LocalInventoryAttributes : IMessage<LocalInventoryAttributes>, IEquatable<LocalInventoryAttributes>, IDeepCloneable<LocalInventoryAttributes>, IBufferMessage, IMessage
Constructors
LocalInventoryAttributes()
Declaration
public LocalInventoryAttributes()
LocalInventoryAttributes(LocalInventoryAttributes)
Declaration
public LocalInventoryAttributes(LocalInventoryAttributes other)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalInventoryAttributes | other |
Properties
Availability
Availability of the product at this store.
Declaration
public LocalInventoryAttributes.Types.Availability Availability { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalInventoryAttributes.Types.Availability |
HasAvailability
Gets whether the "availability" field is set
Declaration
public bool HasAvailability { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasInstoreProductLocation
Gets whether the "instore_product_location" field is set
Declaration
public bool HasInstoreProductLocation { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPickupMethod
Gets whether the "pickup_method" field is set
Declaration
public bool HasPickupMethod { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPickupSla
Gets whether the "pickup_sla" field is set
Declaration
public bool HasPickupSla { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasQuantity
Gets whether the "quantity" field is set
Declaration
public bool HasQuantity { get; }
Property Value
| Type | Description |
|---|---|
| bool |
InstoreProductLocation
Optional. Location of the product inside the store. Maximum length is 20 bytes.
Declaration
public string InstoreProductLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PickupMethod
Optional. Supported pickup
method for this
product. Unless the value is "not supported", this field must be
submitted together with pickupSla.
Declaration
public LocalInventoryAttributes.Types.PickupMethod PickupMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalInventoryAttributes.Types.PickupMethod |
PickupSla
Optional. Relative time period from the order date for an order for this
product, from this store, to be ready for pickup. Must be submitted with
pickupMethod. See more details
here.
Declaration
public LocalInventoryAttributes.Types.PickupSla PickupSla { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalInventoryAttributes.Types.PickupSla |
Price
Optional. Price of the product at this store.
Declaration
public Price Price { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
Quantity
Optional. Quantity of the product available at this store. Must be greater than or equal to zero.
Declaration
public long Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
SalePrice
Optional. Sale price of the product at this store. Mandatory if
[salePriceEffectiveDate][LocalInventory.sale_price_effective_date] is
defined.
Declaration
public Price SalePrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
SalePriceEffectiveDate
Optional. The TimePeriod of the
sale at this store.
Declaration
public Interval SalePriceEffectiveDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Interval |