Class: Nfe::Generated::ProductInvoiceRtcV1::ISSQNTotal
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ProductInvoiceRtcV1::ISSQNTotal
- Defined in:
- lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb,
sig/nfe/generated/product_invoice_rtc_v1/issqntotal.rbs
Instance Attribute Summary collapse
-
#base_rate_iss ⇒ Object
readonly
Returns the value of attribute base_rate_iss.
-
#code_tax_regime ⇒ Object
readonly
Returns the value of attribute code_tax_regime.
-
#deduction_reduction_bc ⇒ Object
readonly
Returns the value of attribute deduction_reduction_bc.
-
#discount_conditioning ⇒ Object
readonly
Returns the value of attribute discount_conditioning.
-
#discount_unconditional ⇒ Object
readonly
Returns the value of attribute discount_unconditional.
-
#provision_service ⇒ Object
readonly
Returns the value of attribute provision_service.
-
#total_iss ⇒ Object
readonly
Returns the value of attribute total_iss.
-
#total_retention_iss ⇒ Object
readonly
Returns the value of attribute total_retention_iss.
-
#total_service_not_taxed_icms ⇒ Object
readonly
Returns the value of attribute total_service_not_taxed_icms.
-
#value_other_retention ⇒ Object
readonly
Returns the value of attribute value_other_retention.
-
#value_service_cofins ⇒ Object
readonly
Returns the value of attribute value_service_cofins.
-
#value_service_pis ⇒ Object
readonly
Returns the value of attribute value_service_pis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ISSQNTotal
constructor
A new instance of ISSQNTotal.
Constructor Details
#initialize ⇒ ISSQNTotal
Returns a new instance of ISSQNTotal.
22 |
# File 'sig/nfe/generated/product_invoice_rtc_v1/issqntotal.rbs', line 22
def initialize: (?base_rate_iss: Float?, ?code_tax_regime: Float?, ?deduction_reduction_bc: Float?, ?discount_conditioning: Float?, ?discount_unconditional: Float?, ?provision_service: String?, ?total_iss: Float?, ?total_retention_iss: Float?, ?total_service_not_taxed_icms: Float?, ?value_other_retention: Float?, ?value_service_cofins: Float?, ?value_service_pis: Float?) -> void
|
Instance Attribute Details
#base_rate_iss ⇒ Object (readonly)
Returns the value of attribute base_rate_iss
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def base_rate_iss @base_rate_iss end |
#code_tax_regime ⇒ Object (readonly)
Returns the value of attribute code_tax_regime
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def code_tax_regime @code_tax_regime end |
#deduction_reduction_bc ⇒ Object (readonly)
Returns the value of attribute deduction_reduction_bc
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def deduction_reduction_bc @deduction_reduction_bc end |
#discount_conditioning ⇒ Object (readonly)
Returns the value of attribute discount_conditioning
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def discount_conditioning @discount_conditioning end |
#discount_unconditional ⇒ Object (readonly)
Returns the value of attribute discount_unconditional
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def discount_unconditional @discount_unconditional end |
#provision_service ⇒ Object (readonly)
Returns the value of attribute provision_service
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def provision_service @provision_service end |
#total_iss ⇒ Object (readonly)
Returns the value of attribute total_iss
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def total_iss @total_iss end |
#total_retention_iss ⇒ Object (readonly)
Returns the value of attribute total_retention_iss
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def total_retention_iss @total_retention_iss end |
#total_service_not_taxed_icms ⇒ Object (readonly)
Returns the value of attribute total_service_not_taxed_icms
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def total_service_not_taxed_icms @total_service_not_taxed_icms end |
#value_other_retention ⇒ Object (readonly)
Returns the value of attribute value_other_retention
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def value_other_retention @value_other_retention end |
#value_service_cofins ⇒ Object (readonly)
Returns the value of attribute value_service_cofins
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def value_service_cofins @value_service_cofins end |
#value_service_pis ⇒ Object (readonly)
Returns the value of attribute value_service_pis
9 10 11 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 9 def value_service_pis @value_service_pis 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 |
# File 'lib/nfe/generated/product_invoice_rtc_v1/issqntotal.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( base_rate_iss: payload["baseRateISS"], code_tax_regime: payload["codeTaxRegime"], deduction_reduction_bc: payload["deductionReductionBC"], discount_conditioning: payload["discountConditioning"], discount_unconditional: payload["discountUnconditional"], provision_service: payload["provisionService"], total_iss: payload["totalISS"], total_retention_iss: payload["totalRetentionISS"], total_service_not_taxed_icms: payload["totalServiceNotTaxedICMS"], value_other_retention: payload["valueOtherRetention"], value_service_cofins: payload["valueServiceCOFINS"], value_service_pis: payload["valueServicePIS"], ) end |
.new ⇒ instance
21 |
# File 'sig/nfe/generated/product_invoice_rtc_v1/issqntotal.rbs', line 21
def self.new: (?base_rate_iss: Float?, ?code_tax_regime: Float?, ?deduction_reduction_bc: Float?, ?discount_conditioning: Float?, ?discount_unconditional: Float?, ?provision_service: String?, ?total_iss: Float?, ?total_retention_iss: Float?, ?total_service_not_taxed_icms: Float?, ?value_other_retention: Float?, ?value_service_cofins: Float?, ?value_service_pis: Float?) -> instance
|