Class: Google::Apis::WalletobjectsV1::CardTemplateOverride
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::CardTemplateOverride
- 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
-
#card_row_template_infos ⇒ Array<Google::Apis::WalletobjectsV1::CardRowTemplateInfo>
Template information for rows in the card view.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CardTemplateOverride
constructor
A new instance of CardTemplateOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CardTemplateOverride
Returns a new instance of CardTemplateOverride.
690 691 692 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#card_row_template_infos ⇒ Array<Google::Apis::WalletobjectsV1::CardRowTemplateInfo>
Template information for rows in the card view. At most three rows are allowed
to be specified.
Corresponds to the JSON property cardRowTemplateInfos
688 689 690 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 688 def card_row_template_infos @card_row_template_infos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
695 696 697 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 695 def update!(**args) @card_row_template_infos = args[:card_row_template_infos] if args.key?(:card_row_template_infos) end |