RushCode/m1-api

View on GitHub
src/Methods/Request/GetUserInfo.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace leocata\M1\Methods\Request;

use leocata\M1\Abstracts\RequestMethods;

class GetUserInfo extends RequestMethods
{
    public $userid;

    public function getMandatoryFields(): array
    {
        return [];
    }

    public function getUserId()
    {
        return $this->getResult()->userid;
    }
}