Class: ErpIntegration::StockMove

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

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

#attachmentsObject

Returns the value of attribute attachments.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def attachments
  @attachments
end

#childrenObject

Returns the value of attribute children.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def children
  @children
end

#companyObject

Returns the value of attribute company.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def company
  @company
end

#cost_priceObject

Returns the value of attribute cost_price.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def cost_price
  @cost_price
end

#create_dateObject

Returns the value of attribute create_date.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def create_date
  @create_date
end

#create_uidObject

Returns the value of attribute create_uid.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def create_uid
  @create_uid
end

#currencyObject

Returns the value of attribute currency.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def currency
  @currency
end

#effective_dateObject

Returns the value of attribute effective_date.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def effective_date
  @effective_date
end

#from_locationObject

Returns the value of attribute from_location.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def from_location
  @from_location
end

#from_sublocationObject

Returns the value of attribute from_sublocation.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def from_sublocation
  @from_sublocation
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def id
  @id
end

#internal_quantityObject

Returns the value of attribute internal_quantity.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def internal_quantity
  @internal_quantity
end

#journal_entryObject

Returns the value of attribute journal_entry.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def journal_entry
  @journal_entry
end

#metadataObject

Returns the value of attribute metadata.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def 
  @metadata
end

#planned_dateObject

Returns the value of attribute planned_date.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def planned_date
  @planned_date
end

#quantityObject

Returns the value of attribute quantity.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def quantity
  @quantity
end

#quantity_availableObject

Returns the value of attribute quantity_available.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def quantity_available
  @quantity_available
end

#referenceObject

Returns the value of attribute reference.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def reference
  @reference
end

#shipmentObject

Returns the value of attribute shipment.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def shipment
  @shipment
end

#stateObject

Returns the value of attribute state.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def state
  @state
end

#to_locationObject

Returns the value of attribute to_location.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def to_location
  @to_location
end

#unit_priceObject

Returns the value of attribute unit_price.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def unit_price
  @unit_price
end

#uomObject

Returns the value of attribute uom.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def uom
  @uom
end

#write_dateObject

Returns the value of attribute write_date.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



5
6
7
# File 'lib/erp_integration/stock_move.rb', line 5

def write_uid
  @write_uid
end