Sha256: 1619d20ad272b4735cf08940547b6ce03549b975ede1154bd6368bfd848bdabd

Contents?: true

Size: 1.19 KB

Versions: 61

Compression:

Stored size: 1.19 KB

Contents

module NetSuite
  module Records
    class BillingSchedule
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ListAcct

      actions :get, :add, :delete, :upsert, :search

      fields :bill_for_actuals, :day_period, :frequency, :in_arrears, :initial_amount, :is_inactive,
        :is_public, :month_dom, :month_dow, :month_dowim, :month_mode, :name,
        :number_remaining, :recurrence_dow_mask_list, :repeat_every, :schedule_type, 
        :series_start_date, :year_dom, :year_dow, :year_dowim, :year_dowim_month, 
        :year_mode, :year_month

      record_refs :initial_terms, :project, :recurrence_terms, :transaction

      attr_reader :internal_id
      attr_accessor :external_id

      field :milestone_list,  BillingScheduleMilestoneList
      field :recurrence_list, BillingScheduleRecurrenceList

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/billing_schedule.rb
netsuite-0.9.2 lib/netsuite/records/billing_schedule.rb
netsuite-0.9.1 lib/netsuite/records/billing_schedule.rb
netsuite-0.9.0 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.12 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.11 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.10 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.9 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.8 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.7 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.6 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.5 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.4 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.3 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.2 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.1 lib/netsuite/records/billing_schedule.rb
netsuite-0.8.0 lib/netsuite/records/billing_schedule.rb
netsuite-0.7.9 lib/netsuite/records/billing_schedule.rb
netsuite-0.7.8 lib/netsuite/records/billing_schedule.rb
netsuite-0.7.7 lib/netsuite/records/billing_schedule.rb