Sha256: 239f6d02ff403b6f5b92ea7d526358e52aa8e505ab20564725b2af923ed356f0

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

module Emites
  module Entities
    class Service < Base
      attribute :id,                                Integer
      attribute :emitter_id,                        Integer
      attribute :name,                              String
      attribute :service_amount,                    Decimal, precision: 16, scale: 2
      attribute :calculation_base,                  Decimal, precision: 16, scale: 2
      attribute :deduction_percentage,              Decimal, precision: 5, scale: 2
      attribute :retained_iss,                      Boolean
      attribute :iss_percentage,                    Decimal, precision: 5, scale: 2
      attribute :pis_percentage,                    Decimal, precision: 5, scale: 2
      attribute :cofins_percentage,                 Decimal, precision: 5, scale: 2
      attribute :inss_percentage,                   Decimal, precision: 5, scale: 2
      attribute :ir_percentage,                     Decimal, precision: 5, scale: 2
      attribute :csll_percentage,                   Decimal, precision: 5, scale: 2
      attribute :discount_conditioning_percentage,  Decimal, precision: 5, scale: 2
      attribute :service_item_code,                 String
      attribute :city_tax_code,                     String
      attribute :cnae_code,                         Integer
      attribute :description,                       String
      attribute :city_code,                         Integer
      attribute :nfse_liquid_amount,                Decimal, precision: 16, scale: 2
      attribute :other_retentions_percentage,       Decimal, precision: 5, scale: 2
      attribute :retained_iss_percentage,           Decimal, precision: 5, scale: 2
      attribute :unconditioned_discount_percentage, Decimal, precision: 5, scale: 2
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
emites-client-0.0.4 lib/emites/entities/service.rb
emites-client-0.0.3 lib/emites/entities/service.rb