Class: Google::Apis::WalletobjectsV1::CardRowOneItem

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

Returns a new instance of CardRowOneItem.



575
576
577
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 575

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

Instance Attribute Details

#itemGoogle::Apis::WalletobjectsV1::TemplateItem

The item to be displayed in the row. This item will be automatically centered. Corresponds to the JSON property item



573
574
575
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 573

def item
  @item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



580
581
582
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 580

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