Sha256: 5f27094a5a4ca57d32bc3773c5b8736ed0fe8569433e539f25569aa6b0b51b71

Contents?: true

Size: 892 Bytes

Versions: 52

Compression:

Stored size: 892 Bytes

Contents

module NetSuite
  module Records
    class CustomerCurrency
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Namespaces::ListRel

      # https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2014_1/schema/other/customercurrency.html?mode=package

      fields :balance, :consol_balance, :consol_deposit_balance, :consol_overdue_balance,
             :consol_unbilled_orders, :deposit_balance, :display_symbol, :overdue_balance,
             :override_currency_format, :symbol_placement, :unbilled_orders

      record_refs :currency

      def initialize(attributes_or_record = {})
        case attributes_or_record
        when Hash
          initialize_from_attributes_hash(attributes_or_record)
        when self.class
          initialize_from_record(attributes_or_record)
        end
      end

    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
netsuite-0.5.6 lib/netsuite/records/customer_currency.rb
netsuite-0.5.5 lib/netsuite/records/customer_currency.rb
netsuite-0.5.4 lib/netsuite/records/customer_currency.rb
netsuite-0.5.3 lib/netsuite/records/customer_currency.rb
netsuite-0.5.2 lib/netsuite/records/customer_currency.rb
netsuite-0.5.1 lib/netsuite/records/customer_currency.rb
netsuite-0.5.0 lib/netsuite/records/customer_currency.rb
netsuite-0.4.9 lib/netsuite/records/customer_currency.rb
netsuite-0.4.8 lib/netsuite/records/customer_currency.rb
netsuite-0.4.7 lib/netsuite/records/customer_currency.rb
netsuite-0.4.6 lib/netsuite/records/customer_currency.rb
netsuite-0.4.5 lib/netsuite/records/customer_currency.rb