Advertisement
Guest User

Untitled

a guest
May 24th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. //End of Close Shift process
  2. void (^completion)(BOOL , NSError* ) = ^(BOOL success, NSError *error){
  3. //success - flag if the Shift was closed successfuly
  4. };
  5.  
  6. // OPen the shift for the selected Cash Register
  7. [[sdk cashManager] closeShift:cashRegister.internalId //Selected Cash Register ID
  8. note:@"Close My Shift" // Optional Note when closing the shift
  9. amount:[NSNumber numberWithInt:100] // Amount of Cash which is present in the Cash Register at the time of closing
  10. completion:completion]; // End of Close Shift process
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement