FindUser

Extends \EasyTransac\Requests\Request

API function /user/find, search a user

author

Klyde

copyright

EasyTransac

package

Default

Methods

Call a EasyTransac API function

call(String $funcName, \EasyTransac\Entities\Entity $entity) 
inherited

Arguments

$funcName

String

Returns true if all required fields are in the json response

checkRequiredFields(Array|\EasyTransac\Requests\stdClass $json) : boolean
inherited

Arguments

$json

Array|\EasyTransac\Requests\stdClass

Response

boolean

Calls the API function

execute(\EasyTransac\Entities\Entity $entity) : \EasyTransac\Responses\StandardResponse
inherited abstract

Makes the relation between API field names and entity attributes and hydrates the correct entity

mapResponse(\stdClass $fields) : \EasyTransac\Responses\StandardResponse
inherited

Arguments

$fields

\stdClass

Response

\EasyTransac\Responses\StandardResponse

Properties

response

response : 
object

:User *

Type(s)

requiredFields

requiredFields : 
inherited

Type(s)