class Quickbooks::Model::Line

def sub_total!

def sub_total!
  self.detail_type = SUB_TOTAL_LINE_DETAIL
  self.sub_total_line_detail = SubTotalLineDetail.new
  yield self.sub_total_line_detail if block_given?
end