Class: ErpIntegration::PurchaseOrder
- Defined in:
- lib/erp_integration/purchase_order.rb
Overview
The ‘ErpIntegration::PurchaseOrder` exposes an uniformed API for interaction with third-party ERP vendors.
Instance Attribute Summary collapse
-
#approval_status ⇒ Object
Returns the value of attribute approval_status.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#company ⇒ Object
Returns the value of attribute company.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#create_uid ⇒ Object
Returns the value of attribute create_uid.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#delivery_address ⇒ Object
Returns the value of attribute delivery_address.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invoice_address ⇒ Object
Returns the value of attribute invoice_address.
-
#invoice_method ⇒ Object
Returns the value of attribute invoice_method.
-
#invoice_state ⇒ Object
Returns the value of attribute invoice_state.
-
#invoices ⇒ Object
Returns the value of attribute invoices.
-
#lines ⇒ Object
Returns the value of attribute lines.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#number ⇒ Object
Returns the value of attribute number.
-
#party ⇒ Object
Returns the value of attribute party.
-
#payment_term ⇒ Object
Returns the value of attribute payment_term.
-
#purchase_date ⇒ Object
Returns the value of attribute purchase_date.
-
#purchase_person ⇒ Object
Returns the value of attribute purchase_person.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#shipment_method ⇒ Object
Returns the value of attribute shipment_method.
-
#shipments ⇒ Object
Returns the value of attribute shipments.
-
#state ⇒ Object
Returns the value of attribute state.
-
#tax_amount ⇒ Object
Returns the value of attribute tax_amount.
-
#total_amount ⇒ Object
Returns the value of attribute total_amount.
-
#total_quantity ⇒ Object
Returns the value of attribute total_quantity.
-
#untaxed_amount ⇒ Object
Returns the value of attribute untaxed_amount.
-
#warehouse ⇒ Object
Returns the value of attribute warehouse.
-
#write_date ⇒ Object
Returns the value of attribute write_date.
-
#write_uid ⇒ Object
Returns the value of attribute write_uid.
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
adapter, adapter_klass, adapter_path, adapter_type, #assign_attributes, #initialize, #method_missing, resource_name, respond_to_missing?
Methods included from Resources::Persistence
#destroy, included, #persisted?, #update
Methods included from Resources::Validations
#errors, #valid?, #validate_with
Constructor Details
This class inherits a constructor from ErpIntegration::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ErpIntegration::Resource
Instance Attribute Details
#approval_status ⇒ Object
Returns the value of attribute approval_status.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def approval_status @approval_status end |
#attachments ⇒ Object
Returns the value of attribute attachments.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def @attachments end |
#company ⇒ Object
Returns the value of attribute company.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def company @company end |
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def create_date @create_date end |
#create_uid ⇒ Object
Returns the value of attribute create_uid.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def create_uid @create_uid end |
#currency ⇒ Object
Returns the value of attribute currency.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def currency @currency end |
#customer ⇒ Object
Returns the value of attribute customer.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def customer @customer end |
#delivery_address ⇒ Object
Returns the value of attribute delivery_address.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def delivery_address @delivery_address end |
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def id @id end |
#invoice_address ⇒ Object
Returns the value of attribute invoice_address.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def invoice_address @invoice_address end |
#invoice_method ⇒ Object
Returns the value of attribute invoice_method.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def invoice_method @invoice_method end |
#invoice_state ⇒ Object
Returns the value of attribute invoice_state.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def invoice_state @invoice_state end |
#invoices ⇒ Object
Returns the value of attribute invoices.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def invoices @invoices end |
#lines ⇒ Object
Returns the value of attribute lines.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def lines @lines end |
#metadata ⇒ Object
Returns the value of attribute metadata.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def @metadata end |
#number ⇒ Object
Returns the value of attribute number.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def number @number end |
#party ⇒ Object
Returns the value of attribute party.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def party @party end |
#payment_term ⇒ Object
Returns the value of attribute payment_term.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def payment_term @payment_term end |
#purchase_date ⇒ Object
Returns the value of attribute purchase_date.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def purchase_date @purchase_date end |
#purchase_person ⇒ Object
Returns the value of attribute purchase_person.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def purchase_person @purchase_person end |
#reference ⇒ Object
Returns the value of attribute reference.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def reference @reference end |
#shipment_method ⇒ Object
Returns the value of attribute shipment_method.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def shipment_method @shipment_method end |
#shipments ⇒ Object
Returns the value of attribute shipments.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def shipments @shipments end |
#state ⇒ Object
Returns the value of attribute state.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def state @state end |
#tax_amount ⇒ Object
Returns the value of attribute tax_amount.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def tax_amount @tax_amount end |
#total_amount ⇒ Object
Returns the value of attribute total_amount.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def total_amount @total_amount end |
#total_quantity ⇒ Object
Returns the value of attribute total_quantity.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def total_quantity @total_quantity end |
#untaxed_amount ⇒ Object
Returns the value of attribute untaxed_amount.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def untaxed_amount @untaxed_amount end |
#warehouse ⇒ Object
Returns the value of attribute warehouse.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def warehouse @warehouse end |
#write_date ⇒ Object
Returns the value of attribute write_date.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def write_date @write_date end |
#write_uid ⇒ Object
Returns the value of attribute write_uid.
7 8 9 |
# File 'lib/erp_integration/purchase_order.rb', line 7 def write_uid @write_uid end |