Вы находитесь на странице: 1из 2

Booking Slip Extractor

1. Operations:
a. Validate initial booking code (happens only once)
i. Check that the booking code length is 7
ii. Check that each booking code character is a member of the booking code
character set
b. Generate new booking code
i. Place each booking code character into a collection in its default order
ii. Check the character in the last item of the collection such that the position of
that character in the booking code character set is known
iii. Get the character in its next position in the booking code character set
iv. Set the last item of the collection to the new character obtained
v. Convert the updated collection into a single string to be the booking code
c. Request booking slip
i. Request the target web page
ii. Enter the booking code in the field provided for that purpose
iii. Click the button that activates the request
d. Receive booking slip
i. Prepare the booking slip component for database storage
e. Store booking slip
i. Check that the booking code or booking slip is not already store in the
database
ii. Save the booking code and booking slip in the database
f. Retrieve booking slip
2. Case study: Bet9ja
3. Sample booking code: 77V2XVT
4. Booking code length: 7
5. Booking code character supported: Letters and numbers
6. Booking code range of values: Letters (A-Z) excluding A, E, I, O, and U; and numbers (0-9)
excluding 0, 1, and 4
7. Booking code character set: B, C, D, F, G, H, J, K, L, M, N, P, Q, R, S, T, V, W, X, Y, Z, 2,
3, 5, 6, 7, 8, and 9
8. Booking code character set length: 28
9. Booking slip component:
a. Event
b. Market
c. Pick/Selection
d. Odd

Вам также может понравиться