I was trying to write some unit tests and needed to create a sample quickbooks sales order response. However, for some reason, the Rate and RatePercent aren't being set no matter what I do, strangely. After the initialization the rate is still null and the rate percent is also zero. I also tried setting it via a property afterwards (e.g. newVal.Rate = 100M) but even then the resulting object still has newVal.Rate=null.
E.g. the rate is set to 100
But then after setting it, the Rate parameter on the final object is null...?
I was trying to write some unit tests and needed to create a sample quickbooks sales order response. However, for some reason, the Rate and RatePercent aren't being set no matter what I do, strangely. After the initialization the rate is still null and the rate percent is also zero. I also tried setting it via a property afterwards (e.g. newVal.Rate = 100M) but even then the resulting object still has newVal.Rate=null.
E.g. the rate is set to 100
But then after setting it, the Rate parameter on the final object is null...?
Locals view of newVal