@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class Booking extends Object
| Constructor and Description |
|---|
Booking() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAccepted()
Whether this booking was accepted.
|
String |
getBookingNumber()
The unique booking number.
|
String |
getCancelationAgent()
If the booking is cancelled, this is the person who cancelled [read-only]
|
Date |
getCancelationTime()
If the booking is cancelled, this is the time when it was cancelled [read-only]
|
Boolean |
getCanceled()
Whether this booking is canceled [read-only]
|
List<String> |
getCouponCodes()
If a promotion of type \"multiple coupon codes\" was applied to this booking, this is the list of coupon codes used [read-only]
|
String |
getCreationAgent()
The person that created the booking [read-only]
|
Date |
getCreationTime()
The time when the booking was created [read-only]
|
Customer |
getCustomer()
The customer associated with this booking\n When reading a booking, this field is included only if the parameter expandCustomer is set to true, and the application has the necessary read permission for the customer.\n An application can include this field only when creating a new booking for a new customer.
|
String |
getCustomerId()
The id of the customer this booking is for.
|
Date |
getEndTime()
The end time of the booking.\n When creating a new booking of type flexibleTime, you can specify this field to force an end time.
|
String |
getEventId()
When the booking is for a product of type fixed or fixedCourse, this is the id of the slot (see /availability/slots).\n Note that for fixedCourse, Bookeo always returns the eventId of the first class in a course, even if the customer is enrolled starting from a later class.\n In this case, firstCourseEnrolledEvent will be set.
|
String |
getFirstCourseEnrolledEventId()
If the product is of type fixedCourse, and it is possible to accept late enrolment, this is the id of the event (class) where the actual enrolment starts.
|
String |
getGiftVoucherCodeInput()
A gift voucher code applicable to this booking.
|
List<Payment> |
getInitialPayments()
When creating a new booking, an application can also record one or more payment associated to the booking (ex.
|
String |
getLastChangeAgent()
The person who last updated this booking.
|
Date |
getLastChangeTime()
The time when the booking was last updated.
|
List<BookingOption> |
getOptions() |
Participants |
getParticipants()
Participants associated to this booking
|
Price |
getPrice()
Details about price, taxes, etc.
|
String |
getProductId()
The id of the product this booking is for
|
String |
getProductName()
The name of the product this booking is for [read-only]
|
String |
getPromotionCodeInput()
Optional promotion code input, can be used when creating or updating a booking\n It could be a single code, or a list of codes separated by comma (ex.
|
String |
getPromotionName()
The name of the promotion that was applied to this booking.
|
List<Resource> |
getResources()
Resources involved in a booking, if the booking is for a product of type \"flexibleTime\".\n If the booking is for a different type of product, this field is empty/ignored.\n When creating or updating a booking, only the id of a resource is required.
|
String |
getSourceIp()
The IP address from where this booking was created
|
String |
getSpecificVoucherCode()
When the booking used a service specific voucher (i.e.
|
Date |
getStartTime()
The start time of the booking.
|
String |
getTitle()
The title of this booking, same as the one displayed by Bookeo in the calendar [read-only]
|
void |
setAccepted(Boolean accepted) |
void |
setBookingNumber(String bookingNumber) |
void |
setCancelationAgent(String cancelationAgent) |
void |
setCancelationTime(Date cancelationTime) |
void |
setCanceled(Boolean canceled) |
void |
setCouponCodes(List<String> couponCodes) |
void |
setCreationAgent(String creationAgent) |
void |
setCreationTime(Date creationTime) |
void |
setCustomer(Customer customer) |
void |
setCustomerId(String customerId) |
void |
setEndTime(Date endTime) |
void |
setEventId(String eventId) |
void |
setFirstCourseEnrolledEventId(String firstCourseEnrolledEventId) |
void |
setGiftVoucherCodeInput(String giftVoucherCodeInput) |
void |
setInitialPayments(List<Payment> initialPayments) |
void |
setLastChangeAgent(String lastChangeAgent) |
void |
setLastChangeTime(Date lastChangeTime) |
void |
setOptions(List<BookingOption> options) |
void |
setParticipants(Participants participants) |
void |
setPrice(Price price) |
void |
setProductId(String productId) |
void |
setProductName(String productName) |
void |
setPromotionCodeInput(String promotionCodeInput) |
void |
setPromotionName(String promotionName) |
void |
setResources(List<Resource> resources) |
void |
setSourceIp(String sourceIp) |
void |
setSpecificVoucherCode(String specificVoucherCode) |
void |
setStartTime(Date startTime) |
void |
setTitle(String title) |
String |
toString() |
public String getBookingNumber()
public void setBookingNumber(String bookingNumber)
public String getEventId()
public void setEventId(String eventId)
public String getFirstCourseEnrolledEventId()
public void setFirstCourseEnrolledEventId(String firstCourseEnrolledEventId)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getEndTime()
public void setEndTime(Date endTime)
public String getCustomerId()
public void setCustomerId(String customerId)
public Customer getCustomer()
public void setCustomer(Customer customer)
public String getTitle()
public void setTitle(String title)
public Participants getParticipants()
public void setParticipants(Participants participants)
public List<Resource> getResources()
public Boolean getCanceled()
public void setCanceled(Boolean canceled)
public Date getCancelationTime()
public void setCancelationTime(Date cancelationTime)
public String getCancelationAgent()
public void setCancelationAgent(String cancelationAgent)
public Boolean getAccepted()
public void setAccepted(Boolean accepted)
public String getSourceIp()
public void setSourceIp(String sourceIp)
public Date getCreationTime()
public void setCreationTime(Date creationTime)
public String getCreationAgent()
public void setCreationAgent(String creationAgent)
public Date getLastChangeTime()
public void setLastChangeTime(Date lastChangeTime)
public String getLastChangeAgent()
public void setLastChangeAgent(String lastChangeAgent)
public String getProductName()
public void setProductName(String productName)
public String getProductId()
public void setProductId(String productId)
public Price getPrice()
public void setPrice(Price price)
public List<BookingOption> getOptions()
public void setOptions(List<BookingOption> options)
public String getPromotionCodeInput()
public void setPromotionCodeInput(String promotionCodeInput)
public String getPromotionName()
public void setPromotionName(String promotionName)
public List<String> getCouponCodes()
public String getGiftVoucherCodeInput()
public void setGiftVoucherCodeInput(String giftVoucherCodeInput)
public String getSpecificVoucherCode()
public void setSpecificVoucherCode(String specificVoucherCode)
public List<Payment> getInitialPayments()
Copyright © 2015. All rights reserved.