Class: ChargeBee::CustomerEntitlement
- Defined in:
 - lib/chargebee/models/customer_entitlement.rb
 
Instance Attribute Summary collapse
- 
  
    
      #customer_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute customer_id.
 - 
  
    
      #feature_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_id.
 - 
  
    
      #is_enabled  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute is_enabled.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #subscription_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute subscription_id.
 - 
  
    
      #value  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute value.
 
Class Method Summary collapse
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
#customer_id ⇒ Object
Returns the value of attribute customer_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 4 def customer_id @customer_id end  | 
  
#feature_id ⇒ Object
Returns the value of attribute feature_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 4 def feature_id @feature_id end  | 
  
#is_enabled ⇒ Object
Returns the value of attribute is_enabled.
      4 5 6  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 4 def is_enabled @is_enabled end  | 
  
#name ⇒ Object
Returns the value of attribute name.
      4 5 6  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 4 def name @name end  | 
  
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 4 def subscription_id @subscription_id end  | 
  
#value ⇒ Object
Returns the value of attribute value.
      4 5 6  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 4 def value @value end  | 
  
Class Method Details
.entitlements_for_customer(id, params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS
      9 10 11  | 
    
      # File 'lib/chargebee/models/customer_entitlement.rb', line 9 def self.entitlements_for_customer(id, params={}, env=nil, headers={}) Request.send('get', uri_path("customers",id.to_s,"customer_entitlements"), params, env, headers) end  |