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.
437 438 439 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 437 def departure_at @departure_at end |
#passenger_name ⇒ Object (readonly)
The name of the passenger.
439 440 441 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 439 def passenger_name @passenger_name end |
#refundable ⇒ Object (readonly)
Whether the ticket is refundable.
441 442 443 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 441 def refundable @refundable end |
#segments ⇒ Object (readonly)
The legs of the trip.
443 444 445 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 443 def segments @segments end |
#travel_agency ⇒ Object (readonly)
The travel agency that issued the ticket.
445 446 447 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 445 def travel_agency @travel_agency end |
Class Method Details
.field_remappings ⇒ Object
451 452 453 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 451 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
447 448 449 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 447 def self.inner_class_types @inner_class_types = { segments: Segment } end |