Sha256: 019375927174cebf8ab781793d1372925b9cb614d6011c201d7d25e843198be9

Contents?: true

Size: 547 Bytes

Versions: 8

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

require_relative 'check_line_item'
require_relative 'customer'
require_relative 'vendor'

module LedgerSync
  module Ledgers
    module NetSuite
      class Check < NetSuite::Resource
        attribute :memo, type: Type::String
        attribute :trandate, type: Type::String

        references_one :account
        references_one :department
        references_one :entity, to: [Customer, Vendor]
        references_one :currency

        references_many :line_items, to: CheckLineItem
      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/resources/check.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/resources/check.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/resources/check.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/resources/check.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/resources/check.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/resources/check.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/resources/check.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/resources/check.rb