public static function getById($paymentId, $apiContext = null)
    {
        if (isset($apiContext)) {
            return Payment::get($paymentId, $apiContext);
        }
        return Payment::get($paymentId);
    }
public static function getById($paymentId, $apiContext = null)
    {
        if (isset($apiContext)) {
            return Payment::get($paymentId, $apiContext);
        }
        return Payment::get($paymentId);
    }
public static function getById ( $ paymentId , $ apiContext = null ) { if ( isset ( $ apiContext ) ) { return Payment :: get ( $ paymentId , $ apiContext ) ; } return Payment :: get ( $ paymentId ) ; }
grape payment details using the paymentId
@param $paymentId
@param null $apiContext
@return \PayPal\Api\Payment
grape payment details using the paymentId