Class: Quickbooks::Model::BillPayment

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

Constant Summary collapse

XML_COLLECTION_NODE =
"BillPayment"
XML_NODE =
"BillPayment"
REST_RESOURCE =
'billpayment'

Instance Method Summary collapse

Methods included from HasLineItems

#ensure_line_items_initialization, #initialize

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

#check_paymentObject

Required if PayType is Check.



29
# File 'lib/quickbooks/model/bill_payment.rb', line 29

xml_accessor :check_payment, :from => 'CheckPayment', :as => BillPaymentCheck

#credit_card_paymentObject

Required if PayType is CreditCard.



31
# File 'lib/quickbooks/model/bill_payment.rb', line 31

xml_accessor :credit_card_payment, :from => 'CreditCardPayment', :as => BillPaymentCreditCard