Sha256: 6456b58931047487279e580301dbca3e6069516f7f50a20ee883055c819d103c

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

# frozen_string_literal: true

require_relative 'subsidiary'
require_relative 'primary_phone'
require_relative 'primary_email_addr'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Customer < QuickBooksOnline::Resource
        attribute :DisplayName, type: LedgerSync::Type::String

        references_one :PrimaryPhone, to: PrimaryPhone
        references_one :PrimaryEmailAddr, to: PrimaryEmailAddr
        references_one :subsidiary, to: Subsidiary
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/resources/customer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/resources/customer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/resources/customer.rb