Class: Quickbooks::Model::SalesReceipt

Inherits:
BaseModel
  • Object
show all
Includes:
DocumentNumbering, GlobalTaxCalculation, HasLineItems
Defined in:
lib/quickbooks/model/sales_receipt.rb

Constant Summary collapse

XML_COLLECTION_NODE =
"SalesReceipt"
XML_NODE =
"SalesReceipt"
REST_RESOURCE =
'salesreceipt'

Constants included from GlobalTaxCalculation

GlobalTaxCalculation::GLOBAL_TAX_CALCULATION, GlobalTaxCalculation::NOT_APPLICABLE, GlobalTaxCalculation::TAX_EXCLUDED, GlobalTaxCalculation::TAX_INCLUSIVE

Instance Method Summary collapse

Methods included from HasLineItems

#ensure_line_items_initialization, #initialize

Methods included from DocumentNumbering

#auto_doc_number!

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

#line_item_size

Methods included from Definition

included, #is_name_list_entity?, #is_transaction_entity?

Instance Method Details

#billing_email_address=(email_address_string) ⇒ Object Also known as: email=



58
59
60
# File 'lib/quickbooks/model/sales_receipt.rb', line 58

def billing_email_address=(email_address_string)
  self.bill_email = EmailAddress.new(email_address_string)
end