lib/jss/api_object/purchasable.rb
###
### All the purchasing data in a Hash, as it comes from the API.
###
### The reason it isn't stored this way is to prevent editing of the hash directly.
###
### @return [Hash<String>] the location data
###
All the purchasing data in a Hash, as it comes from the API.
The reason it isn't stored this way is to prevent editing of the hash directly.
All the purchasing data in a Hash as it comes from the API . The reason it isn ' t stored this way is to prevent editing of the hash directly .
def purchasing
      {
        :applecare_id => @applecare_id,
        :is_leased => @is_leased,
        :is_purchased => @is_purchased,
        :lease_expires => @lease_expires,
        :life_expectancy => @life_expectancy,
        :po_date => @po_date,
        :po_number => @po_number,
        :purchase_price => @purchase_price,
        :purchasing_account => @purchasing_account,
        :purchasing_contact => @purchasing_contact,
        :vendor => @vendor,
        :warranty_expires => @warranty_expires,
      }
    end
def purchasing { :applecare_id => @applecare_id , :is_leased => @is_leased , :is_purchased => @is_purchased , :lease_expires => @lease_expires , :life_expectancy => @life_expectancy , :po_date => @po_date , :po_number => @po_number , :purchase_price => @purchase_price , :purchasing_account => @purchasing_account , :purchasing_contact => @purchasing_contact , :vendor => @vendor , :warranty_expires => @warranty_expires , } end
All the purchasing data in a Hash, as it comes from the API.
All the purchasing data in a Hash as it comes from the API .
the location data
the location data
Hash<String>