Sha256: 3f28f2c712d0d9037dffc4de035be8050639ce00e24a7f84e09530b3854d3bcc

Contents?: true

Size: 494 Bytes

Versions: 10

Compression:

Stored size: 494 Bytes

Contents

# frozen_string_literal: true

require_relative 'subsidiary'

module LedgerSync
  module NetSuite
    class Customer < NetSuite::Resource
      attribute :email, type: LedgerSync::Type::String
      attribute :companyName, type: LedgerSync::Type::String
      attribute :firstName, type: LedgerSync::Type::String
      attribute :lastName, type: LedgerSync::Type::String
      attribute :phone, type: LedgerSync::Type::String

      references_one :subsidiary, to: Subsidiary
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/resources/customer.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/resources/customer.rb