public function void(
        $orderId,
        HpsOrderData $orderData = null
    ) {
        $payload = array(
            'OrderId' => $orderId,
        );
        return $this->submitTransaction($payload, 'cmpi_void');
    }
public function void(
        $orderId,
        HpsOrderData $orderData = null
    ) {
        $payload = array(
            'OrderId' => $orderId,
        );
        return $this->submitTransaction($payload, 'cmpi_void');
    }
public function void ( $ orderId , HpsOrderData $ orderData = null ) { $ payload = array ( 'OrderId' => $ orderId , ) ; return $ this -> submitTransaction ( $ payload , 'cmpi_void' ) ; }
Cancels an authorized transaction with MasterPass. Any hold on consumer
funds will be removed when the transaction is voided.

@param string       $orderId   order id from Cardinal
@param HpsOrderData $orderData Cardinal/MasterPass specific data

@return object
Cancels an authorized transaction with MasterPass . Any hold on consumer funds will be removed when the transaction is voided .