Class: Quickbooks::Model::Estimate

Inherits:
BaseModel
  • Object
show all
Includes:
GlobalTaxCalculation
Defined in:
lib/quickbooks/model/estimate.rb

Constant Summary collapse

REST_RESOURCE =

Constants

'estimate'
XML_COLLECTION_NODE =
"Estimate"
XML_NODE =
"Estimate"

Constants included from GlobalTaxCalculation

GlobalTaxCalculation::GLOBAL_TAX_CALCULATION, GlobalTaxCalculation::NOT_APPLICABLE, GlobalTaxCalculation::TAX_EXCLUDED, GlobalTaxCalculation::TAX_INCLUDED

Instance Method Summary collapse

Methods inherited from BaseModel

attribute_names, #attributes, attrs_with_types, #ensure_line_items_initialization, #inspect, inspect, reference_setters, resource_for_collection, resource_for_singular, to_xml_big_decimal, #to_xml_inject_ns, #to_xml_ns

Methods included from Validator

#line_item_size

Constructor Details

#initialize(*args) ⇒ Estimate

Returns a new instance of Estimate.



56
57
58
59
# File 'lib/quickbooks/model/estimate.rb', line 56

def initialize(*args)
  ensure_line_items_initialization
  super
end