Class: Quickbooks::Model::BillPayment

Inherits:
BaseModel
  • Object
show all
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 inherited from BaseModel

attribute_names, #attributes, attrs_with_types, #ensure_line_items_initialization, #initialize, 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

This class inherits a constructor from Quickbooks::Model::BaseModel

Instance Method Details

#check_paymentObject

Required if PayType is Check.



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

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

#credit_card_paymentObject

Required if PayType is CreditCard.



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

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