Class: Google::Apis::WalletobjectsV1::CardRowTwoItems
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::CardRowTwoItems
- 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
-
#end_item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed at the end of the row.
-
#start_item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed at the start of the row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CardRowTwoItems
constructor
A new instance of CardRowTwoItems.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CardRowTwoItems
Returns a new instance of CardRowTwoItems.
669 670 671 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed at the end of the row. This item will be aligned to
the right.
Corresponds to the JSON property endItem
661 662 663 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 661 def end_item @end_item end |
#start_item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed at the start of the row. This item will be aligned to
the left.
Corresponds to the JSON property startItem
667 668 669 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 667 def start_item @start_item end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
674 675 676 677 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 674 def update!(**args) @end_item = args[:end_item] if args.key?(:end_item) @start_item = args[:start_item] if args.key?(:start_item) end |