Class: ErpIntegration::PurchaseOrderLine

Inherits:
Resource
  • Object
show all
Defined in:
lib/erp_integration/purchase_order_line.rb

Overview

The ‘ErpIntegration::PurchaseOrderLine` exposes an uniformed API for interaction with third-party ERP vendors.

Instance Attribute Summary collapse

Attributes inherited from Resource

#raw_api_response

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

#amountObject

Returns the value of attribute amount.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def amount
  @amount
end

#attachmentsObject

Returns the value of attribute attachments.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def attachments
  @attachments
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def create_date
  @create_date
end

#create_uidObject

Returns the value of attribute create_uid.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def create_uid
  @create_uid
end

#delivery_dateObject

Returns the value of attribute delivery_date.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def delivery_date
  @delivery_date
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def description
  @description
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def id
  @id
end

#invoice_linesObject

Returns the value of attribute invoice_lines.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def invoice_lines
  @invoice_lines
end

#metadataObject

Returns the value of attribute metadata.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def 
  @metadata
end

#noteObject

Returns the value of attribute note.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def note
  @note
end

#productObject

Returns the value of attribute product.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def product
  @product
end

#purchaseObject

Returns the value of attribute purchase.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def purchase
  @purchase
end

#quantityObject

Returns the value of attribute quantity.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def quantity
  @quantity
end

#quantity_canceledObject

Returns the value of attribute quantity_canceled.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def quantity_canceled
  @quantity_canceled
end

#quantity_invoicedObject

Returns the value of attribute quantity_invoiced.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def quantity_invoiced
  @quantity_invoiced
end

#quantity_receivedObject

Returns the value of attribute quantity_received.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def quantity_received
  @quantity_received
end

#sequenceObject

Returns the value of attribute sequence.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def sequence
  @sequence
end

#taxesObject

Returns the value of attribute taxes.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def taxes
  @taxes
end

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def type
  @type
end

#unitObject

Returns the value of attribute unit.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def unit
  @unit
end

#unit_priceObject

Returns the value of attribute unit_price.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def unit_price
  @unit_price
end

#write_dateObject

Returns the value of attribute write_date.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



7
8
9
# File 'lib/erp_integration/purchase_order_line.rb', line 7

def write_uid
  @write_uid
end