Class: LedgerSync::Ledgers::QuickBooksOnline::BillPayment

Inherits:
Resource show all
Defined in:
lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment.rb,
lib/ledger_sync/ledgers/quickbooks_online/bill_payment/serializer.rb,
lib/ledger_sync/ledgers/quickbooks_online/bill_payment/deserializer.rb,
lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/find.rb,
lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/create.rb,
lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/update.rb

Defined Under Namespace

Modules: Operations Classes: Deserializer, Serializer

Constant Summary collapse

PAYMENT_TYPES =
{
  'cash' => 'Cash',
  'check' => 'Check',
  'credit_card' => 'CreditCard'
}.freeze

Constants inherited from Resource

Resource::PRIMITIVES

Instance Method Summary collapse

Methods inherited from Resource

#==, #assign_attribute, #assign_attributes, #changed?, #changes, #class_from_resource_type, inherited, operations, resource_module_str, resource_type, serialize_attribute?, #to_h

Methods included from Mixins::InferClientMixin

included

Methods included from Util::Mixins::DupableMixin

#dup

Methods included from ResourceAttribute::Reference::Many::Mixin

included

Methods included from ResourceAttribute::Reference::One::Mixin

included

Methods included from ResourceAttribute::Mixin

#assign_attribute, #assign_attributes, included, #initialize, #resource_attributes, #save, #serialize_attributes

Methods included from Validatable

#valid?, #validate, #validate_or_fail

Instance Method Details

#nameObject



36
37
38
# File 'lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment.rb', line 36

def name
  "Bill Payment: #{reference_number}"
end