Class: Stripe::Issuing::Transaction::PurchaseDetails::Flight
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Transaction::PurchaseDetails::Flight
- Defined in:
- lib/stripe/resources/issuing/transaction.rb
Defined Under Namespace
Classes: Segment
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#departure_at ⇒ Object
readonly
The time that the flight departed.
-
#passenger_name ⇒ Object
readonly
The name of the passenger.
-
#refundable ⇒ Object
readonly
Whether the ticket is refundable.
-
#segments ⇒ Object
readonly
The legs of the trip.
-
#travel_agency ⇒ Object
readonly
The travel agency that issued the ticket.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#departure_at ⇒ Object (readonly)
The time that the flight departed.
404 405 406 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 404 def departure_at @departure_at end |
#passenger_name ⇒ Object (readonly)
The name of the passenger.
406 407 408 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 406 def passenger_name @passenger_name end |
#refundable ⇒ Object (readonly)
Whether the ticket is refundable.
408 409 410 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 408 def refundable @refundable end |
#segments ⇒ Object (readonly)
The legs of the trip.
410 411 412 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 410 def segments @segments end |
#travel_agency ⇒ Object (readonly)
The travel agency that issued the ticket.
412 413 414 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 412 def travel_agency @travel_agency end |
Class Method Details
.field_remappings ⇒ Object
418 419 420 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 418 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
414 415 416 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 414 def self.inner_class_types @inner_class_types = { segments: Segment } end |