Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class Account.
An account.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.Account
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the account. Format: accounts/{account}
↳ account_id
int|string
Output only. The ID of the account.
↳ account_name
string
Required. A human-readable name of the account. See store name and business name for more information.
↳ adult_content
bool
Whether this account contains adult content.
↳ test_account
bool
Output only. Whether this is a test account.
↳ time_zone
Google\Type\TimeZone
Required. The time zone of the account. On writes, time_zone
sets both the reporting_time_zone
and the display_time_zone
. For reads, time_zone
always returns the display_time_zone
. If display_time_zone
doesn't exist for your account, time_zone
is empty.
↳ language_code
getName
Identifier. The resource name of the account.
Format: accounts/{account}
string
setName
Identifier. The resource name of the account.
Format: accounts/{account}
var
string
$this
getAccountId
Output only. The ID of the account.
int|string
setAccountId
Output only. The ID of the account.
var
int|string
$this
getAccountName
Required. A human-readable name of the account. See store name and business name for more information.
string
setAccountName
Required. A human-readable name of the account. See store name and business name for more information.
var
string
$this
getAdultContent
Whether this account contains adult content.
bool
setAdultContent
Whether this account contains adult content.
var
bool
$this
getTestAccount
Output only. Whether this is a test account.
bool
setTestAccount
Output only. Whether this is a test account.
var
bool
$this
getTimeZone
Required. The time zone of the account.
On writes, time_zone
sets both the reporting_time_zone
and the display_time_zone
.
For reads, time_zone
always returns the display_time_zone
. If display_time_zone
doesn't exist for your account, time_zone
is empty.
hasTimeZone
clearTimeZone
setTimeZone
Required. The time zone of the account.
On writes, time_zone
sets both the reporting_time_zone
and the display_time_zone
.
For reads, time_zone
always returns the display_time_zone
. If display_time_zone
doesn't exist for your account, time_zone
is empty.
$this
getLanguageCode
Required. The account's BCP-47 language
code
, such as en-US
or sr-Latn
.
string
setLanguageCode
Required. The account's BCP-47 language
code
, such as en-US
or sr-Latn
.
var
string
$this