Class: Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails::Flight
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails::Flight
- Defined in:
- lib/stripe/services/test_helpers/issuing/transaction_service.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.
583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 583 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.
569 570 571 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 569 def departure_at @departure_at end |
#passenger_name ⇒ Object
The name of the passenger.
572 573 574 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 572 def passenger_name @passenger_name end |
#refundable ⇒ Object
Whether the ticket is refundable.
575 576 577 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 575 def refundable @refundable end |
#segments ⇒ Object
The legs of the trip.
578 579 580 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 578 def segments @segments end |
#travel_agency ⇒ Object
The travel agency that issued the ticket.
581 582 583 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 581 def travel_agency @travel_agency end |