Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
Google_Service_ShoppingContent_Accountshipping_Resource Class Reference

The "accountshipping" collection of methods. More...

Inheritance diagram for Google_Service_ShoppingContent_Accountshipping_Resource:
Google_Service_Resource

Public Member Functions

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

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "accountshipping" collection of methods.

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

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_Accountshipping_Resource::custombatch ( Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody,
$optParams = array() )

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

(accountshipping.custombatch)

Parameters
Google_AccountshippingCustomBatchRequest$postBody
array$optParamsOptional parameters.

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

Return values
Google_Service_ShoppingContent_AccountshippingCustomBatchResponse

◆ get()

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

Retrieves the shipping settings of the account.

(accountshipping.get)

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

◆ listAccountshipping()

Google_Service_ShoppingContent_Accountshipping_Resource::listAccountshipping ( $merchantId,
$optParams = array() )

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

(accountshipping.listAccountshipping)

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 shipping settings to return in the response, used for paging.

Return values
Google_Service_ShoppingContent_AccountshippingListResponse

◆ patch()

Google_Service_ShoppingContent_Accountshipping_Resource::patch ( $merchantId,
$accountId,
Google_Service_ShoppingContent_AccountShipping $postBody,
$optParams = array() )

Updates the shipping settings of the account.

This method supports patch semantics. (accountshipping.patch)

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

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

Return values
Google_Service_ShoppingContent_AccountShipping

◆ update()

Google_Service_ShoppingContent_Accountshipping_Resource::update ( $merchantId,
$accountId,
Google_Service_ShoppingContent_AccountShipping $postBody,
$optParams = array() )

Updates the shipping settings of the account.

(accountshipping.update)

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

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

Return values
Google_Service_ShoppingContent_AccountShipping

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