Class: Stripe::Issuing::Authorization::CaptureParams::PurchaseDetails::Flight
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::Authorization::CaptureParams::PurchaseDetails::Flight
- Defined in:
- lib/stripe/resources/issuing/authorization.rb
Defined Under Namespace
Classes: Segment
Instance Attribute Summary collapse
-
#departure_at ⇒ Object
The time that the flight departed.
-
#passenger_name ⇒ Object
The name of the passenger.
-
#refundable ⇒ Object
Whether the ticket is refundable.
-
#segments ⇒ Object
The legs of the trip.
-
#travel_agency ⇒ Object
The travel agency that issued the ticket.
Instance Method Summary collapse
-
#initialize(departure_at: nil, passenger_name: nil, refundable: nil, segments: nil, travel_agency: nil) ⇒ Flight
constructor
A new instance of Flight.
Methods inherited from RequestParams
Constructor Details
#initialize(departure_at: nil, passenger_name: nil, refundable: nil, segments: nil, travel_agency: nil) ⇒ Flight
Returns a new instance of Flight.
918 919 920 921 922 923 924 925 926 927 928 929 930 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 918 def initialize( departure_at: nil, passenger_name: nil, refundable: nil, segments: nil, travel_agency: nil ) @departure_at = departure_at @passenger_name = passenger_name @refundable = refundable @segments = segments @travel_agency = travel_agency end |
Instance Attribute Details
#departure_at ⇒ Object
The time that the flight departed.
908 909 910 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 908 def departure_at @departure_at end |
#passenger_name ⇒ Object
The name of the passenger.
910 911 912 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 910 def passenger_name @passenger_name end |
#refundable ⇒ Object
Whether the ticket is refundable.
912 913 914 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 912 def refundable @refundable end |
#segments ⇒ Object
The legs of the trip.
914 915 916 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 914 def segments @segments end |
#travel_agency ⇒ Object
The travel agency that issued the ticket.
916 917 918 |
# File 'lib/stripe/resources/issuing/authorization.rb', line 916 def travel_agency @travel_agency end |