Enum StoreApplicability (0.5.0)

public enum StoreApplicability extends Enum<StoreApplicability> implements ProtocolMessageEnum

Store codes or list of store codes the promotion applies to. Only for Local inventory ads promotions.

Protobuf enum google.shopping.merchant.promotions.v1beta.StoreApplicability

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALL_STORES

Promotion applies to all stores.

ALL_STORES = 1;

ALL_STORES_VALUE

Promotion applies to all stores.

ALL_STORES = 1;

SPECIFIC_STORES

Promotion applies to only the specified stores.

SPECIFIC_STORES = 2;

SPECIFIC_STORES_VALUE

Promotion applies to only the specified stores.

SPECIFIC_STORES = 2;

STORE_APPLICABILITY_UNSPECIFIED

Which store codes the promotion applies to is unknown.

STORE_APPLICABILITY_UNSPECIFIED = 0;

STORE_APPLICABILITY_UNSPECIFIED_VALUE

Which store codes the promotion applies to is unknown.

STORE_APPLICABILITY_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()