Class LoyaltyProgram
Allows the setting up of loyalty program benefits (for example price or points). https://support.google.com/merchants/answer/12922446
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class LoyaltyProgram : IDirectResponseSchema
Properties
CashbackForFutureUse
Optional. The cashback that can be used for future purchases.
Declaration
[JsonProperty("cashbackForFutureUse")]
public virtual Price CashbackForFutureUse { get; set; }
Property Value
Type | Description |
---|---|
Price |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LoyaltyPoints
Optional. The amount of loyalty points earned on a purchase.
Declaration
[JsonProperty("loyaltyPoints")]
public virtual long? LoyaltyPoints { get; set; }
Property Value
Type | Description |
---|---|
long? |
MemberPriceEffectiveDate
Optional. 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
[JsonProperty("memberPriceEffectiveDate")]
public virtual string MemberPriceEffectiveDate { get; set; }
Property Value
Type | Description |
---|---|
string |
Price
Optional. The price for members of the given tier (instant discount price). Must be smaller or equal to the regular price.
Declaration
[JsonProperty("price")]
public virtual Price Price { get; set; }
Property Value
Type | Description |
---|---|
Price |
ProgramLabel
Required. 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. It must be provided so that 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
[JsonProperty("programLabel")]
public virtual string ProgramLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
TierLabel
Required. The label of the tier within the loyalty program. Must match one of the labels within the program.
Declaration
[JsonProperty("tierLabel")]
public virtual string TierLabel { get; set; }
Property Value
Type | Description |
---|---|
string |