Class: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.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)


1884
# File 'lib/increase/models/card_payment.rb', line 1884

required :carrier_code, String

#destination_city_airport_codeString

Code for the destination city or airport.

Returns:

  • (String)


1889
# File 'lib/increase/models/card_payment.rb', line 1889

required :destination_city_airport_code, String

#fare_basis_codeString

Fare basis code.

Returns:

  • (String)


1894
# File 'lib/increase/models/card_payment.rb', line 1894

required :fare_basis_code, String

#flight_numberString

Flight number.

Returns:

  • (String)


1899
# File 'lib/increase/models/card_payment.rb', line 1899

required :flight_number, String

#service_classString

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

Returns:

  • (String)


1904
# File 'lib/increase/models/card_payment.rb', line 1904

required :service_class, String

#stop_over_codeSymbol

Indicates whether a stopover is allowed on this ticket.

Returns:

  • (Symbol)


1909
# File 'lib/increase/models/card_payment.rb', line 1909

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