Class: Quickbooks::Model::PaymentMethod

Inherits:
BaseModel
  • Object
show all
Includes:
NameEntity::PermitAlterations
Defined in:
lib/quickbooks/model/payment_method.rb

Constant Summary collapse

REST_RESOURCE =
'paymentmethod'
XML_COLLECTION_NODE =
"PaymentMethod"
XML_NODE =
"PaymentMethod"
CREDIT_CARD =
"CREDIT_CARD"
NON_CREDIT_CARD =
"NON_CREDIT_CARD"
PAYMENT_METHOD_TYPES =
[CREDIT_CARD, NON_CREDIT_CARD]

Method Summary

Methods included from NameEntity::PermitAlterations

#valid_for_create?, #valid_for_deletion?, #valid_for_update?

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?

Constructor Details

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