Class: Nfe::Models::Taxes::Imposto
- Inherits:
-
Object
- Object
- Nfe::Models::Taxes::Imposto
- Includes:
- ActiveModel::Model, Helpers::XmlModel::NfeModel
- Defined in:
- lib/nfe/models/taxes/imposto.rb
Instance Method Summary collapse
-
#initialize ⇒ Imposto
constructor
A new instance of Imposto.
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 ⇒ Imposto
Returns a new instance of Imposto.
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/nfe/models/taxes/imposto.rb', line 31 def initialize @icms = ICMS.new @ipi = IPI.new @ii = II.new @pis = PISCOFINS.new("pis") @pisst = PISCOFINSST.new("pPIS","vPIS") @cofins = PISCOFINS.new("cofins") @cofinsst = PISCOFINSST.new("pCOFINS","vCOFINS") @issqn = ISSQN.new end |