1.0.4 • Published 5 years ago
mobile-bookit v1.0.4
Mobile Bookit
- Run
npm install --save mobile-bookit
- Import it into your project
import GeronigoBookit from 'mobile-bookit'
Props
Name | Type | Default |
---|---|---|
appKey | string | geronigobookit |
apiKey | string | rezbotbookit |
apiUrl | string | https://apidev2.geronigo.com/api/v1.1/ |
mode | live or test | test |
venueId | live | 10900 |
activityId | live | 17 |
Events
onBookingCreated: (booking: any, type: 'booking'|'enquiry')
The booking object returned from api is at first position. If payment has been made, then type will be booking
else enquiry