PayPal\Test\Api\PaymentHistoryTest::getObject PHP Method

getObject() public static method

Gets Object Instance with Json data filled in
public static getObject ( ) : PaymentHistory
return PayPal\Api\PaymentHistory
    public static function getObject()
    {
        return new PaymentHistory(self::getJson());
    }