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


1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
# File 'lib/increase/models/transaction.rb', line 1417

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)


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

required :sub_category, String