Class LoyaltyPoints
A message that represents loyalty points.
Implements
Namespace: Google.Shopping.Merchant.Products.V1Beta
Assembly: Google.Shopping.Merchant.Products.V1Beta.dll
Syntax
public sealed class LoyaltyPoints : IMessage<LoyaltyPoints>, IEquatable<LoyaltyPoints>, IDeepCloneable<LoyaltyPoints>, IBufferMessage, IMessage
Constructors
LoyaltyPoints()
Declaration
public LoyaltyPoints()
LoyaltyPoints(LoyaltyPoints)
Declaration
public LoyaltyPoints(LoyaltyPoints other)
Parameters
Type | Name | Description |
---|---|---|
LoyaltyPoints | other |
Properties
Name
Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PointsValue
The retailer's loyalty points in absolute value.
Declaration
public long PointsValue { get; set; }
Property Value
Type | Description |
---|---|
long |
Ratio
The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
Declaration
public double Ratio { get; set; }
Property Value
Type | Description |
---|---|
double |