Google Shopping Merchant Accounts V1beta Client - Class OptInState (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class OptInState.

Opt in state of the email preference.

Protobuf type google.shopping.merchant.accounts.v1beta.EmailPreferences.OptInState

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ EmailPreferences

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

OPT_IN_STATE_UNSPECIFIED

Value: 0

Opt-in status is not specified.

Generated from protobuf enum OPT_IN_STATE_UNSPECIFIED = 0;

OPTED_OUT

Value: 1

User has opted out of receiving this type of email.

Generated from protobuf enum OPTED_OUT = 1;

OPTED_IN

Value: 2

User has opted in to receiving this type of email.

Generated from protobuf enum OPTED_IN = 2;

UNCONFIRMED

Value: 3

User has opted in to receiving this type of email and the confirmation email has been sent, but user has not yet confirmed the opt in (applies only to certain countries).

Generated from protobuf enum UNCONFIRMED = 3;