Class: Quickbooks::Model::Payment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/quickbooks/model/payment.rb

Constant Summary collapse

XML_COLLECTION_NODE =
"Payment"
XML_NODE =
"Payment"
REST_RESOURCE =
'payment'

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) ⇒ Payment

Returns a new instance of Payment.



32
33
34
35
# File 'lib/quickbooks/model/payment.rb', line 32

def initialize(*args)
  ensure_line_items_initialization
  super
end