Method: JSS::Purchasable#has_purchasing?

Defined in:
lib/jss/api_object/purchasable.rb

#has_purchasing?Boolean

Returns does this item have any purchasing info?.

Returns:

  • (Boolean)

    does this item have any purchasing info?



218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'lib/jss/api_object/purchasable.rb', line 218

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