Google Shopping Merchant Accounts V1 Client - Class BusinessInfo (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class BusinessInfo.

The BusinessInfo message contains essential information about a business.

This message captures key business details such as physical address, customer service contacts, and region-specific identifiers.

Generated from protobuf message google.shopping.merchant.accounts.v1.BusinessInfo

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The resource name of the business info. Format: accounts/{account}/businessInfo

↳ address
Google\Type\PostalAddress

Optional. The address of the business. Only region_code , address_lines , postal_code , administrative_area and locality fields are supported. All other fields are ignored.

↳ phone
Google\Type\PhoneNumber

Output only. The phone number of the business.

↳ phone_verification_state
int

Output only. The phone verification state of the business.

↳ customer_service
CustomerService

Optional. The customer service of the business.

↳ korean_business_registration_number
string

Optional. The 10-digit Korean business registration number separated with dashes in the format: XXX-XX-XXXXX.

getName

Identifier. The resource name of the business info.

Format: accounts/{account}/businessInfo

Returns
Type
Description
string

setName

Identifier. The resource name of the business info.

Format: accounts/{account}/businessInfo

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAddress

Optional. The address of the business. Only region_code , address_lines , postal_code , administrative_area and locality fields are supported.

All other fields are ignored.

Returns
Type
Description

hasAddress

clearAddress

setAddress

Optional. The address of the business. Only region_code , address_lines , postal_code , administrative_area and locality fields are supported.

All other fields are ignored.

Parameter
Name
Description
Returns
Type
Description
$this

getPhone

Output only. The phone number of the business.

Returns
Type
Description

hasPhone

clearPhone

setPhone

Output only. The phone number of the business.

Parameter
Name
Description
Returns
Type
Description
$this

getPhoneVerificationState

Output only. The phone verification state of the business.

Returns
Type
Description
int

hasPhoneVerificationState

clearPhoneVerificationState

setPhoneVerificationState

Output only. The phone verification state of the business.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getCustomerService

Optional. The customer service of the business.

Returns
Type
Description

hasCustomerService

clearCustomerService

setCustomerService

Optional. The customer service of the business.

Parameter
Name
Description
Returns
Type
Description
$this

getKoreanBusinessRegistrationNumber

Optional. The 10-digit Korean business registration number separated with dashes in the format: XXX-XX-XXXXX.

Returns
Type
Description
string

hasKoreanBusinessRegistrationNumber

clearKoreanBusinessRegistrationNumber

setKoreanBusinessRegistrationNumber

Optional. The 10-digit Korean business registration number separated with dashes in the format: XXX-XX-XXXXX.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: