public function get($orderId, $transactionId, array $params = array())
    {
        $endpoint = '/admin/orders/'.$orderId.'/transactions/'.$transactionId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Transaction::class, $response['transaction']);
    }
public function get($orderId, $transactionId, array $params = array())
    {
        $endpoint = '/admin/orders/'.$orderId.'/transactions/'.$transactionId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Transaction::class, $response['transaction']);
    }
public function get ( $ orderId , $ transactionId , array $ params = array ( ) ) { $ endpoint = '/admin/orders/' . $ orderId . '/transactions/' . $ transactionId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Transaction :: class , $ response [ 'transaction' ] ) ; }
Get a single Transaction

@link   https://help.shopify.com/api/reference/transaction#show
@param  integer $orderId
@param  integer $transactionId
@param  array   $params
@return Transaction
Get a single Transaction