Class: Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_StateTaxResourceItem
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_StateTaxResourceItem
- Defined in:
- lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb,
sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rbs
Instance Attribute Summary collapse
-
#account_id ⇒ Object
readonly
Returns the value of attribute account_id.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#company_id ⇒ Object
readonly
Returns the value of attribute company_id.
-
#created_on ⇒ Object
readonly
Returns the value of attribute created_on.
-
#environment_type ⇒ Object
readonly
Returns the value of attribute environment_type.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#modified_on ⇒ Object
readonly
Returns the value of attribute modified_on.
-
#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.
-
#series ⇒ Object
readonly
Returns the value of attribute series.
-
#special_tax_regime ⇒ Object
readonly
Returns the value of attribute special_tax_regime.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#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_StateTaxResourceItem
constructor
A new instance of DFeTech_TaxPayers_Resources_StateTaxResourceItem.
Constructor Details
#initialize ⇒ DFeTech_TaxPayers_Resources_StateTaxResourceItem
Returns a new instance of DFeTech_TaxPayers_Resources_StateTaxResourceItem.
26 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rbs', line 26
def initialize: (?account_id: String?, code: untyped, ?company_id: String?, ?created_on: String, ?environment_type: untyped, ?id: String?, ?modified_on: String?, ?number: Integer?, ?processing_details: DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource, ?security_credential: DFeTech_TaxPayers_Domain_Entities_SecurityCredential, ?serie: Integer?, ?series: Array[Integer]?, ?special_tax_regime: untyped, ?status: untyped, tax_number: String, type: untyped) -> void
|
Instance Attribute Details
#account_id ⇒ Object (readonly)
Returns the value of attribute account_id
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def account_id @account_id end |
#code ⇒ Object (readonly)
Returns the value of attribute code
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def code @code end |
#company_id ⇒ Object (readonly)
Returns the value of attribute company_id
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def company_id @company_id end |
#created_on ⇒ Object (readonly)
Returns the value of attribute created_on
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def created_on @created_on 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_state_tax_resource_item.rb', line 9 def environment_type @environment_type end |
#id ⇒ Object (readonly)
Returns the value of attribute id
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def id @id end |
#modified_on ⇒ Object (readonly)
Returns the value of attribute modified_on
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def modified_on @modified_on end |
#number ⇒ Object (readonly)
Returns the value of attribute number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_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_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_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_state_tax_resource_item.rb', line 9 def serie @serie end |
#series ⇒ Object (readonly)
Returns the value of attribute series
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def series @series 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_state_tax_resource_item.rb', line 9 def special_tax_regime @special_tax_regime end |
#status ⇒ Object (readonly)
Returns the value of attribute status
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 9 def status @status 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_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_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 25 26 27 28 29 30 31 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( account_id: payload["accountId"], code: payload["code"], company_id: payload["companyId"], created_on: payload["createdOn"], environment_type: payload["environmentType"], id: payload["id"], modified_on: payload["modifiedOn"], 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"], series: payload["series"], special_tax_regime: payload["specialTaxRegime"], status: payload["status"], tax_number: payload["taxNumber"], type: payload["type"], ) end |
.new ⇒ instance
25 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_resource_item.rbs', line 25
def self.new: (?account_id: String?, code: untyped, ?company_id: String?, ?created_on: String, ?environment_type: untyped, ?id: String?, ?modified_on: String?, ?number: Integer?, ?processing_details: DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource, ?security_credential: DFeTech_TaxPayers_Domain_Entities_SecurityCredential, ?serie: Integer?, ?series: Array[Integer]?, ?special_tax_regime: untyped, ?status: untyped, tax_number: String, type: untyped) -> instance
|