Class: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/transaction.rb

Defined Under Namespace

Classes: Ancillary, TripLeg

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#ancillaryIncrease::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary

Ancillary purchases in addition to the airfare.



765
766
# File 'lib/increase/models/transaction.rb', line 765

required :ancillary,
-> { Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary }

#computerized_reservation_systemString

Indicates the computerized reservation system used to book the ticket.

Returns:

  • (String)


771
# File 'lib/increase/models/transaction.rb', line 771

required :computerized_reservation_system, String

#credit_reason_indicatorSymbol

Indicates the reason for a credit to the cardholder.

Returns:

  • (Symbol)


776
777
778
779
780
781
782
783
784
# File 'lib/increase/models/transaction.rb', line 776

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_dateString

Date of departure.

Returns:

  • (String)


789
# File 'lib/increase/models/transaction.rb', line 789

required :departure_date, String

#origination_city_airport_codeString

Code for the originating city or airport.

Returns:

  • (String)


794
# File 'lib/increase/models/transaction.rb', line 794

required :origination_city_airport_code, String

#passenger_nameString

Name of the passenger.

Returns:

  • (String)


799
# File 'lib/increase/models/transaction.rb', line 799

required :passenger_name, String

#restricted_ticket_indicatorSymbol

Indicates whether this ticket is non-refundable.

Returns:

  • (Symbol)


804
805
# File 'lib/increase/models/transaction.rb', line 804

required :restricted_ticket_indicator,
Increase::Enum.new(:no_restrictions, :restricted_non_refundable_ticket)

#ticket_change_indicatorSymbol

Indicates why a ticket was changed.

Returns:

  • (Symbol)


810
# File 'lib/increase/models/transaction.rb', line 810

required :ticket_change_indicator, Increase::Enum.new(:none, :change_to_existing_ticket, :new_ticket)

#ticket_numberString

Ticket number.

Returns:

  • (String)


815
# File 'lib/increase/models/transaction.rb', line 815

required :ticket_number, String

#travel_agency_codeString

Code for the travel agency if the ticket was issued by a travel agency.

Returns:

  • (String)


820
# File 'lib/increase/models/transaction.rb', line 820

required :travel_agency_code, String

#travel_agency_nameString

Name of the travel agency if the ticket was issued by a travel agency.

Returns:

  • (String)


825
# File 'lib/increase/models/transaction.rb', line 825

required :travel_agency_name, String

#trip_legsArray<Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg>

Fields specific to each leg of the journey.



830
831
# File 'lib/increase/models/transaction.rb', line 830

required :trip_legs,
Increase::ArrayOf.new(-> { Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg })