Google Wallet API . smarttap

Instance Methods

close()

Close httplib2 connections.

insert(body=None, x__xgafv=None)

Inserts the smart tap.

Method Details

close()
Close httplib2 connections.
insert(body=None, x__xgafv=None)
Inserts the smart tap.

Args:
  body: object, The request body.
    The object takes the form of:

{
  "id": "A String", # The unique identifier for a smart tap. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is the Smart Tap id. The Smart Tap id is a Base64 encoded string which represents the id which was generated by the Google Pay app.
  "infos": [ # Communication from merchant to user.
    {
      "action": "A String",
      "signUpInfo": {
        "classId": "A String", # ID of the class the user can sign up for.
      },
      "url": "A String", # Currently not used, consider deprecating.
      "value": "A String", # JSON web token for action S2AP.
    },
  ],
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#smartTap"`.
  "merchantId": "A String", # Smart Tap merchant ID of who engaged in the Smart Tap interaction.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "id": "A String", # The unique identifier for a smart tap. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is the Smart Tap id. The Smart Tap id is a Base64 encoded string which represents the id which was generated by the Google Pay app.
  "infos": [ # Communication from merchant to user.
    {
      "action": "A String",
      "signUpInfo": {
        "classId": "A String", # ID of the class the user can sign up for.
      },
      "url": "A String", # Currently not used, consider deprecating.
      "value": "A String", # JSON web token for action S2AP.
    },
  ],
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string `"walletobjects#smartTap"`.
  "merchantId": "A String", # Smart Tap merchant ID of who engaged in the Smart Tap interaction.
}