Class: Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_StateTaxSwitchAuthorizerResponse
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_StateTaxSwitchAuthorizerResponse
- Defined in:
- lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rb,
sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rbs
Instance Attribute Summary collapse
-
#from_authorizer ⇒ Object
readonly
Returns the value of attribute from_authorizer.
-
#modified_on ⇒ Object
readonly
Returns the value of attribute modified_on.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#to_authorizer ⇒ Object
readonly
Returns the value of attribute to_authorizer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ DFeTech_TaxPayers_Resources_StateTaxSwitchAuthorizerResponse
constructor
A new instance of DFeTech_TaxPayers_Resources_StateTaxSwitchAuthorizerResponse.
Constructor Details
#initialize ⇒ DFeTech_TaxPayers_Resources_StateTaxSwitchAuthorizerResponse
Returns a new instance of DFeTech_TaxPayers_Resources_StateTaxSwitchAuthorizerResponse.
14 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rbs', line 14
def initialize: (?from_authorizer: untyped, ?modified_on: String, ?reason: String?, ?to_authorizer: untyped) -> void
|
Instance Attribute Details
#from_authorizer ⇒ Object (readonly)
Returns the value of attribute from_authorizer
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rb', line 9 def @from_authorizer 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_switch_authorizer_response.rb', line 9 def modified_on @modified_on end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rb', line 9 def reason @reason end |
#to_authorizer ⇒ Object (readonly)
Returns the value of attribute to_authorizer
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rb', line 9 def @to_authorizer end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( from_authorizer: payload["fromAuthorizer"], modified_on: payload["modifiedOn"], reason: payload["reason"], to_authorizer: payload["toAuthorizer"], ) end |
.new ⇒ instance
13 |
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_state_tax_switch_authorizer_response.rbs', line 13
def self.new: (?from_authorizer: untyped, ?modified_on: String, ?reason: String?, ?to_authorizer: untyped) -> instance
|