Google Shopping Merchant Accounts V1beta Client - Class AddAccountService (0.3.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\Shopping\Merchant\Accounts\V1beta\AccountAggregation

The provider is an aggregator for the account. Payload for service type Account Aggregation.

↳ provider string

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

getAccountAggregation

The provider is an aggregator for the account. Payload for service type Account Aggregation.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\AccountAggregation|null

hasAccountAggregation

setAccountAggregation

The provider is an aggregator for the account. Payload for service type Account Aggregation.

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