Policy **

The Policy capability extends both Product and Option objects with the fields cancellable, refundable, cutOff, holdablePeriod and cancelPolicy that contains policy information related to holds and bookings. This means that if the policy fields are added to the Product, they relate to the product. If the policy fields are added to the Option, they relate to the Option. It is possible that both Product and Option have different policy fields. In case there are no fields defined for the Option, the policy fields of the associated product will be adopted.

X-Capabilities: redeam/policy

Product

The Policy capability allows additional policy fields to be added to the policy object that relates to the Product.

Field NameTypeRequiredDescription
cancellableboolNoIndicates whether Bookings with this Product can be cancelled after confirmation
refundableboolNoIndicates whether Bookings with this Product can be refunded after confirmation
cutOffintegerNoThe minimum amount of time (in minutes) between the current time and the start time of a new hold
holdablePeriodintegerNoThe maximum amount of time (in seconds) between a booking hold creation and its expiration time
product
Copy

Option

The Policy capability allows additional policy fields to be added to the policy object that relates to the Option under the Product.

Field NameTypeRequiredDescription
cancellableboolNoIndicates whether Bookings with this Option can be cancelled after confirmation.
refundableboolNoIndicates whether Bookings with this Option can be refunded after confirmation.
cutOffintegerNoThe minimum amount of time (in minutes) between the current time and the start time of a new hold
holdablePeriodintegerNoThe maximum amount of time (in seconds) between a booking hold creation and its expiration time
cancelPolicystringNoText details defining the cancellation policy
option
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard