Enum ProductApplicability (0.9.0)

public enum ProductApplicability extends Enum<ProductApplicability> implements ProtocolMessageEnum

Which product or list of products the promotion applies to.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALL_PRODUCTS

Applicable to all products.

ALL_PRODUCTS = 1;

ALL_PRODUCTS_VALUE

Applicable to all products.

ALL_PRODUCTS = 1;

PRODUCT_APPLICABILITY_UNSPECIFIED

Which products the promotion applies to is unknown.

PRODUCT_APPLICABILITY_UNSPECIFIED = 0;

PRODUCT_APPLICABILITY_UNSPECIFIED_VALUE

Which products the promotion applies to is unknown.

PRODUCT_APPLICABILITY_UNSPECIFIED = 0;

SPECIFIC_PRODUCTS

Applicable to only a single product or list of products.

SPECIFIC_PRODUCTS = 2;

SPECIFIC_PRODUCTS_VALUE

Applicable to only a single product or list of products.

SPECIFIC_PRODUCTS = 2;

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()