Class LoyaltyProgram
A message that represents loyalty program.
Implements
Namespace: Google.Shopping.Merchant.Products.V1Beta
Assembly: Google.Shopping.Merchant.Products.V1Beta.dll
Syntax
public sealed class LoyaltyProgram : IMessage<LoyaltyProgram>, IEquatable<LoyaltyProgram>, IDeepCloneable<LoyaltyProgram>, IBufferMessage, IMessage
Constructors
LoyaltyProgram()
Declaration
public LoyaltyProgram()
LoyaltyProgram(LoyaltyProgram)
Declaration
public LoyaltyProgram(LoyaltyProgram other)
Parameters
Type | Name | Description |
---|---|---|
LoyaltyProgram | other |
Properties
CashbackForFutureUse
The cashback that can be used for future purchases.
Declaration
public Price CashbackForFutureUse { get; set; }
Property Value
Type | Description |
---|---|
Price |
HasLoyaltyPoints
Gets whether the "loyalty_points" field is set
Declaration
public bool HasLoyaltyPoints { get; }
Property Value
Type | Description |
---|---|
bool |
HasProgramLabel
Gets whether the "program_label" field is set
Declaration
public bool HasProgramLabel { get; }
Property Value
Type | Description |
---|---|
bool |
HasTierLabel
Gets whether the "tier_label" field is set
Declaration
public bool HasTierLabel { get; }
Property Value
Type | Description |
---|---|
bool |
LoyaltyPoints
The amount of loyalty points earned on a purchase.
Declaration
public long LoyaltyPoints { get; set; }
Property Value
Type | Description |
---|---|
long |
Price
The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price.
Declaration
public Price Price { get; set; }
Property Value
Type | Description |
---|---|
Price |
ProgramLabel
The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a merchant entity and a loyalty program entity. The label must be provided so that the system can associate the assets below (for example, price and points) with a merchant. The corresponding program must be linked to the merchant account.
Declaration
public string ProgramLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
TierLabel
The label of the tier within the loyalty program. Must match one of the labels within the program.
Declaration
public string TierLabel { get; set; }
Property Value
Type | Description |
---|---|
string |