Method: Jamf::Purchasable#has_purchasing?

Defined in:
lib/jamf/api/classic/api_objects/purchasable.rb

#has_purchasing?Boolean

Returns does this item have any purchasing info?.

Returns:

  • does this item have any purchasing info?



207
208
209
210
211
212
213
214
215
216
217
218
219
220
# File 'lib/jamf/api/classic/api_objects/purchasable.rb', line 207

def has_purchasing?
  @applecare_id or \
    @is_leased or \
    @is_purchased or \
    @lease_expires or \
    @life_expectancy or \
    @po_date or \
    @po_number or \
    @purchase_price or \
     or \
    @purchasing_contact or \
    @vendor or \
    @warranty_expires
end