Class: Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_UpdateStateTaxResourceItem
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_UpdateStateTaxResourceItem
- Defined in:
- lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb,
sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rbs
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#environment_type ⇒ Object
readonly
Returns the value of attribute environment_type.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#processing_details ⇒ Object
readonly
Returns the value of attribute processing_details.
-
#security_credential ⇒ Object
readonly
Returns the value of attribute security_credential.
-
#serie ⇒ Object
readonly
Returns the value of attribute serie.
-
#special_tax_regime ⇒ Object
readonly
Returns the value of attribute special_tax_regime.
-
#tax_number ⇒ Object
readonly
Returns the value of attribute tax_number.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ DFeTech_TaxPayers_Resources_UpdateStateTaxResourceItem
constructor
A new instance of DFeTech_TaxPayers_Resources_UpdateStateTaxResourceItem.
Constructor Details
#initialize ⇒ DFeTech_TaxPayers_Resources_UpdateStateTaxResourceItem
Returns a new instance of DFeTech_TaxPayers_Resources_UpdateStateTaxResourceItem.
19 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rbs', line 19
def initialize: (code: untyped, ?environment_type: untyped, ?number: Integer?, ?processing_details: DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource, ?security_credential: DFeTech_TaxPayers_Domain_Entities_SecurityCredential, ?serie: Integer?, ?special_tax_regime: untyped, tax_number: String, type: untyped) -> void
|
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def code @code end |
#environment_type ⇒ Object (readonly)
Returns the value of attribute environment_type
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def environment_type @environment_type end |
#number ⇒ Object (readonly)
Returns the value of attribute number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def number @number end |
#processing_details ⇒ Object (readonly)
Returns the value of attribute processing_details
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def processing_details @processing_details end |
#security_credential ⇒ Object (readonly)
Returns the value of attribute security_credential
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def security_credential @security_credential end |
#serie ⇒ Object (readonly)
Returns the value of attribute serie
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def serie @serie end |
#special_tax_regime ⇒ Object (readonly)
Returns the value of attribute special_tax_regime
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def special_tax_regime @special_tax_regime end |
#tax_number ⇒ Object (readonly)
Returns the value of attribute tax_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def tax_number @tax_number end |
#type ⇒ Object (readonly)
Returns the value of attribute type
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 9 def type @type end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( code: payload["code"], environment_type: payload["environmentType"], number: payload["number"], processing_details: DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource.from_api(payload["processingDetails"]), security_credential: DFeTech_TaxPayers_Domain_Entities_SecurityCredential.from_api(payload["securityCredential"]), serie: payload["serie"], special_tax_regime: payload["specialTaxRegime"], tax_number: payload["taxNumber"], type: payload["type"], ) end |
.new ⇒ instance
18 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_update_state_tax_resource_item.rbs', line 18
def self.new: (code: untyped, ?environment_type: untyped, ?number: Integer?, ?processing_details: DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource, ?security_credential: DFeTech_TaxPayers_Domain_Entities_SecurityCredential, ?serie: Integer?, ?special_tax_regime: untyped, tax_number: String, type: untyped) -> instance
|