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
Modifier and TypeMethodDescriptionThe membership tier.com.google.protobuf.ByteStringThe membership tier.booleanThe membership tier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.
-