Class: ActiveNetsuite::Partner

Inherits:
Record
  • Object
show all
Defined in:
lib/activenetsuite/relationships/partner.rb

Instance Method Summary collapse

Methods inherited from Record

#activate, active, #active=, #active?, #add, all, basic_search_class, #client, client, client=, delete, #delete, deleted, find, find_by, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactivate, inactive, #inactive=, #load, #loaded?, raise_not_found_error, ref, #ref, search_next, #setters, #to_s, type, #update, update, where

Methods included from MethodInflector

included, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveNetsuite::MethodInflector

Instance Method Details

#eligible_for_commission?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/activenetsuite/relationships/partner.rb', line 12

def eligible_for_commission?
  eligible_for_commission
end

#vendorObject



4
5
6
7
8
9
10
# File 'lib/activenetsuite/relationships/partner.rb', line 4

def vendor
  @vendor ||= begin
                vendor = ActiveNetsuite::Vendor.new
                vendor.internal_id = internal_id
                vendor
              end
end