class Promooffer extends Resource (View source)

The "promooffer" collection of methods.

Typical usage is:

 $booksService = new Google\Service\Books(...);
 $promooffer = $booksService->promooffer;

Methods

accept(array $optParams = [])

Accepts the promo offer. (promooffer.accept)

dismiss(array $optParams = [])

Marks the promo offer as dismissed. (promooffer.dismiss)

get(array $optParams = [])

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

Details

BooksEmpty accept(array $optParams = [])

Accepts the promo offer. (promooffer.accept)

Parameters

array $optParams

Optional parameters.

Return Value

BooksEmpty

Exceptions

Exception

BooksEmpty dismiss(array $optParams = [])

Marks the promo offer as dismissed. (promooffer.dismiss)

Parameters

array $optParams

Optional parameters.

Return Value

BooksEmpty

Exceptions

Exception

Offers get(array $optParams = [])

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

Parameters

array $optParams

Optional parameters.

Return Value

Offers

Exceptions

Exception