title: how we can set reminders and expiration settings for docusign envelope from docusign rest api envelope?
body: <p>how we can set reminders and expiration settings for docusign envelope from docusign rest api envelope ?</p>
  
  <pre><code>JSONGenerator gen = JSON.createGenerator(true);
  /start notifications 
          gen.writeFieldName('notifications');       
          gen.writeStartObject();
          gen.writeStringField('useAccountDefaults', 'true');
           //start reminders   
          gen.writeFieldName('reminders');           
          gen.writeStartObject();
          gen.writeObjectField('reminderEnabled', 'true');
          gen.writeObjectField('reminderDelay', '1');
          gen.writeObjectField('reminderFrequency', '1');       
          gen.writeEndObject();      
           //end reminders 
  
           //start expiration    
          gen.writeFieldName('expirations');             
          gen.writeStartObject();
          gen.writeObjectField('expireEnabled', 'true');
          gen.writeObjectField('expireAfter', '7');
          gen.writeObjectField('expireWarn', '1');             
          gen.writeEndObject();       
  
           //end expiration 
  
          gen.writeEndObject();
           //end notifications 
  </code></pre>
  
  <p>somehow these settings are not working.</p>