Class: BrNfe::Product::Nfe::ItemTax::CofinsSt

Inherits:
ActiveModelBase show all
Defined in:
lib/br_nfe/product/nfe/item_tax/cofins_st.rb

Instance Attribute Summary collapse

Attributes inherited from ActiveModelBase

#reference

Method Summary

Methods inherited from ActiveModelBase

#assign_attributes, #default_values, #initialize

Constructor Details

This class inherits a constructor from BrNfe::ActiveModelBase

Instance Attribute Details

#aliquotaObject

ALÍQUOTA DO COFINS (EM PERCENTUAL)

Type: Float Required: No (Yes if cst in [01 02]) Example: 350.47 tag: pCOFINS



23
24
25
# File 'lib/br_nfe/product/nfe/item_tax/cofins_st.rb', line 23

def aliquota
  @aliquota
end

#quantidade_vendidaObject

QUANTIDADE VENDIDA

Type: Float Required: No (Yes if cst is 03) Example: 10.0 Length: 12v0-4 tag: qBCProd



44
45
46
# File 'lib/br_nfe/product/nfe/item_tax/cofins_st.rb', line 44

def quantidade_vendida
  @quantidade_vendida
end

#totalObject

VALOR DO COFINS

Type: Float Required: Yes (No if cst in [04 05 06 07 08 09]) Example: 350.47 tag: vCOFINS



33
34
35
# File 'lib/br_nfe/product/nfe/item_tax/cofins_st.rb', line 33

def total
  @total
end

#total_aliquotaObject

ALÍQUOTA DO COFINS (EM REAIS)

Type: Float Required: No (Yes if cst is 03) Example: 10.0 Length: 11v0-4 tag: vAliqProd



55
56
57
# File 'lib/br_nfe/product/nfe/item_tax/cofins_st.rb', line 55

def total_aliquota
  @total_aliquota
end

#total_base_calculoObject

VALOR DA BASE DE CÁLCULO DO COFINS ST

Type: Float Required: No (Yes if cst in [01 02]) Example: 350.47 tag: vBC



13
14
15
# File 'lib/br_nfe/product/nfe/item_tax/cofins_st.rb', line 13

def total_base_calculo
  @total_base_calculo
end