edutap.wallet_google.api.message#

edutap.wallet_google.api.message(name: str, resource_id: str, message: dict[str, Any] | Message) AddMessageRequest#

Sends a message to a Google Wallet Class or Object.

Parameters:
  • name – Registered name of the model to use

  • resource_id – Identifier of the resource to send to

Raises:
  • LookupError – When the resource was not found (404)

  • Exception – When the response status code is not 200 or 404

Returns:

The created AddMessageRequest object as returned by the Restful API