Sha256: 7a8e66f0d4b511b8c430a1af934b4f6243a28228cadef8ccf15501b07c6093f3

Contents?: true

Size: 682 Bytes

Versions: 4

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

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

module LedgerSync
  module Ledgers
    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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb