Show / Hide Table of Contents

Class Distance

Maximum delivery radius. This is only required for the local delivery shipment type.

Inheritance
object
Distance
Implements
IMessage<Distance>
IEquatable<Distance>
IDeepCloneable<Distance>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class Distance : IMessage<Distance>, IEquatable<Distance>, IDeepCloneable<Distance>, IBufferMessage, IMessage

Constructors

Distance()

Declaration
public Distance()

Distance(Distance)

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

Properties

HasUnit

Gets whether the "unit" field is set

Declaration
public bool HasUnit { get; }
Property Value
Type Description
bool

HasValue

Gets whether the "value" field is set

Declaration
public bool HasValue { get; }
Property Value
Type Description
bool

Unit

Unit can differ based on country, it is parameterized to include miles and kilometers.

Declaration
public Distance.Types.Unit Unit { get; set; }
Property Value
Type Description
Distance.Types.Unit

Value

Integer value of distance.

Declaration
public long Value { get; set; }
Property Value
Type Description
long
In this article
Back to top Generated by DocFX