Sha256: 1b82058bdd1f6a6a82aef3453211764de34c40b9dfe05e38f3211c617d573b97

Contents?: true

Size: 894 Bytes

Versions: 1

Compression:

Stored size: 894 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Account
        class SearcherLedgerDeserializer < NetSuite::LedgerSerializer
          attribute ledger_attribute: :id,
                    resource_attribute: :ledger_id

          attribute ledger_attribute: :accountsearchdisplayname,
                    resource_attribute: :name

          attribute ledger_attribute: :acctnumber,
                    resource_attribute: :number

          attribute ledger_attribute: :accttype,
                    resource_attribute: :account_type

          attribute ledger_attribute: :description,
                    resource_attribute: :description

          attribute ledger_attribute: :isinactive,
                    resource_attribute: :active,
                    type: LedgerSerializerType::ActiveType
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/account/searcher_ledger_deserializer.rb