Show / Hide Table of Contents

Class ProductDimension

The dimension of the product.

Inheritance
object
ProductDimension
Implements
IMessage<ProductDimension>
IEquatable<ProductDimension>
IDeepCloneable<ProductDimension>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.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
In this article
Back to top Generated by DocFX