Sha256: d38f501dd8ffbe11df3075f13f41eea738eb4c01436ba68b3f98d5e03a55ffe4

Contents?: true

Size: 1.26 KB

Versions: 19

Compression:

Stored size: 1.26 KB

Contents

module Asaas
  class Customer < Model
    transform_keys(&:to_sym)
    
    attribute :id, Types::Coercible::String.optional.default(nil)
    attribute :name, Types::Coercible::String
    attribute :cpfCnpj, Types::Coercible::String
    attribute :email, Types::Coercible::String.optional.default(nil)
    attribute :phone, Types::Coercible::String.optional.default(nil)
    attribute :mobilePhone, Types::Coercible::String.optional.default(nil)
    attribute :address, Types::Coercible::String.optional.default(nil)
    attribute :addressNumber, Types::Coercible::String.optional.default(nil)
    attribute :complement, Types::Coercible::String.optional.default(nil)
    attribute :province, Types::Coercible::String.optional.default(nil)
    attribute :postalCode, Types::Coercible::String.optional.default(nil)
    attribute :externalReference, Types::Coercible::String.optional.default(nil)
    attribute :notificationDisabled, Types::Bool.optional.default(false)
    attribute :additionalEmails, Types::Coercible::String.optional.default(nil)
    attribute :municipalInscription, Types::Coercible::String.optional.default(nil)
    attribute :stateInscription, Types::Coercible::String.optional.default(nil)
    attribute :groupName, Types::Coercible::String.optional.default(nil)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
asaas-ruby-0.2.28 lib/asaas/models/customer.rb
asaas-ruby-0.2.27 lib/asaas/models/customer.rb
asaas-ruby-0.2.26 lib/asaas/models/customer.rb
asaas-ruby-0.2.25 lib/asaas/models/customer.rb
asaas-ruby-0.2.18 lib/asaas/models/customer.rb
asaas-ruby-0.2.17 lib/asaas/models/customer.rb
asaas-ruby-0.2.12 lib/asaas/models/customer.rb
asaas-ruby-0.2.11 lib/asaas/models/customer.rb
asaas-ruby-0.2.10 lib/asaas/models/customer.rb
asaas-ruby-0.2.9 lib/asaas/models/customer.rb
asaas-ruby-0.2.8 lib/asaas/models/customer.rb
asaas-ruby-0.2.7 lib/asaas/models/customer.rb
asaas-ruby-0.2.6 lib/asaas/models/customer.rb
asaas-ruby-0.2.5 lib/asaas/models/customer.rb
asaas-ruby-0.2.4 lib/asaas/models/customer.rb
asaas-ruby-0.2.3 lib/asaas/models/customer.rb
asaas-ruby-0.2.2 lib/asaas/models/customer.rb
asaas-ruby-0.2.1 lib/asaas/models/customer.rb
asaas-ruby-0.2.0 lib/asaas/models/customer.rb