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