Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain rates rules kinds more explicitly #196

Open
2 tasks
Fredar opened this issue Dec 22, 2016 · 0 comments
Open
2 tasks

Explain rates rules kinds more explicitly #196

Fredar opened this issue Dec 22, 2016 · 0 comments

Comments

@Fredar
Copy link
Contributor

Fredar commented Dec 22, 2016

  • What exactly are they for, best with examples and how they use variables.
  • Give a mapping of possible variables
additional_person_fixed_per_night => [:occupation_greater_than]
arrival_only                      => [:days]
charge_at_least                   => [:length, :unit]
charge_at_least_if_available      => [:length, :unit]
departure_only                    => [:days]
full_period_only                  => []
prevent_if_booked_ahead_of        => [:length, :unit]
prevent_if_booked_less_than       => [:length, :unit]
strict_minimum_price_per_night    => []
weekend_night                     => [:days]
stay_at_least                     => [:length, :unit]
stay_shorter_than                 => [:length, :unit]
early_booking                     => [:length, :unit]
late_booking                      => [:length, :unit]
occupation_less_than              => [:occupation_less_than]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant