wombat/netsuite_integration — pull request #17 by iloveitaly (2014-09-05 18:27:36+00:00)
Title: Pass full payload to CustomerDeposit

Allows for more complex customization based off of order data. For instance, in our case, we want to change the `account` based on order data.

In thinking about this a bit further, it seems to make sense for the `CustomerDeposit` object to inherit from `NetSuiteIntegration::Base` as opposed to `NetSuiteIntegration::Services::Base`. In our situation, the CustomerDeposit needs to inspect some fields in the order payload in order to determine the correct values for specific fields.