Class: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel
- Inherits:
-
BaseModel
- Object
- BaseModel
- Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel
- Defined in:
- lib/increase/models/transaction.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#ancillary ⇒ Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary
Ancillary purchases in addition to the airfare.
-
#computerized_reservation_system ⇒ String
Indicates the computerized reservation system used to book the ticket.
-
#credit_reason_indicator ⇒ Symbol
Indicates the reason for a credit to the cardholder.
-
#departure_date ⇒ String
Date of departure.
-
#origination_city_airport_code ⇒ String
Code for the originating city or airport.
-
#passenger_name ⇒ String
Name of the passenger.
-
#restricted_ticket_indicator ⇒ Symbol
Indicates whether this ticket is non-refundable.
-
#ticket_change_indicator ⇒ Symbol
Indicates why a ticket was changed.
-
#ticket_number ⇒ String
Ticket number.
-
#travel_agency_code ⇒ String
Code for the travel agency if the ticket was issued by a travel agency.
-
#travel_agency_name ⇒ String
Name of the travel agency if the ticket was issued by a travel agency.
-
#trip_legs ⇒ Array<Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg>
Fields specific to each leg of the journey.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#ancillary ⇒ Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary
Ancillary purchases in addition to the airfare.
1312 1313 |
# File 'lib/increase/models/transaction.rb', line 1312 required :ancillary, -> { Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary } |
#computerized_reservation_system ⇒ String
Indicates the computerized reservation system used to book the ticket.
1318 |
# File 'lib/increase/models/transaction.rb', line 1318 required :computerized_reservation_system, String |
#credit_reason_indicator ⇒ Symbol
Indicates the reason for a credit to the cardholder.
1323 1324 1325 1326 1327 1328 1329 1330 1331 |
# File 'lib/increase/models/transaction.rb', line 1323 required :credit_reason_indicator, Increase::Enum.new( :no_credit, :passenger_transport_ancillary_purchase_cancellation, :airline_ticket_and_passenger_transport_ancillary_purchase_cancellation, :airline_ticket_cancellation, :other, :partial_refund_of_airline_ticket ) |
#departure_date ⇒ String
Date of departure.
1336 |
# File 'lib/increase/models/transaction.rb', line 1336 required :departure_date, String |
#origination_city_airport_code ⇒ String
Code for the originating city or airport.
1341 |
# File 'lib/increase/models/transaction.rb', line 1341 required :origination_city_airport_code, String |
#passenger_name ⇒ String
Name of the passenger.
1346 |
# File 'lib/increase/models/transaction.rb', line 1346 required :passenger_name, String |
#restricted_ticket_indicator ⇒ Symbol
Indicates whether this ticket is non-refundable.
1351 1352 |
# File 'lib/increase/models/transaction.rb', line 1351 required :restricted_ticket_indicator, Increase::Enum.new(:no_restrictions, :restricted_non_refundable_ticket) |
#ticket_change_indicator ⇒ Symbol
Indicates why a ticket was changed.
1357 |
# File 'lib/increase/models/transaction.rb', line 1357 required :ticket_change_indicator, Increase::Enum.new(:none, :change_to_existing_ticket, :new_ticket) |
#ticket_number ⇒ String
Ticket number.
1362 |
# File 'lib/increase/models/transaction.rb', line 1362 required :ticket_number, String |
#travel_agency_code ⇒ String
Code for the travel agency if the ticket was issued by a travel agency.
1367 |
# File 'lib/increase/models/transaction.rb', line 1367 required :travel_agency_code, String |
#travel_agency_name ⇒ String
Name of the travel agency if the ticket was issued by a travel agency.
1372 |
# File 'lib/increase/models/transaction.rb', line 1372 required :travel_agency_name, String |
#trip_legs ⇒ Array<Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg>
Fields specific to each leg of the journey.
1377 1378 |
# File 'lib/increase/models/transaction.rb', line 1377 required :trip_legs, Increase::ArrayOf.new(-> { Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg }) |