Interface ShoppingLoyaltyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShoppingLoyalty,ShoppingLoyalty.Builder
public interface ShoppingLoyaltyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLoyaltyTier()The membership tier.com.google.protobuf.ByteStringgetLoyaltyTierBytes()The membership tier.booleanhasLoyaltyTier()The membership tier.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLoyaltyTier
boolean hasLoyaltyTier()
The membership tier. It is a free-form string as each merchant may have their own loyalty system. For example, it could be a number from 1 to 10, or a string such as "Golden" or "Silver", or even empty string "".
optional string loyalty_tier = 1;- Returns:
- Whether the loyaltyTier field is set.
-
getLoyaltyTier
java.lang.String getLoyaltyTier()
The membership tier. It is a free-form string as each merchant may have their own loyalty system. For example, it could be a number from 1 to 10, or a string such as "Golden" or "Silver", or even empty string "".
optional string loyalty_tier = 1;- Returns:
- The loyaltyTier.
-
getLoyaltyTierBytes
com.google.protobuf.ByteString getLoyaltyTierBytes()
The membership tier. It is a free-form string as each merchant may have their own loyalty system. For example, it could be a number from 1 to 10, or a string such as "Golden" or "Silver", or even empty string "".
optional string loyalty_tier = 1;- Returns:
- The bytes for loyaltyTier.
-
-