Class: ChargeBee::ItemEntitlement
- Defined in:
 - lib/chargebee/models/item_entitlement.rb
 
Instance Attribute Summary collapse
- 
  
    
      #feature_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_id.
 - 
  
    
      #feature_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_name.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #item_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute item_id.
 - 
  
    
      #item_type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute item_type.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #value  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute value.
 
Class Method Summary collapse
- .add_item_entitlements(id, params, env = nil, headers = {}) ⇒ Object
 - .item_entitlements_for_feature(id, params = {}, env = nil, headers = {}) ⇒ Object
 - 
  
    
      .item_entitlements_for_item(id, params = {}, env = nil, headers = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
OPERATIONS ———–.
 - .upsert_or_remove_item_entitlements_for_item(id, params, env = nil, headers = {}) ⇒ Object
 
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#feature_id ⇒ Object
Returns the value of attribute feature_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def feature_id @feature_id end  | 
  
#feature_name ⇒ Object
Returns the value of attribute feature_name.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def feature_name @feature_name end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def id @id end  | 
  
#item_id ⇒ Object
Returns the value of attribute item_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def item_id @item_id end  | 
  
#item_type ⇒ Object
Returns the value of attribute item_type.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def item_type @item_type end  | 
  
#name ⇒ Object
Returns the value of attribute name.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def name @name end  | 
  
#value ⇒ Object
Returns the value of attribute value.
      4 5 6  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 4 def value @value end  | 
  
Class Method Details
.add_item_entitlements(id, params, env = nil, headers = {}) ⇒ Object
      17 18 19  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 17 def self.add_item_entitlements(id, params, env=nil, headers={}) Request.send('post', uri_path("features",id.to_s,"item_entitlements"), params, env, headers) end  | 
  
.item_entitlements_for_feature(id, params = {}, env = nil, headers = {}) ⇒ Object
      13 14 15  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 13 def self.item_entitlements_for_feature(id, params={}, env=nil, headers={}) Request.send('get', uri_path("features",id.to_s,"item_entitlements"), params, env, headers) end  | 
  
.item_entitlements_for_item(id, params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS
      9 10 11  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 9 def self.item_entitlements_for_item(id, params={}, env=nil, headers={}) Request.send('get', uri_path("items",id.to_s,"item_entitlements"), params, env, headers) end  | 
  
.upsert_or_remove_item_entitlements_for_item(id, params, env = nil, headers = {}) ⇒ Object
      21 22 23  | 
    
      # File 'lib/chargebee/models/item_entitlement.rb', line 21 def self.upsert_or_remove_item_entitlements_for_item(id, params, env=nil, headers={}) Request.send('post', uri_path("items",id.to_s,"item_entitlements"), params, env, headers) end  |