Class: Facturama::Models::Product

Inherits:
Model
  • Object
show all
Defined in:
lib/facturama/models/product.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#all_errors

Method Summary

Methods inherited from Model

#after_initialize, #attributes, define_reader, define_writer, #get_instance_values, has_many_objects, has_one_object, #initialize, #prepare_data

Constructor Details

This class inherits a constructor from Facturama::Models::Model

Instance Attribute Details

#CodeProdServObject

Returns the value of attribute CodeProdServ.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def CodeProdServ
  @CodeProdServ
end

#ComplementObject

Returns the value of attribute Complement.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Complement
  @Complement
end

#CuentaPredialObject

Returns the value of attribute CuentaPredial.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def CuentaPredial
  @CuentaPredial
end

#DescriptionObject

Returns the value of attribute Description.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Description
  @Description
end

#IdObject

Returns the value of attribute Id.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Id
  @Id
end

#IdentificationNumberObject

Returns the value of attribute IdentificationNumber.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def IdentificationNumber
  @IdentificationNumber
end

#NameObject

Returns the value of attribute Name.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Name
  @Name
end

#PriceObject

Returns the value of attribute Price.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Price
  @Price
end

#TaxesObject

Returns the value of attribute Taxes.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Taxes
  @Taxes
end

#UnitObject

Returns the value of attribute Unit.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def Unit
  @Unit
end

#UnitCodeObject

Returns the value of attribute UnitCode.



8
9
10
# File 'lib/facturama/models/product.rb', line 8

def UnitCode
  @UnitCode
end