Sha256: 63126b33e7e7fac7f079053ba1d7a3e4349c5776f18b39d0f4deaa9a92d84873

Contents?: true

Size: 1.83 KB

Versions: 3

Compression:

Stored size: 1.83 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 :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

3 entries across 3 versions & 1 rubygems

Version Path
emites-client-0.1.2 lib/emites/entities/service.rb
emites-client-0.1.1 lib/emites/entities/service.rb
emites-client-0.1.0 lib/emites/entities/service.rb