Sha256: e4e245b414033ae920c98d16b388908d67a782a988ed250a4cbe6dca9da6de51

Contents?: true

Size: 488 Bytes

Versions: 8

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Customer
        class Deserializer < NetSuite::Deserializer
          id

          attribute :companyName
          attribute :firstName
          attribute :lastName
          attribute :email
          attribute :phone

          attribute :subsidiary,
                    type: Type::DeserializerSubsidiaryType.new(subsidiary_class: Subsidiary)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb