ShopUserInfo::getAddress PHP Method

getAddress() public method

Get location of user
public getAddress ( )
    public function getAddress()
    {
        $address = null;
        if ($data = $this->getLocationData()) {
            $address = Address::create();
            $address->update($data);
            $address->ID = 0;
            //ensure not in db
        }
        return $address;
    }