You are here

public function UnitPricingCalendarInterface::applyPriceModifiers in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Apply price modifiers to base price.

Parameters

float $base_price: The price to modify.

int $days: The event duration.

array $reply: A log of prices changes

Return value

float The modified price.

1 method overrides UnitPricingCalendarInterface::applyPriceModifiers()
UnitPricingCalendar::applyPriceModifiers in modules/rooms_pricing/includes/rooms_pricing.unit_pricing_calendar.inc
Apply price modifiers to base price.

File

modules/rooms_pricing/includes/rooms_pricing.unit_pricing_calendar_interface.inc, line 27
Contains UnitPricingCalendarInterface.

Class

UnitPricingCalendarInterface
Handles querying and updating the pricing information relative to a single bookable unit.

Code

public function applyPriceModifiers($base_price, $days, &$reply);