Class: Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_CompanyResourceV1
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_CompanyResourceV1
- Defined in:
- lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb,
sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rbs
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#auth_issue_value ⇒ Object
readonly
Returns the value of attribute auth_issue_value.
-
#certificate ⇒ Object
readonly
Returns the value of attribute certificate.
-
#company_registry_number ⇒ Object
readonly
Returns the value of attribute company_registry_number.
-
#created_on ⇒ Object
readonly
Returns the value of attribute created_on.
-
#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.
-
#federal_tax_number ⇒ Object
readonly
Returns the value of attribute federal_tax_number.
-
#fiscal_status ⇒ Object
readonly
Returns the value of attribute fiscal_status.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#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.
-
#modified_on ⇒ Object
readonly
Returns the value of attribute modified_on.
-
#municipal_tax_determination ⇒ Object
readonly
Returns the value of attribute municipal_tax_determination.
-
#municipal_tax_number ⇒ Object
readonly
Returns the value of attribute municipal_tax_number.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#openning_date ⇒ Object
readonly
Returns the value of attribute openning_date.
-
#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.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#tax_regime ⇒ Object
readonly
Returns the value of attribute tax_regime.
-
#trade_name ⇒ Object
readonly
Returns the value of attribute trade_name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ DFeTech_TaxPayers_Resources_CompanyResourceV1
constructor
A new instance of DFeTech_TaxPayers_Resources_CompanyResourceV1.
Constructor Details
#initialize ⇒ DFeTech_TaxPayers_Resources_CompanyResourceV1
Returns a new instance of DFeTech_TaxPayers_Resources_CompanyResourceV1.
38 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rbs', line 38
def initialize: (?address: DFeTech_TaxPayers_Domain_Entities_Address, ?auth_issue_value: String?, ?certificate: DFeTech_TaxPayers_Resources_CompanyCertificateV1, ?company_registry_number: Integer?, ?created_on: String?, ?email: String?, ?environment: untyped, ?federal_tax_determination: untyped, ?federal_tax_number: Integer?, ?fiscal_status: untyped, ?id: String?, ?iss_rate: Float?, ?last_rps_sent: Integer?, ?legal_nature: untyped, ?login_name: String?, ?login_password: String?, ?modified_on: String?, ?municipal_tax_determination: untyped, ?municipal_tax_number: String?, ?name: String?, ?openning_date: String?, ?regional_tax_number: Integer?, ?rps_number: Integer?, ?rps_serial_number: String?, ?special_tax_regime: untyped, ?status: untyped, ?tax_regime: untyped, ?trade_name: String?) -> void
|
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def address @address end |
#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_company_resource_v1.rb', line 9 def auth_issue_value @auth_issue_value end |
#certificate ⇒ Object (readonly)
Returns the value of attribute certificate
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def certificate @certificate 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_company_resource_v1.rb', line 9 def company_registry_number @company_registry_number 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_company_resource_v1.rb', line 9 def created_on @created_on end |
#email ⇒ Object (readonly)
Returns the value of attribute email
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.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_company_resource_v1.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_company_resource_v1.rb', line 9 def federal_tax_determination @federal_tax_determination end |
#federal_tax_number ⇒ Object (readonly)
Returns the value of attribute federal_tax_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def federal_tax_number @federal_tax_number end |
#fiscal_status ⇒ Object (readonly)
Returns the value of attribute fiscal_status
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def fiscal_status @fiscal_status end |
#id ⇒ Object (readonly)
Returns the value of attribute id
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def id @id 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_company_resource_v1.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_company_resource_v1.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_company_resource_v1.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_company_resource_v1.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_company_resource_v1.rb', line 9 def login_password @login_password 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_company_resource_v1.rb', line 9 def modified_on @modified_on 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_company_resource_v1.rb', line 9 def municipal_tax_determination @municipal_tax_determination end |
#municipal_tax_number ⇒ Object (readonly)
Returns the value of attribute municipal_tax_number
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def municipal_tax_number @municipal_tax_number end |
#name ⇒ Object (readonly)
Returns the value of attribute name
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def name @name end |
#openning_date ⇒ Object (readonly)
Returns the value of attribute openning_date
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def openning_date @openning_date 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_company_resource_v1.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_company_resource_v1.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_company_resource_v1.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_company_resource_v1.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_company_resource_v1.rb', line 9 def status @status end |
#tax_regime ⇒ Object (readonly)
Returns the value of attribute tax_regime
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def tax_regime @tax_regime end |
#trade_name ⇒ Object (readonly)
Returns the value of attribute trade_name
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 9 def trade_name @trade_name 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 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( address: DFeTech_TaxPayers_Domain_Entities_Address.from_api(payload["address"]), auth_issue_value: payload["authIssueValue"], certificate: DFeTech_TaxPayers_Resources_CompanyCertificateV1.from_api(payload["certificate"]), company_registry_number: payload["companyRegistryNumber"], created_on: payload["createdOn"], email: payload["email"], environment: payload["environment"], federal_tax_determination: payload["federalTaxDetermination"], federal_tax_number: payload["federalTaxNumber"], fiscal_status: payload["fiscalStatus"], id: payload["id"], iss_rate: payload["issRate"], last_rps_sent: payload["lastRpsSent"], legal_nature: payload["legalNature"], login_name: payload["loginName"], login_password: payload["loginPassword"], modified_on: payload["modifiedOn"], municipal_tax_determination: payload["municipalTaxDetermination"], municipal_tax_number: payload["municipalTaxNumber"], name: payload["name"], openning_date: payload["openningDate"], regional_tax_number: payload["regionalTaxNumber"], rps_number: payload["rpsNumber"], rps_serial_number: payload["rpsSerialNumber"], special_tax_regime: payload["specialTaxRegime"], status: payload["status"], tax_regime: payload["taxRegime"], trade_name: payload["tradeName"], ) end |
.new ⇒ instance
37 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_company_resource_v1.rbs', line 37
def self.new: (?address: DFeTech_TaxPayers_Domain_Entities_Address, ?auth_issue_value: String?, ?certificate: DFeTech_TaxPayers_Resources_CompanyCertificateV1, ?company_registry_number: Integer?, ?created_on: String?, ?email: String?, ?environment: untyped, ?federal_tax_determination: untyped, ?federal_tax_number: Integer?, ?fiscal_status: untyped, ?id: String?, ?iss_rate: Float?, ?last_rps_sent: Integer?, ?legal_nature: untyped, ?login_name: String?, ?login_password: String?, ?modified_on: String?, ?municipal_tax_determination: untyped, ?municipal_tax_number: String?, ?name: String?, ?openning_date: String?, ?regional_tax_number: Integer?, ?rps_number: Integer?, ?rps_serial_number: String?, ?special_tax_regime: untyped, ?status: untyped, ?tax_regime: untyped, ?trade_name: String?) -> instance
|