Class: Quickbooks::Model::Department
- Includes:
- NameEntity::PermitAlterations, NameEntity::Quality
- Defined in:
- lib/quickbooks/model/department.rb
Constant Summary collapse
- XML_COLLECTION_NODE =
"Department"
- XML_NODE =
"Department"
- REST_RESOURCE =
'department'
Instance Method Summary collapse
Methods included from NameEntity::PermitAlterations
#valid_for_create?, #valid_for_deletion?, #valid_for_update?
Methods included from NameEntity::Quality
#billable_status_is_valid, #email_address, #email_address=, #email_address_is_valid, #entity_type_is_valid, #journal_line_entry_tax, #names_cannot_contain_invalid_characters, #posting_type_is_valid
Methods inherited from BaseModel
#as_json, attribute_names, #attributes, attrs_with_types, #initialize, inspect, #inspect, reference_attrs, reference_setters, resource_for_collection, resource_for_singular, to_xml_big_decimal, #to_xml_inject_ns, #to_xml_ns
Methods included from Validator
Methods included from Definition
included, #is_name_list_entity?, #is_transaction_entity?
Constructor Details
This class inherits a constructor from Quickbooks::Model::BaseModel
Instance Method Details
#sub_department? ⇒ Boolean
25 26 27 |
# File 'lib/quickbooks/model/department.rb', line 25 def sub_department? sub_department.to_s == 'true' end |