Class: Nfe::Generated::CalculoImpostosV1::Icms
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::CalculoImpostosV1::Icms
- Defined in:
- lib/nfe/generated/calculo_impostos_v1/icms.rb,
sig/nfe/generated/calculo_impostos_v1/icms.rbs
Instance Attribute Summary collapse
-
#c_benef_rbc ⇒ Object
readonly
Returns the value of attribute c_benef_rbc.
-
#csosn ⇒ Object
readonly
Returns the value of attribute csosn.
-
#cst ⇒ Object
readonly
Returns the value of attribute cst.
-
#ind_deduz_deson ⇒ Object
readonly
Returns the value of attribute ind_deduz_deson.
-
#mod_bc ⇒ Object
readonly
Returns the value of attribute mod_bc.
-
#mod_bcst ⇒ Object
readonly
Returns the value of attribute mod_bcst.
-
#mot_des_icms ⇒ Object
readonly
Returns the value of attribute mot_des_icms.
-
#mot_des_icmsst ⇒ Object
readonly
Returns the value of attribute mot_des_icmsst.
-
#orig ⇒ Object
readonly
Returns the value of attribute orig.
-
#p_cred_sn ⇒ Object
readonly
Returns the value of attribute p_cred_sn.
-
#p_dif ⇒ Object
readonly
Returns the value of attribute p_dif.
-
#p_fcp ⇒ Object
readonly
Returns the value of attribute p_fcp.
-
#p_fcpdif ⇒ Object
readonly
Returns the value of attribute p_fcpdif.
-
#p_fcpst ⇒ Object
readonly
Returns the value of attribute p_fcpst.
-
#p_fcpstret ⇒ Object
readonly
Returns the value of attribute p_fcpstret.
-
#p_icms ⇒ Object
readonly
Returns the value of attribute p_icms.
-
#p_icmsefet ⇒ Object
readonly
Returns the value of attribute p_icmsefet.
-
#p_icmsst ⇒ Object
readonly
Returns the value of attribute p_icmsst.
-
#p_mvast ⇒ Object
readonly
Returns the value of attribute p_mvast.
-
#p_red_bc ⇒ Object
readonly
Returns the value of attribute p_red_bc.
-
#p_red_bcefet ⇒ Object
readonly
Returns the value of attribute p_red_bcefet.
-
#p_red_bcst ⇒ Object
readonly
Returns the value of attribute p_red_bcst.
-
#p_st ⇒ Object
readonly
Returns the value of attribute p_st.
-
#v_bc ⇒ Object
readonly
Returns the value of attribute v_bc.
-
#v_bcefet ⇒ Object
readonly
Returns the value of attribute v_bcefet.
-
#v_bcfcp ⇒ Object
readonly
Returns the value of attribute v_bcfcp.
-
#v_bcfcpst ⇒ Object
readonly
Returns the value of attribute v_bcfcpst.
-
#v_bcfcpstret ⇒ Object
readonly
Returns the value of attribute v_bcfcpstret.
-
#v_bcst ⇒ Object
readonly
Returns the value of attribute v_bcst.
-
#v_bcstret ⇒ Object
readonly
Returns the value of attribute v_bcstret.
-
#v_cred_icmssn ⇒ Object
readonly
Returns the value of attribute v_cred_icmssn.
-
#v_fcp ⇒ Object
readonly
Returns the value of attribute v_fcp.
-
#v_fcpdif ⇒ Object
readonly
Returns the value of attribute v_fcpdif.
-
#v_fcpefet ⇒ Object
readonly
Returns the value of attribute v_fcpefet.
-
#v_fcpst ⇒ Object
readonly
Returns the value of attribute v_fcpst.
-
#v_fcpstret ⇒ Object
readonly
Returns the value of attribute v_fcpstret.
-
#v_icms ⇒ Object
readonly
Returns the value of attribute v_icms.
-
#v_icmsdeson ⇒ Object
readonly
Returns the value of attribute v_icmsdeson.
-
#v_icmsdif ⇒ Object
readonly
Returns the value of attribute v_icmsdif.
-
#v_icmsefet ⇒ Object
readonly
Returns the value of attribute v_icmsefet.
-
#v_icmsop ⇒ Object
readonly
Returns the value of attribute v_icmsop.
-
#v_icmsst ⇒ Object
readonly
Returns the value of attribute v_icmsst.
-
#v_icmsstdeson ⇒ Object
readonly
Returns the value of attribute v_icmsstdeson.
-
#v_icmsstret ⇒ Object
readonly
Returns the value of attribute v_icmsstret.
-
#v_icmssubstituto ⇒ Object
readonly
Returns the value of attribute v_icmssubstituto.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Icms
constructor
A new instance of Icms.
Constructor Details
#initialize ⇒ Icms
Returns a new instance of Icms.
55 |
# File 'sig/nfe/generated/calculo_impostos_v1/icms.rbs', line 55
def initialize: (?c_benef_rbc: String?, ?csosn: String?, ?cst: String?, ?ind_deduz_deson: String?, ?mod_bc: String?, ?mod_bcst: String?, ?mot_des_icms: String?, ?mot_des_icmsst: String?, ?orig: String?, ?p_cred_sn: String?, ?p_dif: String?, ?p_fcp: String?, ?p_fcpdif: String?, ?p_fcpst: String?, ?p_fcpstret: String?, ?p_icms: String?, ?p_icmsefet: String?, ?p_icmsst: String?, ?p_mvast: String?, ?p_red_bc: String?, ?p_red_bcefet: String?, ?p_red_bcst: String?, ?p_st: String?, ?v_bc: String?, ?v_bcefet: String?, ?v_bcfcp: String?, ?v_bcfcpst: String?, ?v_bcfcpstret: String?, ?v_bcst: String?, ?v_bcstret: String?, ?v_cred_icmssn: String?, ?v_fcp: String?, ?v_fcpdif: String?, ?v_fcpefet: String?, ?v_fcpst: String?, ?v_fcpstret: String?, ?v_icms: String?, ?v_icmsdeson: String?, ?v_icmsdif: String?, ?v_icmsefet: String?, ?v_icmsop: String?, ?v_icmsst: String?, ?v_icmsstdeson: String?, ?v_icmsstret: String?, ?v_icmssubstituto: String?) -> void
|
Instance Attribute Details
#c_benef_rbc ⇒ Object (readonly)
Returns the value of attribute c_benef_rbc
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def c_benef_rbc @c_benef_rbc end |
#csosn ⇒ Object (readonly)
Returns the value of attribute csosn
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def csosn @csosn end |
#cst ⇒ Object (readonly)
Returns the value of attribute cst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def cst @cst end |
#ind_deduz_deson ⇒ Object (readonly)
Returns the value of attribute ind_deduz_deson
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def ind_deduz_deson @ind_deduz_deson end |
#mod_bc ⇒ Object (readonly)
Returns the value of attribute mod_bc
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def mod_bc @mod_bc end |
#mod_bcst ⇒ Object (readonly)
Returns the value of attribute mod_bcst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def mod_bcst @mod_bcst end |
#mot_des_icms ⇒ Object (readonly)
Returns the value of attribute mot_des_icms
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def mot_des_icms @mot_des_icms end |
#mot_des_icmsst ⇒ Object (readonly)
Returns the value of attribute mot_des_icmsst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def mot_des_icmsst @mot_des_icmsst end |
#orig ⇒ Object (readonly)
Returns the value of attribute orig
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def orig @orig end |
#p_cred_sn ⇒ Object (readonly)
Returns the value of attribute p_cred_sn
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_cred_sn @p_cred_sn end |
#p_dif ⇒ Object (readonly)
Returns the value of attribute p_dif
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_dif @p_dif end |
#p_fcp ⇒ Object (readonly)
Returns the value of attribute p_fcp
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_fcp @p_fcp end |
#p_fcpdif ⇒ Object (readonly)
Returns the value of attribute p_fcpdif
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_fcpdif @p_fcpdif end |
#p_fcpst ⇒ Object (readonly)
Returns the value of attribute p_fcpst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_fcpst @p_fcpst end |
#p_fcpstret ⇒ Object (readonly)
Returns the value of attribute p_fcpstret
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_fcpstret @p_fcpstret end |
#p_icms ⇒ Object (readonly)
Returns the value of attribute p_icms
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_icms @p_icms end |
#p_icmsefet ⇒ Object (readonly)
Returns the value of attribute p_icmsefet
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_icmsefet @p_icmsefet end |
#p_icmsst ⇒ Object (readonly)
Returns the value of attribute p_icmsst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_icmsst @p_icmsst end |
#p_mvast ⇒ Object (readonly)
Returns the value of attribute p_mvast
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_mvast @p_mvast end |
#p_red_bc ⇒ Object (readonly)
Returns the value of attribute p_red_bc
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_red_bc @p_red_bc end |
#p_red_bcefet ⇒ Object (readonly)
Returns the value of attribute p_red_bcefet
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_red_bcefet @p_red_bcefet end |
#p_red_bcst ⇒ Object (readonly)
Returns the value of attribute p_red_bcst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_red_bcst @p_red_bcst end |
#p_st ⇒ Object (readonly)
Returns the value of attribute p_st
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def p_st @p_st end |
#v_bc ⇒ Object (readonly)
Returns the value of attribute v_bc
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bc @v_bc end |
#v_bcefet ⇒ Object (readonly)
Returns the value of attribute v_bcefet
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bcefet @v_bcefet end |
#v_bcfcp ⇒ Object (readonly)
Returns the value of attribute v_bcfcp
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bcfcp @v_bcfcp end |
#v_bcfcpst ⇒ Object (readonly)
Returns the value of attribute v_bcfcpst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bcfcpst @v_bcfcpst end |
#v_bcfcpstret ⇒ Object (readonly)
Returns the value of attribute v_bcfcpstret
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bcfcpstret @v_bcfcpstret end |
#v_bcst ⇒ Object (readonly)
Returns the value of attribute v_bcst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bcst @v_bcst end |
#v_bcstret ⇒ Object (readonly)
Returns the value of attribute v_bcstret
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_bcstret @v_bcstret end |
#v_cred_icmssn ⇒ Object (readonly)
Returns the value of attribute v_cred_icmssn
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_cred_icmssn @v_cred_icmssn end |
#v_fcp ⇒ Object (readonly)
Returns the value of attribute v_fcp
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_fcp @v_fcp end |
#v_fcpdif ⇒ Object (readonly)
Returns the value of attribute v_fcpdif
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_fcpdif @v_fcpdif end |
#v_fcpefet ⇒ Object (readonly)
Returns the value of attribute v_fcpefet
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_fcpefet @v_fcpefet end |
#v_fcpst ⇒ Object (readonly)
Returns the value of attribute v_fcpst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_fcpst @v_fcpst end |
#v_fcpstret ⇒ Object (readonly)
Returns the value of attribute v_fcpstret
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_fcpstret @v_fcpstret end |
#v_icms ⇒ Object (readonly)
Returns the value of attribute v_icms
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icms @v_icms end |
#v_icmsdeson ⇒ Object (readonly)
Returns the value of attribute v_icmsdeson
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsdeson @v_icmsdeson end |
#v_icmsdif ⇒ Object (readonly)
Returns the value of attribute v_icmsdif
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsdif @v_icmsdif end |
#v_icmsefet ⇒ Object (readonly)
Returns the value of attribute v_icmsefet
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsefet @v_icmsefet end |
#v_icmsop ⇒ Object (readonly)
Returns the value of attribute v_icmsop
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsop @v_icmsop end |
#v_icmsst ⇒ Object (readonly)
Returns the value of attribute v_icmsst
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsst @v_icmsst end |
#v_icmsstdeson ⇒ Object (readonly)
Returns the value of attribute v_icmsstdeson
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsstdeson @v_icmsstdeson end |
#v_icmsstret ⇒ Object (readonly)
Returns the value of attribute v_icmsstret
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmsstret @v_icmsstret end |
#v_icmssubstituto ⇒ Object (readonly)
Returns the value of attribute v_icmssubstituto
9 10 11 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 9 def v_icmssubstituto @v_icmssubstituto end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/nfe/generated/calculo_impostos_v1/icms.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( c_benef_rbc: payload["cBenefRBC"], csosn: payload["csosn"], cst: payload["cst"], ind_deduz_deson: payload["indDeduzDeson"], mod_bc: payload["modBC"], mod_bcst: payload["modBCST"], mot_des_icms: payload["motDesICMS"], mot_des_icmsst: payload["motDesICMSST"], orig: payload["orig"], p_cred_sn: payload["pCredSN"], p_dif: payload["pDif"], p_fcp: payload["pFCP"], p_fcpdif: payload["pFCPDif"], p_fcpst: payload["pFCPST"], p_fcpstret: payload["pFCPSTRet"], p_icms: payload["pICMS"], p_icmsefet: payload["pICMSEfet"], p_icmsst: payload["pICMSST"], p_mvast: payload["pMVAST"], p_red_bc: payload["pRedBC"], p_red_bcefet: payload["pRedBCEfet"], p_red_bcst: payload["pRedBCST"], p_st: payload["pST"], v_bc: payload["vBC"], v_bcefet: payload["vBCEfet"], v_bcfcp: payload["vBCFCP"], v_bcfcpst: payload["vBCFCPST"], v_bcfcpstret: payload["vBCFCPSTRet"], v_bcst: payload["vBCST"], v_bcstret: payload["vBCSTRet"], v_cred_icmssn: payload["vCredICMSSN"], v_fcp: payload["vFCP"], v_fcpdif: payload["vFCPDif"], v_fcpefet: payload["vFCPEfet"], v_fcpst: payload["vFCPST"], v_fcpstret: payload["vFCPSTRet"], v_icms: payload["vICMS"], v_icmsdeson: payload["vICMSDeson"], v_icmsdif: payload["vICMSDif"], v_icmsefet: payload["vICMSEfet"], v_icmsop: payload["vICMSOp"], v_icmsst: payload["vICMSST"], v_icmsstdeson: payload["vICMSSTDeson"], v_icmsstret: payload["vICMSSTRet"], v_icmssubstituto: payload["vICMSSubstituto"], ) end |
.new ⇒ instance
54 |
# File 'sig/nfe/generated/calculo_impostos_v1/icms.rbs', line 54
def self.new: (?c_benef_rbc: String?, ?csosn: String?, ?cst: String?, ?ind_deduz_deson: String?, ?mod_bc: String?, ?mod_bcst: String?, ?mot_des_icms: String?, ?mot_des_icmsst: String?, ?orig: String?, ?p_cred_sn: String?, ?p_dif: String?, ?p_fcp: String?, ?p_fcpdif: String?, ?p_fcpst: String?, ?p_fcpstret: String?, ?p_icms: String?, ?p_icmsefet: String?, ?p_icmsst: String?, ?p_mvast: String?, ?p_red_bc: String?, ?p_red_bcefet: String?, ?p_red_bcst: String?, ?p_st: String?, ?v_bc: String?, ?v_bcefet: String?, ?v_bcfcp: String?, ?v_bcfcpst: String?, ?v_bcfcpstret: String?, ?v_bcst: String?, ?v_bcstret: String?, ?v_cred_icmssn: String?, ?v_fcp: String?, ?v_fcpdif: String?, ?v_fcpefet: String?, ?v_fcpst: String?, ?v_fcpstret: String?, ?v_icms: String?, ?v_icmsdeson: String?, ?v_icmsdif: String?, ?v_icmsefet: String?, ?v_icmsop: String?, ?v_icmsst: String?, ?v_icmsstdeson: String?, ?v_icmsstret: String?, ?v_icmssubstituto: String?) -> instance
|