Class: Google::Apis::WalletobjectsV1::ReservationInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::ReservationInfo
- 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
Confirmation code needed to check into this flight.
-
#eticket_number ⇒ String
E-ticket number.
-
#frequent_flyer_info ⇒ Google::Apis::WalletobjectsV1::FrequentFlyerInfo
Frequent flyer membership information.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationInfo
constructor
A new instance of ReservationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationInfo
Returns a new instance of ReservationInfo.
6984 6985 6986 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confirmation_code ⇒ String
Confirmation code needed to check into this flight. This is the number that
the passenger would enter into a kiosk at the airport to look up the flight
and print a boarding pass.
Corresponds to the JSON property confirmationCode
6966 6967 6968 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6966 def confirmation_code @confirmation_code end |
#eticket_number ⇒ String
E-ticket number.
Corresponds to the JSON property eticketNumber
6971 6972 6973 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6971 def eticket_number @eticket_number end |
#frequent_flyer_info ⇒ Google::Apis::WalletobjectsV1::FrequentFlyerInfo
Frequent flyer membership information.
Corresponds to the JSON property frequentFlyerInfo
6976 6977 6978 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6976 def frequent_flyer_info @frequent_flyer_info end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
walletobjects#reservationInfo"
.
Corresponds to the JSON property kind
6982 6983 6984 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6982 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6989 6990 6991 6992 6993 6994 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6989 def update!(**args) @confirmation_code = args[:confirmation_code] if args.key?(:confirmation_code) @eticket_number = args[:eticket_number] if args.key?(:eticket_number) @frequent_flyer_info = args[:frequent_flyer_info] if args.key?(:frequent_flyer_info) @kind = args[:kind] if args.key?(:kind) end |