/**
* pushMessage function
*
* method to dispatch iOS notifications
*
* @param Invoice $invoice
* @param $token
* @param $type
*/
private function pushMessage(Invoice $invoice, $token, $type)
{
$this->pushFactory->message($token, $this->messageType($invoice, $type));
}