You are here

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

Applies an operation against a Price event.

Parameters

int $amount: The operation amount.

string $operation: The operation type.

int $days: The number of days the event lasts.

1 method overrides PricingEventInterface::applyOperation()
PricingEvent::applyOperation in modules/rooms_pricing/includes/rooms_pricing.pricing_event.inc
Applies an operation against a Price event.

File

modules/rooms_pricing/includes/rooms_pricing.pricing_event_interface.inc, line 20
A pricing event represent a price over a set of continuous dates. As soon as the price changes that is a different pricing event

Class

PricingEventInterface
@file A pricing event represent a price over a set of continuous dates. As soon as the price changes that is a different pricing event

Code

public function applyOperation($amount, $operation);