Class: Google::Apis::WalletobjectsV1::SmartTap
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::SmartTap
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
The unique identifier for a smart tap.
-
#infos ⇒ Array<Google::Apis::WalletobjectsV1::IssuerToUserInfo>
Communication from merchant to user.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#merchant_id ⇒ Fixnum
Smart Tap merchant ID of who engaged in the Smart Tap interaction.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SmartTap
constructor
A new instance of SmartTap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SmartTap
Returns a new instance of SmartTap.
7061 7062 7063 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7061 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ 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.
Corresponds to the JSON property id
7043 7044 7045 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7043 def id @id end |
#infos ⇒ Array<Google::Apis::WalletobjectsV1::IssuerToUserInfo>
Communication from merchant to user.
Corresponds to the JSON property infos
7048 7049 7050 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7048 def infos @infos end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
walletobjects#smartTap"
.
Corresponds to the JSON property kind
7054 7055 7056 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7054 def kind @kind end |
#merchant_id ⇒ Fixnum
Smart Tap merchant ID of who engaged in the Smart Tap interaction.
Corresponds to the JSON property merchantId
7059 7060 7061 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7059 def merchant_id @merchant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7066 7067 7068 7069 7070 7071 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7066 def update!(**args) @id = args[:id] if args.key?(:id) @infos = args[:infos] if args.key?(:infos) @kind = args[:kind] if args.key?(:kind) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) end |