@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class Product extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Product.TypeEnum |
| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAcceptDeny()
Whether the business has reserved the faculty to accept/deny any booking for this product.\n If this field is true, any booking submitted MAY not be confirmed immediately, but instead tracked as a 'pending request'.
|
Boolean |
getApiBookingsAllowed()
Whether API applications can query availability and create bookings for this product.\n The account manager can block some products from being booked via the API.
|
List<BookingLimit> |
getBookingLimits()
Defines, for each people category, how many people can be present in a single booking.\n If a people category is not included here, it means it is not supported in this product.
|
List<PriceRate> |
getDefaultRates()
Define the STANDARD rates (prices) for each people category.\n These are the headline rates only.
|
String |
getDescription()
[read-only]
|
Duration |
getDuration()
[read-only]
|
List<Image> |
getImages()
[read-only]
|
Boolean |
getMembersOnly()
Whether this product can only be booked by current members [read-only]
|
String |
getName()
[read-only]
|
Boolean |
getPrepaidOnly()
Whether this product can only be booked by customers who have purchase prepaid credits for it.
|
String |
getProductCode()
The product code chosen for this product by the account manager.\n It can (but rarely does) change [read-only]
|
String |
getProductId()
A unique, never changing id that identifies this product [read-only]
|
Product.TypeEnum |
getType()
[read-only]
|
void |
setAcceptDeny(Boolean acceptDeny) |
void |
setApiBookingsAllowed(Boolean apiBookingsAllowed) |
void |
setBookingLimits(List<BookingLimit> bookingLimits) |
void |
setDefaultRates(List<PriceRate> defaultRates) |
void |
setDescription(String description) |
void |
setDuration(Duration duration) |
void |
setImages(List<Image> images) |
void |
setMembersOnly(Boolean membersOnly) |
void |
setName(String name) |
void |
setPrepaidOnly(Boolean prepaidOnly) |
void |
setProductCode(String productCode) |
void |
setProductId(String productId) |
void |
setType(Product.TypeEnum type) |
String |
toString() |
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getProductId()
public void setProductId(String productId)
public String getProductCode()
public void setProductCode(String productCode)
public List<BookingLimit> getBookingLimits()
public void setBookingLimits(List<BookingLimit> bookingLimits)
public List<PriceRate> getDefaultRates()
public Duration getDuration()
public void setDuration(Duration duration)
public Product.TypeEnum getType()
public void setType(Product.TypeEnum type)
public Boolean getMembersOnly()
public void setMembersOnly(Boolean membersOnly)
public Boolean getPrepaidOnly()
public void setPrepaidOnly(Boolean prepaidOnly)
public Boolean getAcceptDeny()
public void setAcceptDeny(Boolean acceptDeny)
public Boolean getApiBookingsAllowed()
public void setApiBookingsAllowed(Boolean apiBookingsAllowed)
Copyright © 2015. All rights reserved.