Class: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service

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

#categorySymbol

Category of the ancillary service.

Returns:

  • (Symbol)


1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
# File 'lib/increase/models/card_payment.rb', line 1260

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)


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

required :sub_category, String