Sha256: bf537a2fb66fe18a8760fce21d098723943c81a947e737648c8731fa62233d77

Contents?: true

Size: 713 Bytes

Versions: 4

Compression:

Stored size: 713 Bytes

Contents

# frozen_string_literal: true

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

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Vendor
        class Deserializer < QuickBooksOnline::Deserializer
          id

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

          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/vendor/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/vendor/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/vendor/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/vendor/deserializer.rb