spec/support/avalara_helper.rb
# use override opts, especially for type, totalTax, status, etc
use override opts, especially for type, totalTax, status, etc
use override opts especially for type totalTax status etc
def avalara_transaction_result_fixture(opts = {})
    opts['code'] = nil if opts['type'] == 'SalesOrder'
    GENERIC_AVATAX_TRANSACTION.deep_merge(opts.deep_stringify_keys)
  end
def avalara_transaction_result_fixture ( opts = { } ) opts [ 'code' ] = nil if opts [ 'type' ] == 'SalesOrder' GENERIC_AVATAX_TRANSACTION . deep_merge ( opts . deep_stringify_keys ) end
use override opts, especially for type, totalTax, status, etc
use override opts especially for type totalTax status etc
# SalesOrder transactions do not have code because they are not persisted
opts
<not_specific>