Class ProductDimension
The dimension of the product.
Implements
Namespace: Google.Shopping.Merchant.Products.V1Beta
Assembly: Google.Shopping.Merchant.Products.V1Beta.dll
Syntax
public sealed class ProductDimension : IMessage<ProductDimension>, IEquatable<ProductDimension>, IDeepCloneable<ProductDimension>, IBufferMessage, IMessage
Constructors
ProductDimension()
Declaration
public ProductDimension()
ProductDimension(ProductDimension)
Declaration
public ProductDimension(ProductDimension other)
Parameters
| Type | Name | Description |
|---|---|---|
| ProductDimension | other |
Properties
Unit
Required. The dimension units. Acceptable values are:
- "
in" - "
cm"
Declaration
public string Unit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.
Declaration
public double Value { get; set; }
Property Value
| Type | Description |
|---|---|
| double |