Class: Google::Apis::WalletobjectsV1::ClassTemplateInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::ClassTemplateInfo
- 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_barcode_section_details ⇒ Google::Apis::WalletobjectsV1::CardBarcodeSectionDetails
Specifies extra information to be displayed above and below the barcode.
-
#card_template_override ⇒ Google::Apis::WalletobjectsV1::CardTemplateOverride
Override for the card view.
-
#details_template_override ⇒ Google::Apis::WalletobjectsV1::DetailsTemplateOverride
Override for the details view (beneath the card view).
-
#list_template_override ⇒ Google::Apis::WalletobjectsV1::ListTemplateOverride
Override for the passes list view.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClassTemplateInfo
constructor
A new instance of ClassTemplateInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClassTemplateInfo
Returns a new instance of ClassTemplateInfo.
724 725 726 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 724 def initialize(**args) update!(**args) end |
Instance Attribute Details
#card_barcode_section_details ⇒ Google::Apis::WalletobjectsV1::CardBarcodeSectionDetails
Specifies extra information to be displayed above and below the barcode.
Corresponds to the JSON property cardBarcodeSectionDetails
707 708 709 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 707 def @card_barcode_section_details end |
#card_template_override ⇒ Google::Apis::WalletobjectsV1::CardTemplateOverride
Override for the card view.
Corresponds to the JSON property cardTemplateOverride
712 713 714 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 712 def card_template_override @card_template_override end |
#details_template_override ⇒ Google::Apis::WalletobjectsV1::DetailsTemplateOverride
Override for the details view (beneath the card view).
Corresponds to the JSON property detailsTemplateOverride
717 718 719 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 717 def details_template_override @details_template_override end |
#list_template_override ⇒ Google::Apis::WalletobjectsV1::ListTemplateOverride
Override for the passes list view.
Corresponds to the JSON property listTemplateOverride
722 723 724 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 722 def list_template_override @list_template_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
729 730 731 732 733 734 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 729 def update!(**args) @card_barcode_section_details = args[:card_barcode_section_details] if args.key?(:card_barcode_section_details) @card_template_override = args[:card_template_override] if args.key?(:card_template_override) @details_template_override = args[:details_template_override] if args.key?(:details_template_override) @list_template_override = args[:list_template_override] if args.key?(:list_template_override) end |