Show / Hide Table of Contents

Class ProductWeight

The weight of the product.

Inheritance
object
ProductWeight
Implements
IMessage<ProductWeight>
IEquatable<ProductWeight>
IDeepCloneable<ProductWeight>
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 ProductWeight : IMessage<ProductWeight>, IEquatable<ProductWeight>, IDeepCloneable<ProductWeight>, IBufferMessage, IMessage

Constructors

ProductWeight()

Declaration
public ProductWeight()

ProductWeight(ProductWeight)

Declaration
public ProductWeight(ProductWeight other)
Parameters
Type Name Description
ProductWeight other

Properties

Unit

Required. The weight unit. Acceptable values are:

  • "g"
  • "kg"
  • "oz"
  • "lb"
Declaration
public string Unit { get; set; }
Property Value
Type Description
string

Value

Required. The weight represented as a number. The weight 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