Module: HhAddOn
- Defined in:
- app/my_lib/hh_add_on/reservation_add_ons/metadata.rb
Overview
Responsible to write and read add_ons data to ReservationProperty model add_on metadata
Stored add_on, will has following format
add_on_data: [{
id: 1,
price_cents: 123,
price_currency: add_on.price_currency,
quantity: 1,
}],
price_cents: 123, # Total price
price_currency: add_on.price_currency
Defined Under Namespace
Modules: ReservationAddOns