com.konakart.app
Class BookableProductOptions

java.lang.Object
  extended by com.konakart.app.BookableProductOptions
All Implemented Interfaces:
BookableProductOptionsIf

public class BookableProductOptions
extends java.lang.Object
implements BookableProductOptionsIf

The BookableProductOptions is used to define the behaviour of certain Bookable Product APIs


Constructor Summary
BookableProductOptions()
          Constructor
 
Method Summary
 boolean isThrowExeptionForExceedingMaxBookings()
          Throw exception if bookings exceeds the maximum number of bookings on the bookable product.
 void setThrowExeptionForExceedingMaxBookings(boolean throwExeptionForExceedingMaxBookings)
          Throw exception if bookings exceeds the maximum number of bookings on the bookable product.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookableProductOptions

public BookableProductOptions()
Constructor

Method Detail

isThrowExeptionForExceedingMaxBookings

public boolean isThrowExeptionForExceedingMaxBookings()
Throw exception if bookings exceeds the maximum number of bookings on the bookable product. The default is false.

Specified by:
isThrowExeptionForExceedingMaxBookings in interface BookableProductOptionsIf
Returns:
the throwExeptionForExceedingMaxBookings

setThrowExeptionForExceedingMaxBookings

public void setThrowExeptionForExceedingMaxBookings(boolean throwExeptionForExceedingMaxBookings)
Throw exception if bookings exceeds the maximum number of bookings on the bookable product. The default is false.

Specified by:
setThrowExeptionForExceedingMaxBookings in interface BookableProductOptionsIf
Parameters:
throwExeptionForExceedingMaxBookings - the throwExeptionForExceedingMaxBookings to set


Copyright © 2011 DS Data Systems UK Ltd.