Google Shopping Merchant Accounts V1beta Client - Class BusinessInfo (0.3.0)

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

Collection of information related to a business.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

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.

↳ 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 Google\Shopping\Merchant\Accounts\V1beta\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.

Returns
Type Description
Google\Type\PostalAddress|null

hasAddress

clearAddress

setAddress

Optional. The address of the business.

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
Google\Shopping\Merchant\Accounts\V1beta\CustomerService|null

hasCustomerService

clearCustomerService

setCustomerService

Optional. The customer service of the business.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\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