Sha256: 17635bc38601fdb38221fb3ab7a0ad00445ca6199afaa6cc20b0d0b973968b68

Contents?: true

Size: 209 Bytes

Versions: 17

Compression:

Stored size: 209 Bytes

Contents

module Asaas
  class Fine < Model
    FineTypes = Types::Strict::String.enum('FIXED', 'PERCENTAGE')

    attribute :value, Types::Coercible::Float
    attribute :type, FineTypes.optional.default(nil)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
asaas-ruby-0.2.30 lib/asaas/models/fine.rb
asaas-ruby-0.2.29 lib/asaas/models/fine.rb
asaas-ruby-0.2.28 lib/asaas/models/fine.rb
asaas-ruby-0.2.27 lib/asaas/models/fine.rb
asaas-ruby-0.2.26 lib/asaas/models/fine.rb
asaas-ruby-0.2.25 lib/asaas/models/fine.rb
asaas-ruby-0.2.18 lib/asaas/models/fine.rb
asaas-ruby-0.2.17 lib/asaas/models/fine.rb
asaas-ruby-0.2.12 lib/asaas/models/fine.rb
asaas-ruby-0.2.11 lib/asaas/models/fine.rb
asaas-ruby-0.2.10 lib/asaas/models/fine.rb
asaas-ruby-0.2.9 lib/asaas/models/fine.rb
asaas-ruby-0.2.8 lib/asaas/models/fine.rb
asaas-ruby-0.2.7 lib/asaas/models/fine.rb
asaas-ruby-0.2.6 lib/asaas/models/fine.rb
asaas-ruby-0.2.5 lib/asaas/models/fine.rb
asaas-ruby-0.2.4 lib/asaas/models/fine.rb