src/Service/Ticketing.php
public function check($eventId, $barcode, $terminalId = null, Location $location = null) {
        return new TicketCheckIn($this->client->post('check', [
            'event' => $eventId,
            'barcode' => $barcode,
            'terminalId' => $terminalId,
            'location' => $location
        ]));
    }
public function check($eventId, $barcode, $terminalId = null, Location $location = null) {
        return new TicketCheckIn($this->client->post('check', [
            'event' => $eventId,
            'barcode' => $barcode,
            'terminalId' => $terminalId,
            'location' => $location
        ]));
    }
public function check ( $ eventId , $ barcode , $ terminalId = null , Location $ location = null ) { return new TicketCheckIn ( $ this -> client -> post ( 'check' , [ 'event' => $ eventId , 'barcode' => $ barcode , 'terminalId' => $ terminalId , 'location' => $ location ] ) ) ; }
Check a ticket barcode for an event.
@param $eventId integer event id
@param $barcode string barcode
@param $terminalId integer _optional_ terminal id
@param $location Location _optional_ location
@return TicketCheckIn result
@throws \OK\Model\Network\Exception\NetworkException
Check a ticket barcode for an event .