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

The "marketplacedeals" collection of methods. More...

Inheritance diagram for Google_Service_AdExchangeBuyer_Marketplacedeals_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($orderId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams=array())
 Delete the specified deals from the order (marketplacedeals.delete)
 
 insert ($orderId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams=array())
 Add new deals for the specified order (marketplacedeals.insert)
 
 listMarketplacedeals ($orderId, $optParams=array())
 List all the deals for a given order (marketplacedeals.listMarketplacedeals)
 
 update ($orderId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams=array())
 Replaces all the deals in the order with the passed in deals (marketplacedeals.update)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "marketplacedeals" collection of methods.

Typical usage is: $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); $marketplacedeals = $adexchangebuyerService->marketplacedeals;

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

◆ delete()

Google_Service_AdExchangeBuyer_Marketplacedeals_Resource::delete ( $orderId,
Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody,
$optParams = array() )

Delete the specified deals from the order (marketplacedeals.delete)

Parameters
string$orderIdThe orderId to delete deals from.
Google_DeleteOrderDealsRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse

◆ insert()

Google_Service_AdExchangeBuyer_Marketplacedeals_Resource::insert ( $orderId,
Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody,
$optParams = array() )

Add new deals for the specified order (marketplacedeals.insert)

Parameters
string$orderIdOrderId for which deals need to be added.
Google_AddOrderDealsRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_AddOrderDealsResponse

◆ listMarketplacedeals()

Google_Service_AdExchangeBuyer_Marketplacedeals_Resource::listMarketplacedeals ( $orderId,
$optParams = array() )

List all the deals for a given order (marketplacedeals.listMarketplacedeals)

Parameters
string$orderIdThe orderId to get deals for.
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_GetOrderDealsResponse

◆ update()

Google_Service_AdExchangeBuyer_Marketplacedeals_Resource::update ( $orderId,
Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody,
$optParams = array() )

Replaces all the deals in the order with the passed in deals (marketplacedeals.update)

Parameters
string$orderIdThe orderId to edit deals on.
Google_EditAllOrderDealsRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse

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