Class: Stripe::Issuing::AuthorizationCaptureParams::PurchaseDetails::Flight
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::AuthorizationCaptureParams::PurchaseDetails::Flight
- Defined in:
- lib/stripe/params/issuing/authorization_capture_params.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.
143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 143 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.
133 134 135 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 133 def departure_at @departure_at end |
#passenger_name ⇒ Object
The name of the passenger.
135 136 137 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 135 def passenger_name @passenger_name end |
#refundable ⇒ Object
Whether the ticket is refundable.
137 138 139 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 137 def refundable @refundable end |
#segments ⇒ Object
The legs of the trip.
139 140 141 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 139 def segments @segments end |
#travel_agency ⇒ Object
The travel agency that issued the ticket.
141 142 143 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 141 def travel_agency @travel_agency end |