Class: Facturama::Models::Item

Inherits:
Model
  • Object
show all
Defined in:
lib/facturama/models/item.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

#CuentaPredialObject

Returns the value of attribute CuentaPredial.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def CuentaPredial
  @CuentaPredial
end

#DescriptionObject

Returns the value of attribute Description.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Description
  @Description
end

#DiscountObject

Returns the value of attribute Discount.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Discount
  @Discount
end

#IdentificationNumberObject

Returns the value of attribute IdentificationNumber.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def IdentificationNumber
  @IdentificationNumber
end

#ProductCodeObject

Returns the value of attribute ProductCode.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def ProductCode
  @ProductCode
end

#QuantityObject

Returns the value of attribute Quantity.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Quantity
  @Quantity
end

#SubtotalObject

Returns the value of attribute Subtotal.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Subtotal
  @Subtotal
end

#TaxesObject

Returns the value of attribute Taxes.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Taxes
  @Taxes
end

#TotalObject

Returns the value of attribute Total.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Total
  @Total
end

#UnitObject

Returns the value of attribute Unit.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def Unit
  @Unit
end

#UnitCodeObject

Returns the value of attribute UnitCode.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def UnitCode
  @UnitCode
end

#UnitPriceObject

Returns the value of attribute UnitPrice.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def UnitPrice
  @UnitPrice
end

#UnitValueObject

Returns the value of attribute UnitValue.



5
6
7
# File 'lib/facturama/models/item.rb', line 5

def UnitValue
  @UnitValue
end