Class: Stripe::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Flight
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Flight
- Defined in:
- lib/stripe/params/issuing/transaction_create_unlinked_refund_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(departure_at: nil, passenger_name: nil, refundable: nil, segments: nil, travel_agency: nil) ⇒ Flight
Returns a new instance of Flight.
234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 234 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.
224 225 226 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 224 def departure_at @departure_at end |
#passenger_name ⇒ Object
The name of the passenger.
226 227 228 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 226 def passenger_name @passenger_name end |
#refundable ⇒ Object
Whether the ticket is refundable.
228 229 230 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 228 def refundable @refundable end |
#segments ⇒ Object
The legs of the trip.
230 231 232 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 230 def segments @segments end |
#travel_agency ⇒ Object
The travel agency that issued the ticket.
232 233 234 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 232 def travel_agency @travel_agency end |