Class: Google::Apis::WalletobjectsV1::DetailsItemInfo

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) ⇒ DetailsItemInfo

Returns a new instance of DetailsItemInfo.



940
941
942
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 940

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

Instance Attribute Details

#itemGoogle::Apis::WalletobjectsV1::TemplateItem

The item to be displayed in the details list. Corresponds to the JSON property item



938
939
940
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 938

def item
  @item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



945
946
947
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 945

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