Open main menu
Home
Random
Log in
Settings
About SimplyBook.me
Disclaimers
SimplyBook.me
Search
Changes
← Older edit
Newer edit →
Company public service methods
(view source)
Revision as of 11:00, 18 December 2015
759 bytes added
,
8 years ago
→Constants
Line 69:
Line 69:
==Constants==
==Constants==
+
+
====Company params====
+
+
Use these values to get configuration params for company with <code>[[#getCompanyParam|getCompanyParam]]</code> API method.
+
+
* allow_delay_payment
+
* allow_event_breaktime_break
+
* allow_event_day_break
+
* company_timezone
+
* date_format
+
* fixed_country_prefix
+
* hide_sale_tax
+
* max_time_till_event
+
* min_time_till_event
+
* monday_is_first_day
+
* payment_timeout
+
* require_fields
+
*: String. Client's data fields required for booking. Possible values:
+
** phone - phone number is required
+
** email - email address is required
+
** email_phone - phone number and email address are required
+
* sale_tax
+
* send_notifications_in_client_timezone
+
* show_booking_page_in_client_timezone
+
* time_format
+
* timeframe
+
* user_public_timeline_type
+
----
====Plugin's identifiers====
====Plugin's identifiers====
Line 136:
Line 164:
See [[Plugins]] page for description for each plugin.
See [[Plugins]] page for description for each plugin.
+
----
Admin
Bureaucrats
,
Administrators
9,514
edits