Class: Nfe::Generated::ContribuintesV2::DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource

Inherits:
Data
  • Object
show all
Defined in:
lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_state_tax_processing_details_resource.rb,
sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_state_tax_processing_details_resource.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource

Returns a new instance of DFeTech_TaxPayers_Resources_CreateStateTaxProcessingDetailsResource.

Parameters:

  • switch_authorizer_strategy: (Object)


11
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_state_tax_processing_details_resource.rbs', line 11

def initialize: (?switch_authorizer_strategy: untyped) -> void

Instance Attribute Details

#switch_authorizer_strategyObject (readonly)

Returns the value of attribute switch_authorizer_strategy

Returns:

  • (Object)

    the current value of switch_authorizer_strategy



9
10
11
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_state_tax_processing_details_resource.rb', line 9

def switch_authorizer_strategy
  @switch_authorizer_strategy
end

Class Method Details

.from_api(payload) ⇒ instance?

Parameters:

  • payload (Hash[String, untyped], nil)

Returns:

  • (instance, nil)


10
11
12
13
14
15
16
# File 'lib/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_state_tax_processing_details_resource.rb', line 10

def self.from_api(payload)
  return nil if payload.nil?

  new(
    switch_authorizer_strategy: payload["switchAuthorizerStrategy"],
  )
end

.newinstance

Parameters:

  • switch_authorizer_strategy: (Object)

Returns:

  • (instance)


10
# File 'sig/nfe/generated/contribuintes_v2/dfe_tech_tax_payers_resources_create_state_tax_processing_details_resource.rbs', line 10

def self.new: (?switch_authorizer_strategy: untyped) -> instance