Class: Google::Apis::WalletobjectsV1::DetailsItemInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::DetailsItemInfo
- 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
-
#item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed in the details list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DetailsItemInfo
constructor
A new instance of DetailsItemInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DetailsItemInfo
Returns a new instance of DetailsItemInfo.
934 935 936 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 934 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed in the details list.
Corresponds to the JSON property item
932 933 934 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 932 def item @item end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
939 940 941 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 939 def update!(**args) @item = args[:item] if args.key?(:item) end |