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

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

Additional instructions to add account services during creation of the account.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ CreateAndConfigureAccountRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ account_aggregation Google\Protobuf\GPBEmpty

The provider is an aggregator for the account.

↳ provider string

Optional. The provider of the service. Format: accounts/{account}

getAccountAggregation

The provider is an aggregator for the account.

Returns
Type Description
Google\Protobuf\GPBEmpty|null

hasAccountAggregation

setAccountAggregation

The provider is an aggregator for the account.

Parameter
Name Description
var Google\Protobuf\GPBEmpty
Returns
Type Description
$this

getProvider

Optional. The provider of the service.

Format: accounts/{account}

Returns
Type Description
string

hasProvider

clearProvider

setProvider

Optional. The provider of the service.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceType

Returns
Type Description
string