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

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#carrier_codeString

Carrier code (e.g., United Airlines, Jet Blue, etc.).

Returns:

  • (String)


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

required :carrier_code, String

#destination_city_airport_codeString

Code for the destination city or airport.

Returns:

  • (String)


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

required :destination_city_airport_code, String

#fare_basis_codeString

Fare basis code.

Returns:

  • (String)


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

required :fare_basis_code, String

#flight_numberString

Flight number.

Returns:

  • (String)


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

required :flight_number, String

#service_classString

Service class (e.g., first class, business class, etc.).

Returns:

  • (String)


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

required :service_class, String

#stop_over_codeSymbol

Indicates whether a stopover is allowed on this ticket.

Returns:

  • (Symbol)


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

required :stop_over_code, Increase::Enum.new(:none, :stop_over_allowed, :stop_over_not_allowed)