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

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

#categorySymbol

Category of the ancillary service.

Returns:

  • (Symbol)


870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
# File 'lib/increase/models/transaction.rb', line 870

required :category,
Increase::Enum.new(
  :none,
  :bundled_service,
  :baggage_fee,
  :change_fee,
  :cargo,
  :carbon_offset,
  :frequent_flyer,
  :gift_card,
  :ground_transport,
  :in_flight_entertainment,
  :lounge,
  :medical,
  :meal_beverage,
  :other,
  :passenger_assist_fee,
  :pets,
  :seat_fees,
  :standby,
  :service_fee,
  :store,
  :travel_service,
  :unaccompanied_travel,
  :upgrades,
  :wifi
)

#sub_categoryString

Sub-category of the ancillary service, free-form.

Returns:

  • (String)


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

required :sub_category, String