public function setNonce($nonce = null)
    {
        $this->nonce = $nonce;
        if ($nonce === null) {
            $this->nonce = new Nonce();
        }
        return $this;
    }
public function setNonce($nonce = null)
    {
        $this->nonce = $nonce;
        if ($nonce === null) {
            $this->nonce = new Nonce();
        }
        return $this;
    }
public function setNonce ( $ nonce = null ) { $ this -> nonce = $ nonce ; if ( $ nonce === null ) { $ this -> nonce = new Nonce ( ) ; } return $ this ; }
Set signing nonce

@param Nonce|string $nonce
@return $this
Set signing nonce