Class: Nfe::Models::Total
- Inherits:
-
Object
- Object
- Nfe::Models::Total
- Includes:
- ActiveModel::Model, Helpers::XmlModel::NfeModel
- Defined in:
- lib/nfe/models/total.rb
Instance Method Summary collapse
-
#initialize ⇒ Total
constructor
A new instance of Total.
Methods included from Helpers::XmlModel::NfeModel
#add_elements, #check_present, included, #parse!, #parse_elements, #present?, #to_xml, #validate_optional_attributes, #validate_required_attributes
Constructor Details
#initialize ⇒ Total
Returns a new instance of Total.
16 17 18 19 20 |
# File 'lib/nfe/models/total.rb', line 16 def initialize @icmsTot = Taxes::ICMSTot.new @issqntot = Taxes::ISSQNtot.new @retTrib = Taxes::RetTrib.new end |