Class: Omie::TaxRecommendation

Inherits:
BaseResource show all
Defined in:
lib/omie/tax_recommendation.rb

Overview

This class abstracts tax recommendations related to the Product resource from Omie (Ref: Produto). It works as an embedded object inside Product payload. Take a look at this link for more details: /.

Different from traditional resources that inherit from BaseResource, internal objects does nothing but declares attributes that will comprise a higher level resource’s payload. They usually does not have specific endpoints.

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseResource

#initialize, request, request_and_initialize, #update_attributes

Constructor Details

This class inherits a constructor from Omie::BaseResource

Instance Attribute Details

#cnpj_fabricanteObject

Returns the value of attribute cnpj_fabricante.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def cnpj_fabricante
  @cnpj_fabricante
end

#cupom_fiscalObject

Returns the value of attribute cupom_fiscal.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def cupom_fiscal
  @cupom_fiscal
end

#id_cestObject

Returns the value of attribute id_cest.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def id_cest
  @id_cest
end

#id_preco_tabeladoObject

Returns the value of attribute id_preco_tabelado.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def id_preco_tabelado
  @id_preco_tabelado
end

#indicador_escalaObject

Returns the value of attribute indicador_escala.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def indicador_escala
  @indicador_escala
end

#market_placeObject

Returns the value of attribute market_place.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def market_place
  @market_place
end

#origem_mercadoriaObject

Returns the value of attribute origem_mercadoria.



14
15
16
# File 'lib/omie/tax_recommendation.rb', line 14

def origem_mercadoria
  @origem_mercadoria
end