public static interface Service.LoyaltyProgramOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLoyaltyProgramTiers(int index)
public abstract Service.LoyaltyProgram.LoyaltyProgramTiers getLoyaltyProgramTiers(int index)Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Service.LoyaltyProgram.LoyaltyProgramTiers |
|
getLoyaltyProgramTiersCount()
public abstract int getLoyaltyProgramTiersCount()Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLoyaltyProgramTiersList()
public abstract List<Service.LoyaltyProgram.LoyaltyProgramTiers> getLoyaltyProgramTiersList()Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<LoyaltyProgramTiers> |
|
getLoyaltyProgramTiersOrBuilder(int index)
public abstract Service.LoyaltyProgram.LoyaltyProgramTiersOrBuilder getLoyaltyProgramTiersOrBuilder(int index)Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Service.LoyaltyProgram.LoyaltyProgramTiersOrBuilder |
|
getLoyaltyProgramTiersOrBuilderList()
public abstract List<? extends Service.LoyaltyProgram.LoyaltyProgramTiersOrBuilder> getLoyaltyProgramTiersOrBuilderList()Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.Service.LoyaltyProgram.LoyaltyProgramTiersOrBuilder> |
|
getProgramLabel()
public abstract String getProgramLabel()This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.
optional string program_label = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The programLabel. |
getProgramLabelBytes()
public abstract ByteString getProgramLabelBytes()This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.
optional string program_label = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for programLabel. |
hasProgramLabel()
public abstract boolean hasProgramLabel()This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.
optional string program_label = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the programLabel field is set. |