src/Resource/Escrow.php
protected function populate(stdClass $response)
    {
        $escrow = clone $this;

        $escrow->data->id = $this->getIfSet('id', $response);
        $escrow->data->status = $this->getIfSet('status', $response);
        $escrow->data->description = $this->getIfSet('description', $response);
        $escrow->data->amount = $this->getIfSet('amount', $response);
        $escrow->data->_links = $this->getIfSet('_links', $response);
        $escrow->data->createdAt = $this->getIfSetDateTime('createdAt', $response);
        $escrow->data->updatedAt = $this->getIfSetDateTime('updatedAt', $response);

        return $escrow;
    }
protected function populate(stdClass $response)
    {
        $escrow = clone $this;

        $escrow->data->id = $this->getIfSet('id', $response);
        $escrow->data->status = $this->getIfSet('status', $response);
        $escrow->data->description = $this->getIfSet('description', $response);
        $escrow->data->amount = $this->getIfSet('amount', $response);
        $escrow->data->_links = $this->getIfSet('_links', $response);
        $escrow->data->createdAt = $this->getIfSetDateTime('createdAt', $response);
        $escrow->data->updatedAt = $this->getIfSetDateTime('updatedAt', $response);

        return $escrow;
    }
protected function populate ( stdClass $ response ) { $ escrow = clone $ this ; $ escrow -> data -> id = $ this -> getIfSet ( 'id' , $ response ) ; $ escrow -> data -> status = $ this -> getIfSet ( 'status' , $ response ) ; $ escrow -> data -> description = $ this -> getIfSet ( 'description' , $ response ) ; $ escrow -> data -> amount = $ this -> getIfSet ( 'amount' , $ response ) ; $ escrow -> data -> _links = $ this -> getIfSet ( '_links' , $ response ) ; $ escrow -> data -> createdAt = $ this -> getIfSetDateTime ( 'createdAt' , $ response ) ; $ escrow -> data -> updatedAt = $ this -> getIfSetDateTime ( 'updatedAt' , $ response ) ; return $ escrow ; }
Mount escrow structure.

@param \stdClass $response

@return Escrow
Mount escrow structure .