title: Paypal payout get sender item id
body: <p>How do I get the "sender item id" from a retrived PayoutItem</p>
  
  <pre><code>try {
  
              $output = \PayPal\Api\PayoutItem::get($payoutItemId, $this-&gt;apiContext);
  
          } catch (\Exception $e) {
  
              return $e-&gt;getMessage();
          }
  
  // trasaction_id - works fine
              $transactionStatus = $output-&gt;getTransactionId();
  
              // trasaction_status - works fine
              $transactionId = $output-&gt;getTransactionStatus();
  
  // ERROR
  $senderItemId = $output-&gt;getSenderItemId();
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Call to undefined method PayPal\Api\PayoutItemDetails::getSenderItemId()
  </code></pre>
  
  <p>upon inspection it looks like the PayoutItem class has the <code>getSenderItemId()</code> public function available - but the PayoutItemDetails class which is returned by the static <code>get</code> method on PayoutItem does not.</p>
  
  <p>How can I get the senderItemId? :(</p>
  
  <p>Payout item class - <a href="https://github.com/paypal/PayPal-PHP-SDK/blob/master/lib/PayPal/Api/PayoutItem.php" rel="nofollow">https://github.com/paypal/PayPal-PHP-SDK/blob/master/lib/PayPal/Api/PayoutItem.php</a></p>