Sha256: 0b1aa95d7e376483b2017e88fdf1a3f9bc7a8967971ae1e979ac2051ac847b21

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 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)
    attribute :deleted, Types::Coercible::Bool.optional.default(false)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asaas-ruby-0.2.29 lib/asaas/models/customer.rb