Show / Hide Table of Contents

Class LoyaltyProgram

A message that represents loyalty program.

Inheritance
object
LoyaltyProgram
Implements
IMessage<LoyaltyProgram>
IEquatable<LoyaltyProgram>
IDeepCloneable<LoyaltyProgram>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.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

HasShippingLabel

Gets whether the "shipping_label" field is set

Declaration
public bool HasShippingLabel { 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

MemberPriceEffectiveDate

A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.

Declaration
public Interval MemberPriceEffectiveDate { get; set; }
Property Value
Type Description
Interval

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 business 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 business. The corresponding program must be linked to the Merchant Center account.

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

ShippingLabel

The label of the shipping benefit. If the field has value, this offer has loyalty shipping benefit. If the field value isn't provided, the item is not eligible for loyalty shipping for the given loyalty tier.

Declaration
public string ShippingLabel { 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
In this article
Back to top Generated by DocFX