Class: ErpIntegration::PurchaseRequest
- Defined in:
- lib/erp_integration/purchase_request.rb
Overview
The ‘ErpIntegration::PurchaseRequest` exposes an uniformed API for interaction with third-party ERP vendors.
Instance Attribute Summary collapse
-
#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.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#delivery_address ⇒ Object
Returns the value of attribute delivery_address.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#party ⇒ Object
Returns the value of attribute party.
-
#product ⇒ Object
Returns the value of attribute product.
-
#purchase ⇒ Object
Returns the value of attribute purchase.
-
#purchase_date ⇒ Object
Returns the value of attribute purchase_date.
-
#purchase_line ⇒ Object
Returns the value of attribute purchase_line.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#state ⇒ Object
Returns the value of attribute state.
-
#uom ⇒ Object
Returns the value of attribute uom.
-
#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
#attachments ⇒ Object
Returns the value of attribute attachments.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def @attachments end |
#company ⇒ Object
Returns the value of attribute company.
7 8 9 |
# File 'lib/erp_integration/purchase_request.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_request.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_request.rb', line 7 def create_uid @create_uid end |
#customer ⇒ Object
Returns the value of attribute customer.
7 8 9 |
# File 'lib/erp_integration/purchase_request.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_request.rb', line 7 def delivery_address @delivery_address end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def id @id end |
#metadata ⇒ Object
Returns the value of attribute metadata.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def @metadata end |
#party ⇒ Object
Returns the value of attribute party.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def party @party end |
#product ⇒ Object
Returns the value of attribute product.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def product @product end |
#purchase ⇒ Object
Returns the value of attribute purchase.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def purchase @purchase end |
#purchase_date ⇒ Object
Returns the value of attribute purchase_date.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def purchase_date @purchase_date end |
#purchase_line ⇒ Object
Returns the value of attribute purchase_line.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def purchase_line @purchase_line end |
#quantity ⇒ Object
Returns the value of attribute quantity.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def quantity @quantity end |
#state ⇒ Object
Returns the value of attribute state.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def state @state end |
#uom ⇒ Object
Returns the value of attribute uom.
7 8 9 |
# File 'lib/erp_integration/purchase_request.rb', line 7 def uom @uom end |
#warehouse ⇒ Object
Returns the value of attribute warehouse.
7 8 9 |
# File 'lib/erp_integration/purchase_request.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_request.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_request.rb', line 7 def write_uid @write_uid end |