Class: Increase::Models::Transaction::Source::CardSettlement::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)


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

required :carrier_code, String

#destination_city_airport_codeString

Code for the destination city or airport.

Returns:

  • (String)


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

required :destination_city_airport_code, String

#fare_basis_codeString

Fare basis code.

Returns:

  • (String)


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

required :fare_basis_code, String

#flight_numberString

Flight number.

Returns:

  • (String)


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

required :flight_number, String

#service_classString

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

Returns:

  • (String)


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

required :service_class, String

#stop_over_codeSymbol

Indicates whether a stopover is allowed on this ticket.

Returns:

  • (Symbol)


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

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