com.konakartadmin.app
Class AdminBookableProductOptions

java.lang.Object
  extended by com.konakartadmin.app.AdminBookableProductOptions

public class AdminBookableProductOptions
extends java.lang.Object

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


Field Summary
private  java.lang.String custom
          custom field for customer's use
private  boolean populateBookableProduct
          if set to true the bookable product is populated on each booking when they are retrieved.
private  boolean populateOrderProduct
          if set to true the order product is populated on each booking when they are retrieved.
private  boolean throwExeptionForExceedingMaxBookings
          Throw exception if bookings exceeds the maximum number of bookings on the bookable product.
 
Constructor Summary
AdminBookableProductOptions()
          Constructor
 
Method Summary
 java.lang.String getCustom()
           
 boolean isPopulateBookableProduct()
           
 boolean isPopulateOrderProduct()
           
 boolean isThrowExeptionForExceedingMaxBookings()
           
 void setCustom(java.lang.String custom)
           
 void setPopulateBookableProduct(boolean populateBookableProduct)
           
 void setPopulateOrderProduct(boolean populateOrderProduct)
           
 void setThrowExeptionForExceedingMaxBookings(boolean throwExeptionForExceedingMaxBookings)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

throwExeptionForExceedingMaxBookings

private boolean throwExeptionForExceedingMaxBookings
Throw exception if bookings exceeds the maximum number of bookings on the bookable product. The default is false.


populateOrderProduct

private boolean populateOrderProduct
if set to true the order product is populated on each booking when they are retrieved. The default is false.


populateBookableProduct

private boolean populateBookableProduct
if set to true the bookable product is populated on each booking when they are retrieved. The default is false.


custom

private java.lang.String custom
custom field for customer's use

Constructor Detail

AdminBookableProductOptions

public AdminBookableProductOptions()
Constructor

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Option object.

getCustom

public java.lang.String getCustom()
Returns:
the custom

setCustom

public void setCustom(java.lang.String custom)
Parameters:
custom - the custom to set

isThrowExeptionForExceedingMaxBookings

public boolean isThrowExeptionForExceedingMaxBookings()
Returns:
the throwExeptionForExceedingMaxBookings

setThrowExeptionForExceedingMaxBookings

public void setThrowExeptionForExceedingMaxBookings(boolean throwExeptionForExceedingMaxBookings)
Parameters:
throwExeptionForExceedingMaxBookings - the throwExeptionForExceedingMaxBookings to set

isPopulateOrderProduct

public boolean isPopulateOrderProduct()
Returns:
the populateOrderProduct

setPopulateOrderProduct

public void setPopulateOrderProduct(boolean populateOrderProduct)
Parameters:
populateOrderProduct - the populateOrderProduct to set

isPopulateBookableProduct

public boolean isPopulateBookableProduct()
Returns:
the populateBookableProduct

setPopulateBookableProduct

public void setPopulateBookableProduct(boolean populateBookableProduct)
Parameters:
populateBookableProduct - the populateBookableProduct to set


Copyright © 2011 DS Data Systems UK Ltd.