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.



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

def CodeProdServ
  @CodeProdServ
end

#ComplementObject

Returns the value of attribute Complement.



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

def Complement
  @Complement
end

#CuentaPredialObject

Returns the value of attribute CuentaPredial.



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

def CuentaPredial
  @CuentaPredial
end

#DescriptionObject

Returns the value of attribute Description.



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

def Description
  @Description
end

#IdObject

Returns the value of attribute Id.



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

def Id
  @Id
end

#IdentificationNumberObject

Returns the value of attribute IdentificationNumber.



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

def IdentificationNumber
  @IdentificationNumber
end

#NameObject

Returns the value of attribute Name.



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

def Name
  @Name
end

#PriceObject

Returns the value of attribute Price.



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

def Price
  @Price
end

#TaxesObject

Returns the value of attribute Taxes.



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

def Taxes
  @Taxes
end

#UnitObject

Returns the value of attribute Unit.



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

def Unit
  @Unit
end

#UnitCodeObject

Returns the value of attribute UnitCode.



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

def UnitCode
  @UnitCode
end