message: Tweaked the CreditNote EntityHelper
  Modified to match the style of Invoices
  Added saveCreditNotes
diff: @@ -10,11 +10,8 @@ var CreditNotes = EntityHelper.extend({
  newCreditNote: function(data, options) {
  return new CreditNote(this.application, data, options);
  },
  - getCreditNotes: function(options, callback) {
  - var self = this;
  - var clonedOptions = _.clone(options || {});
  - clonedOptions.entityConstructor = function(data) { return self.newCreditNote(data) };
  - return this.getEntities(clonedOptions)
  + getCreditNotes: function(options) {
  + return this.getEntities(this.setUpOptions(options))
  },
  getCreditNote: function(id) {
  return this.getCreditNotes({ id: id })
  @@ -22,6 +19,16 @@ var CreditNotes = EntityHelper.extend({
  return _.first(creditNotes);
  })
  },
  + saveCreditNotes: function(creditnotes, options) {
  + return this.saveEntities(creditnotes, this.setUpOptions(options));
  + },
  + setUpOptions: function(options) {
  + var self = this;
  + var clonedOptions = _.clone(options || {});
  + clonedOptions.entityPath = 'CreditNotes';
  + clonedOptions.entityConstructor = function(data) { return self.newCreditNote(data) };
  + return clonedOptions;
  + }
  })
  module.exports = CreditNotes;
  \ No newline at end of file
  