Google Shopping Merchant Accounts V1beta Client - Class UpdateAccountTaxRequest (0.3.1)

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

Request to update the tax settings

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ account_tax AccountTax

Required. The tax setting that will be updated

↳ update_mask Google\Protobuf\FieldMask

The list of fields to be updated

getAccountTax

Required. The tax setting that will be updated

Returns
Type Description
AccountTax|null

hasAccountTax

clearAccountTax

setAccountTax

Required. The tax setting that will be updated

Parameter
Name Description
var AccountTax
Returns
Type Description
$this

getUpdateMask

The list of fields to be updated

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated

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

static::build

Parameters
Name Description
accountTax AccountTax

Required. The tax setting that will be updated

updateMask Google\Protobuf\FieldMask

The list of fields to be updated

Returns
Type Description
UpdateAccountTaxRequest

static::buildFromAccountTax

Parameter
Name Description
accountTax AccountTax

Required. The tax setting that will be updated

Returns
Type Description
UpdateAccountTaxRequest