AccountPage_Controller::setdefaultbilling PHP Method

setdefaultbilling() public method

public setdefaultbilling ( SS_HTTPRequest $req ) : SS_HTTPResponse
$req SS_HTTPRequest
return SS_HTTPResponse
    function setdefaultbilling($req)
    {
        $this->member->DefaultBillingAddressID = $req->param('ID');
        $this->member->write();
        return $this->redirectBack();
    }