Class: Google::Apis::WalletobjectsV1::EventReservationInfo

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

Returns a new instance of EventReservationInfo.



1430
1431
1432
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1430

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

Instance Attribute Details

#confirmation_codeString

The confirmation code of the event reservation. This may also take the form of an "order number", "confirmation number", "reservation number", or other equivalent. Corresponds to the JSON property confirmationCode

Returns:

  • (String)


1422
1423
1424
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1422

def confirmation_code
  @confirmation_code
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " walletobjects#eventReservationInfo". Corresponds to the JSON property kind

Returns:

  • (String)


1428
1429
1430
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1428

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1435
1436
1437
1438
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1435

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