Class: Google::Apis::WalletobjectsV1::AppLinkData
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AppLinkData
- 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
-
#android_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner app link.
-
#display_text ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Optional display text for the app link button.
-
#ios_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Deprecated.
-
#web_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner web link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppLinkData
constructor
A new instance of AppLinkData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppLinkData
Returns a new instance of AppLinkData.
169 170 171 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner app link.
Corresponds to the JSON property androidAppLinkInfo
152 153 154 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 152 def android_app_link_info @android_app_link_info end |
#display_text ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Optional display text for the app link button. Character limit is 30.
Corresponds to the JSON property displayText
157 158 159 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 157 def display_text @display_text end |
#ios_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Deprecated. Links to open iOS apps are not supported.
Corresponds to the JSON property iosAppLinkInfo
162 163 164 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 162 def ios_app_link_info @ios_app_link_info end |
#web_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner web link.
Corresponds to the JSON property webAppLinkInfo
167 168 169 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 167 def web_app_link_info @web_app_link_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
174 175 176 177 178 179 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 174 def update!(**args) @android_app_link_info = args[:android_app_link_info] if args.key?(:android_app_link_info) @display_text = args[:display_text] if args.key?(:display_text) @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 |