|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.app.AdminBookableProductOptions
public class AdminBookableProductOptions
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 |
|---|
private boolean throwExeptionForExceedingMaxBookings
private boolean populateOrderProduct
private boolean populateBookableProduct
private java.lang.String custom
| Constructor Detail |
|---|
public AdminBookableProductOptions()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getCustom()
public void setCustom(java.lang.String custom)
custom - the custom to setpublic boolean isThrowExeptionForExceedingMaxBookings()
public void setThrowExeptionForExceedingMaxBookings(boolean throwExeptionForExceedingMaxBookings)
throwExeptionForExceedingMaxBookings - the throwExeptionForExceedingMaxBookings to setpublic boolean isPopulateOrderProduct()
public void setPopulateOrderProduct(boolean populateOrderProduct)
populateOrderProduct - the populateOrderProduct to setpublic boolean isPopulateBookableProduct()
public void setPopulateBookableProduct(boolean populateBookableProduct)
populateBookableProduct - the populateBookableProduct to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||