public interface LoyaltyCustomerOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLoyaltyTier()
public abstract LoyaltyCustomer.LoyaltyTier getLoyaltyTier()Required. The tier label of the loyalty tier the customer belongs to.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer.LoyaltyTier loyalty_tier = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoyaltyCustomer.LoyaltyTier |
The loyaltyTier. |
getLoyaltyTierValue()
public abstract int getLoyaltyTierValue()Required. The tier label of the loyalty tier the customer belongs to.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer.LoyaltyTier loyalty_tier = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for loyaltyTier. |
getPointBalance()
public abstract long getPointBalance()Optional. The point balance of the loyalty customer.
int64 point_balance = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The pointBalance. |
getUserIdentifier()
public abstract UserIdentifier getUserIdentifier()Required. The identifiers for the customer.
.google.shopping.merchant.loyaltycustomers.v1.UserIdentifier user_identifier = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserIdentifier |
The userIdentifier. |
getUserIdentifierOrBuilder()
public abstract UserIdentifierOrBuilder getUserIdentifierOrBuilder()Required. The identifiers for the customer.
.google.shopping.merchant.loyaltycustomers.v1.UserIdentifier user_identifier = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserIdentifierOrBuilder |
|
hasUserIdentifier()
public abstract boolean hasUserIdentifier()Required. The identifiers for the customer.
.google.shopping.merchant.loyaltycustomers.v1.UserIdentifier user_identifier = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the userIdentifier field is set. |