Class: Omie::TaxRecommendation
- Inherits:
-
BaseResource
- Object
- BaseResource
- Omie::TaxRecommendation
- 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
-
#cnpj_fabricante ⇒ Object
Returns the value of attribute cnpj_fabricante.
-
#cupom_fiscal ⇒ Object
Returns the value of attribute cupom_fiscal.
-
#id_cest ⇒ Object
Returns the value of attribute id_cest.
-
#id_preco_tabelado ⇒ Object
Returns the value of attribute id_preco_tabelado.
-
#indicador_escala ⇒ Object
Returns the value of attribute indicador_escala.
-
#market_place ⇒ Object
Returns the value of attribute market_place.
-
#origem_mercadoria ⇒ Object
Returns the value of attribute origem_mercadoria.
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_fabricante ⇒ Object
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_fiscal ⇒ Object
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_cest ⇒ Object
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_tabelado ⇒ Object
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_escala ⇒ Object
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_place ⇒ Object
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_mercadoria ⇒ Object
Returns the value of attribute origem_mercadoria.
14 15 16 |
# File 'lib/omie/tax_recommendation.rb', line 14 def origem_mercadoria @origem_mercadoria end |