Class: ActiveNetsuite::Partner

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

Instance Method Summary collapse

Methods inherited from Record

#active=, #active?, #add, #add!, all, basic_search_class, client, #client, client=, #delete, delete, #delete!, deleted, find, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactive=, #inactive?, list, #load, #loaded?, #new?, raise_not_found_error, #ref, ref, #save, #save!, #setters, type, #update, update, #update!

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