Class LoyaltyProgram
A message that represents loyalty program.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.products_v1beta.Data
Assembly: Google.Apis.Merchant.products_v1beta.dll
Syntax
public class LoyaltyProgram : IDirectResponseSchema
Properties
CashbackForFutureUse
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
The amount of loyalty points earned on a purchase.
Declaration
[JsonProperty("loyaltyPoints")]
public virtual 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
[JsonProperty("memberPriceEffectiveDate")]
public virtual 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
[JsonProperty("price")]
public virtual 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
[JsonProperty("programLabel")]
public virtual 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
[JsonProperty("shippingLabel")]
public virtual 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
[JsonProperty("tierLabel")]
public virtual string TierLabel { get; set; }
Property Value
Type | Description |
---|---|
string |