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

The "promooffer" collection of methods. More...

Inheritance diagram for Google_Service_Books_Promooffer_Resource:
Google_Service_Resource

Public Member Functions

 accept ($optParams=array())
 (promooffer.accept)
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 dismiss ($optParams=array())
 (promooffer.dismiss)
 
 get ($optParams=array())
 Returns a list of promo offers available to the user (promooffer.get)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "promooffer" collection of methods.

Typical usage is: $booksService = new Google_Service_Books(...); $promooffer = $booksService->promooffer;

Member Function Documentation

◆ accept()

Google_Service_Books_Promooffer_Resource::accept ( $optParams = array())

(promooffer.accept)

Parameters
array$optParamsOptional parameters.

@opt_param string product device product @opt_param string volumeId Volume id to exercise the offer @opt_param string offerId @opt_param string androidId device android_id @opt_param string device device device @opt_param string model device model @opt_param string serial device serial @opt_param string manufacturer device manufacturer

◆ 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

◆ dismiss()

Google_Service_Books_Promooffer_Resource::dismiss ( $optParams = array())

(promooffer.dismiss)

Parameters
array$optParamsOptional parameters.

@opt_param string product device product @opt_param string offerId Offer to dimiss @opt_param string androidId device android_id @opt_param string device device device @opt_param string model device model @opt_param string serial device serial @opt_param string manufacturer device manufacturer

◆ get()

Google_Service_Books_Promooffer_Resource::get ( $optParams = array())

Returns a list of promo offers available to the user (promooffer.get)

Parameters
array$optParamsOptional parameters.

@opt_param string product device product @opt_param string androidId device android_id @opt_param string device device device @opt_param string model device model @opt_param string serial device serial @opt_param string manufacturer device manufacturer

Return values
Google_Service_Books_Offers

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