Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_ShoppingContent_Accounttax_Resource Class Reference

The "accounttax" collection of methods. More...

Inheritance diagram for Google_Service_ShoppingContent_Accounttax_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 custombatch (Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams=array())
 Retrieves and updates tax settings of multiple accounts in a single request.
 
 get ($merchantId, $accountId, $optParams=array())
 Retrieves the tax settings of the account.
 
 listAccounttax ($merchantId, $optParams=array())
 Lists the tax settings of the sub-accounts in your Merchant Center account.
 
 patch ($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams=array())
 Updates the tax settings of the account.
 
 update ($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams=array())
 Updates the tax settings of the account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "accounttax" collection of methods.

Typical usage is: $contentService = new Google_Service_ShoppingContent(...); $accounttax = $contentService->accounttax;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ custombatch()

Google_Service_ShoppingContent_Accounttax_Resource::custombatch ( Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody,
$optParams = array() )

Retrieves and updates tax settings of multiple accounts in a single request.

(accounttax.custombatch)

Parameters
Google_AccounttaxCustomBatchRequest$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_AccounttaxCustomBatchResponse

◆ get()

Google_Service_ShoppingContent_Accounttax_Resource::get ( $merchantId,
$accountId,
$optParams = array() )

Retrieves the tax settings of the account.

(accounttax.get)

Parameters
string$merchantIdThe ID of the managing account.
string$accountIdThe ID of the account for which to get/update account tax settings.
array$optParamsOptional parameters.
Return values
Google_Service_ShoppingContent_AccountTax

◆ listAccounttax()

Google_Service_ShoppingContent_Accounttax_Resource::listAccounttax ( $merchantId,
$optParams = array() )

Lists the tax settings of the sub-accounts in your Merchant Center account.

(accounttax.listAccounttax)

Parameters
string$merchantIdThe ID of the managing account.
array$optParamsOptional parameters.

@opt_param string pageToken The token returned by the previous request. @opt_param string maxResults The maximum number of tax settings to return in the response, used for paging.

Return values
Google_Service_ShoppingContent_AccounttaxListResponse

◆ patch()

Google_Service_ShoppingContent_Accounttax_Resource::patch ( $merchantId,
$accountId,
Google_Service_ShoppingContent_AccountTax $postBody,
$optParams = array() )

Updates the tax settings of the account.

This method supports patch semantics. (accounttax.patch)

Parameters
string$merchantIdThe ID of the managing account.
string$accountIdThe ID of the account for which to get/update account tax settings.
Google_AccountTax$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_AccountTax

◆ update()

Google_Service_ShoppingContent_Accounttax_Resource::update ( $merchantId,
$accountId,
Google_Service_ShoppingContent_AccountTax $postBody,
$optParams = array() )

Updates the tax settings of the account.

(accounttax.update)

Parameters
string$merchantIdThe ID of the managing account.
string$accountIdThe ID of the account for which to get/update account tax settings.
Google_AccountTax$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_AccountTax

The documentation for this class was generated from the following file: