Show / Hide Table of Contents

Class Price

The price represented as a number and currency.

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

Constructors

Price()

Declaration
public Price()

Price(Price)

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

Properties

AmountMicros

The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).

Declaration
public long AmountMicros { get; set; }
Property Value
Type Description
long

CurrencyCode

The currency of the price using three-letter acronyms according to ISO 4217.

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

HasAmountMicros

Gets whether the "amount_micros" field is set

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

HasCurrencyCode

Gets whether the "currency_code" field is set

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