Class: Google::Apis::WalletobjectsV1::EventReservationInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::EventReservationInfo
- 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
-
#confirmation_code ⇒ String
The confirmation code of the event reservation.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventReservationInfo
constructor
A new instance of EventReservationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventReservationInfo
Returns a new instance of EventReservationInfo.
1416 1417 1418 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1416 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confirmation_code ⇒ String
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
1408 1409 1410 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1408 def confirmation_code @confirmation_code end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
walletobjects#eventReservationInfo".
Corresponds to the JSON property kind
1414 1415 1416 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1414 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1421 1422 1423 1424 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1421 def update!(**args) @confirmation_code = args[:confirmation_code] if args.key?(:confirmation_code) @kind = args[:kind] if args.key?(:kind) end |