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

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

hasAccountTax

clearAccountTax

setAccountTax

Required. The tax setting that will be updated

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

Required. The tax setting that will be updated

updateMask Google\Protobuf\FieldMask

The list of fields to be updated

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

static::buildFromAccountTax

Parameter
Name Description
accountTax Google\Shopping\Merchant\Accounts\V1beta\AccountTax

Required. The tax setting that will be updated

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