Show / Hide Table of Contents

Class Weight

The weight represented as the value in string and the unit.

Inheritance
object
Weight
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class Weight : IDirectResponseSchema

Properties

AmountMicros

Required. The weight represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 kg = 1000000 micros). This field can also be set as infinity by setting to -1. This field only support -1 and positive value.

Declaration
[JsonProperty("amountMicros")]
public virtual long? AmountMicros { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Unit

Required. The weight unit. Acceptable values are: kg and lb

Declaration
[JsonProperty("unit")]
public virtual string Unit { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX