Class: ErpIntegration::PurchaseProductSupplier

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

Overview

The ‘ErpIntegration::PurchaseProductSupplier` 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

Instance Attribute Details

#activeObject

Returns the value of attribute active.



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

def active
  @active
end

#codeObject

Returns the value of attribute code.



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

def code
  @code
end

#companyObject

Returns the value of attribute company.



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

def company
  @company
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/erp_integration/purchase_product_supplier.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_product_supplier.rb', line 7

def create_uid
  @create_uid
end

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#drop_shipmentObject

Returns the value of attribute drop_shipment.



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

def drop_shipment
  @drop_shipment
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#lead_timeObject

Returns the value of attribute lead_time.



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

def lead_time
  @lead_time
end

#metadataObject

Returns the value of attribute metadata.



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

def 
  @metadata
end

#moqObject

Returns the value of attribute moq.



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

def moq
  @moq
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#partyObject

Returns the value of attribute party.



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

def party
  @party
end

#pricesObject

Returns the value of attribute prices.



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

def prices
  @prices
end

#productObject

Returns the value of attribute product.



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

def product
  @product
end

#quantity_availableObject

Returns the value of attribute quantity_available.



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

def quantity_available
  @quantity_available
end

#quantity_available_updatedObject

Returns the value of attribute quantity_available_updated.



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

def quantity_available_updated
  @quantity_available_updated
end

#sequenceObject

Returns the value of attribute sequence.



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

def sequence
  @sequence
end