Class: Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_CreateMunicipalTaxResourceItem
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_CreateMunicipalTaxResourceItem
- Defined in:
- lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb,
sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rbs
Instance Attribute Summary collapse
-
#auth_issue_value ⇒ Object
readonly
Returns the value of attribute auth_issue_value.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#company_registry_number ⇒ Object
readonly
Returns the value of attribute company_registry_number.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#federal_tax_determination ⇒ Object
readonly
Returns the value of attribute federal_tax_determination.
-
#iss_rate ⇒ Object
readonly
Returns the value of attribute iss_rate.
-
#last_rps_sent ⇒ Object
readonly
Returns the value of attribute last_rps_sent.
-
#legal_nature ⇒ Object
readonly
Returns the value of attribute legal_nature.
-
#login_name ⇒ Object
readonly
Returns the value of attribute login_name.
-
#login_password ⇒ Object
readonly
Returns the value of attribute login_password.
-
#municipal_tax_determination ⇒ Object
readonly
Returns the value of attribute municipal_tax_determination.
-
#regional_tax_number ⇒ Object
readonly
Returns the value of attribute regional_tax_number.
-
#rps_number ⇒ Object
readonly
Returns the value of attribute rps_number.
-
#rps_serial_number ⇒ Object
readonly
Returns the value of attribute rps_serial_number.
-
#special_tax_regime ⇒ Object
readonly
Returns the value of attribute special_tax_regime.
-
#tax_number ⇒ Object
readonly
Returns the value of attribute tax_number.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ DFeTech_TaxPayers_Resources_CreateMunicipalTaxResourceItem
constructor
A new instance of DFeTech_TaxPayers_Resources_CreateMunicipalTaxResourceItem.
Constructor Details
#initialize ⇒ DFeTech_TaxPayers_Resources_CreateMunicipalTaxResourceItem
Returns a new instance of DFeTech_TaxPayers_Resources_CreateMunicipalTaxResourceItem.
27 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rbs', line 27
def initialize: (?auth_issue_value: String?, ?city: DFeTech_TaxPayers_Domain_Entities_CityExtended, ?company_registry_number: Integer?, ?email: String?, ?environment: untyped, ?federal_tax_determination: untyped, ?iss_rate: Float?, ?last_rps_sent: Integer, ?legal_nature: untyped, ?login_name: String?, ?login_password: String?, ?municipal_tax_determination: untyped, ?regional_tax_number: Integer?, ?rps_number: Integer, ?rps_serial_number: String?, ?special_tax_regime: untyped, ?tax_number: String?) -> void
|
Instance Attribute Details
#auth_issue_value ⇒ Object (readonly)
Returns the value of attribute auth_issue_value
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def auth_issue_value @auth_issue_value end |
#city ⇒ Object (readonly)
Returns the value of attribute city
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def city @city end |
#company_registry_number ⇒ Object (readonly)
Returns the value of attribute company_registry_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def company_registry_number @company_registry_number end |
#email ⇒ Object (readonly)
Returns the value of attribute email
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def email @email end |
#environment ⇒ Object (readonly)
Returns the value of attribute environment
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def environment @environment end |
#federal_tax_determination ⇒ Object (readonly)
Returns the value of attribute federal_tax_determination
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def federal_tax_determination @federal_tax_determination end |
#iss_rate ⇒ Object (readonly)
Returns the value of attribute iss_rate
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def iss_rate @iss_rate end |
#last_rps_sent ⇒ Object (readonly)
Returns the value of attribute last_rps_sent
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def last_rps_sent @last_rps_sent end |
#legal_nature ⇒ Object (readonly)
Returns the value of attribute legal_nature
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def legal_nature @legal_nature end |
#login_name ⇒ Object (readonly)
Returns the value of attribute login_name
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def login_name @login_name end |
#login_password ⇒ Object (readonly)
Returns the value of attribute login_password
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def login_password @login_password end |
#municipal_tax_determination ⇒ Object (readonly)
Returns the value of attribute municipal_tax_determination
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def municipal_tax_determination @municipal_tax_determination end |
#regional_tax_number ⇒ Object (readonly)
Returns the value of attribute regional_tax_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def regional_tax_number @regional_tax_number end |
#rps_number ⇒ Object (readonly)
Returns the value of attribute rps_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def rps_number @rps_number end |
#rps_serial_number ⇒ Object (readonly)
Returns the value of attribute rps_serial_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 9 def rps_serial_number @rps_serial_number 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_create_municipal_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_create_municipal_tax_resource_item.rb', line 9 def tax_number @tax_number 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 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( auth_issue_value: payload["authIssueValue"], city: DFeTech_TaxPayers_Domain_Entities_CityExtended.from_api(payload["city"]), company_registry_number: payload["companyRegistryNumber"], email: payload["email"], environment: payload["environment"], federal_tax_determination: payload["federalTaxDetermination"], iss_rate: payload["issRate"], last_rps_sent: payload["lastRpsSent"], legal_nature: payload["legalNature"], login_name: payload["loginName"], login_password: payload["loginPassword"], municipal_tax_determination: payload["municipalTaxDetermination"], regional_tax_number: payload["regionalTaxNumber"], rps_number: payload["rpsNumber"], rps_serial_number: payload["rpsSerialNumber"], special_tax_regime: payload["specialTaxRegime"], tax_number: payload["taxNumber"], ) end |
.new ⇒ instance
26 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_municipal_tax_resource_item.rbs', line 26
def self.new: (?auth_issue_value: String?, ?city: DFeTech_TaxPayers_Domain_Entities_CityExtended, ?company_registry_number: Integer?, ?email: String?, ?environment: untyped, ?federal_tax_determination: untyped, ?iss_rate: Float?, ?last_rps_sent: Integer, ?legal_nature: untyped, ?login_name: String?, ?login_password: String?, ?municipal_tax_determination: untyped, ?regional_tax_number: Integer?, ?rps_number: Integer, ?rps_serial_number: String?, ?special_tax_regime: untyped, ?tax_number: String?) -> instance
|