Sha256: c2074c3598f1272afd8df8e71f821e84b0dd6620f22d93d3d4ba35695f88a1d6

Contents?: true

Size: 629 Bytes

Versions: 11

Compression:

Stored size: 629 Bytes

Contents

# frozen_string_literal: true

require_relative '../primary_phone/deserializer'
require_relative '../primary_email_addr/deserializer'

module LedgerSync
  module QuickBooksOnline
    class Customer
      class Deserializer < QuickBooksOnline::Deserializer
        id

        attribute :DisplayName
        attribute :GivenName
        attribute :FamilyName
        attribute :MiddleName

        references_one :PrimaryPhone,
                       deserializer: PrimaryPhone::Deserializer
        references_one :PrimaryEmailAddr,
                       deserializer: PrimaryEmailAddr::Deserializer
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/customer/deserializer.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/customer/deserializer.rb