Enum BusinessIdentity.PromotionsConsent (0.7.0)

public enum BusinessIdentity.PromotionsConsent extends Enum<BusinessIdentity.PromotionsConsent> implements ProtocolMessageEnum

All possible settings regarding promotions related to the business identity.

Protobuf enum google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent

Implements

ProtocolMessageEnum

Static Fields

Name Description

Indicates that the account did not consent to having their business identity used for promotions.

PROMOTIONS_CONSENT_DENIED = 2;

Indicates that the account did not consent to having their business identity used for promotions.

PROMOTIONS_CONSENT_DENIED = 2;

Indicates that the account consented to having their business identity used for promotions.

PROMOTIONS_CONSENT_GIVEN = 1;

Indicates that the account consented to having their business identity used for promotions.

PROMOTIONS_CONSENT_GIVEN = 1;

Default value indicating that no selection was made.

PROMOTIONS_CONSENT_UNSPECIFIED = 0;

Default value indicating that no selection was made.

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