can i use book() in public service
According to the offical sample as below ?
var res = this.client.book(
this.eventId, unitId, this.date, this.time,
{‘name’: jQuery(‘#name’).val(), ‘email’: jQuery(‘#email’).val(), ‘phone’: jQuery(‘#phone’).val()},
this.getAdditionalFieldsValues({
“handle_invoice”: true
}), this.qty
);