| 1 | <?php  | 
            ||
| 7 | class NextEngineResourceOwner implements ResourceOwnerInterface  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * Raw response  | 
            ||
| 11 | *  | 
            ||
| 12 | * @var array  | 
            ||
| 13 | */  | 
            ||
| 14 | protected $response;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @param array $response  | 
            ||
| 18 | */  | 
            ||
| 19 | public function __construct(array $response)  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Returns the identifier of the authorized resource owner.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @return string  | 
            ||
| 28 | */  | 
            ||
| 29 | public function getId()  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * Returns the shop name.  | 
            ||
| 36 | *  | 
            ||
| 37 | * @return string  | 
            ||
| 38 | */  | 
            ||
| 39 | public function getCompanyName()  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * Returns the shop name.  | 
            ||
| 46 | *  | 
            ||
| 47 | * @return string  | 
            ||
| 48 | */  | 
            ||
| 49 | public function getCompanyNameKane()  | 
            ||
| 53 | |||
| 54 | /**  | 
            ||
| 55 | * Return all of the owner details available as an array.  | 
            ||
| 56 | *  | 
            ||
| 57 | * @return array  | 
            ||
| 58 | */  | 
            ||
| 59 | public function toArray()  | 
            ||
| 63 | }  | 
            ||
| 64 |