Class: Google::Apis::WalletobjectsV1::AppLinkData

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppLinkData

Returns a new instance of AppLinkData.



167
168
169
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 167

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client. Corresponds to the JSON property androidAppLinkInfo



153
154
155
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 153

def android_app_link_info
  @android_app_link_info
end

Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the ios client. Corresponds to the JSON property iosAppLinkInfo



159
160
161
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 159

def ios_app_link_info
  @ios_app_link_info
end

Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client. Corresponds to the JSON property webAppLinkInfo



165
166
167
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 165

def web_app_link_info
  @web_app_link_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



172
173
174
175
176
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 172

def update!(**args)
  @android_app_link_info = args[:android_app_link_info] if args.key?(:android_app_link_info)
  @ios_app_link_info = args[:ios_app_link_info] if args.key?(:ios_app_link_info)
  @web_app_link_info = args[:web_app_link_info] if args.key?(:web_app_link_info)
end