Google Shopping Merchant Accounts V1beta Client - Class ListAccountTaxRequest (0.2.0)

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

Request to list all sub-account tax settings only for the requesting merchant This method can only be called on a multi-client account, otherwise it'll return an error.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of account tax. Format: accounts/{account}

↳ page_size int

The maximum number of tax settings to return in the response, used for paging.

↳ page_token string

The token returned by the previous request.

getParent

Required. The parent, which owns this collection of account tax.

Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of account tax.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of tax settings to return in the response, used for paging.

Returns
Type Description
int

setPageSize

The maximum number of tax settings to return in the response, used for paging.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

The token returned by the previous request.

Returns
Type Description
string

setPageToken

The token returned by the previous request.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent, which owns this collection of account tax. Format: accounts/{account} Please see Google\Shopping\Merchant\Accounts\V1beta\AccountTaxServiceClient::accountName() for help formatting this field.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\ListAccountTaxRequest