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 \ V1Methods
__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: |
↳ address |
Google\Type\PostalAddress
Optional. The address of the business. Only |
↳ 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 |
Google\Type\PostalAddress|null |
|
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 |
var |
Google\Type\PostalAddress
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPhone
Output only. The phone number of the business.
| Returns | |
|---|---|
| Type | Description |
Google\Type\PhoneNumber|null |
|
hasPhone
clearPhone
setPhone
Output only. The phone number of the business.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\PhoneNumber
|
| 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 |
CustomerService|null |
|
hasCustomerService
clearCustomerService
setCustomerService
Optional. The customer service of the business.
| Parameter | |
|---|---|
| Name | Description |
var |
CustomerService
|
| 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 |
|