Sha256: 54ff448f4f40a2fbfe1b1abad5d88459d33594718b918289a8afb05c3cb75189

Contents?: true

Size: 759 Bytes

Versions: 10

Compression:

Stored size: 759 Bytes

Contents

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

      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

10 entries across 10 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/vendor_currency.rb
netsuite-0.9.2 lib/netsuite/records/vendor_currency.rb
netsuite-0.9.1 lib/netsuite/records/vendor_currency.rb
netsuite-0.9.0 lib/netsuite/records/vendor_currency.rb
netsuite-0.8.12 lib/netsuite/records/vendor_currency.rb
netsuite-0.8.11 lib/netsuite/records/vendor_currency.rb
netsuite-0.8.10 lib/netsuite/records/vendor_currency.rb
netsuite-0.8.9 lib/netsuite/records/vendor_currency.rb
netsuite-0.8.8 lib/netsuite/records/vendor_currency.rb
netsuite-0.8.7 lib/netsuite/records/vendor_currency.rb