Class: ChargeBee::SubscriptionEntitlement
- Defined in:
 - lib/chargebee/models/subscription_entitlement.rb
 
Defined Under Namespace
Classes: Component
Instance Attribute Summary collapse
- 
  
    
      #components  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute components.
 - 
  
    
      #effective_from  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute effective_from.
 - 
  
    
      #expires_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute expires_at.
 - 
  
    
      #feature_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_id.
 - 
  
    
      #feature_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_name.
 - 
  
    
      #feature_type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_type.
 - 
  
    
      #feature_unit  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute feature_unit.
 - 
  
    
      #is_enabled  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute is_enabled.
 - 
  
    
      #is_overridden  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute is_overridden.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #schedule_status  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute schedule_status.
 - 
  
    
      #subscription_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute subscription_id.
 - 
  
    
      #value  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute value.
 
Class Method Summary collapse
- .set_subscription_entitlement_availability(id, params, env = nil, headers = {}) ⇒ Object
 - 
  
    
      .subscription_entitlements_for_subscription(id, params = {}, env = nil, headers = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
OPERATIONS ———–.
 
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
#components ⇒ Object
Returns the value of attribute components.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def components @components end  | 
  
#effective_from ⇒ Object
Returns the value of attribute effective_from.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def effective_from @effective_from end  | 
  
#expires_at ⇒ Object
Returns the value of attribute expires_at.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def expires_at @expires_at end  | 
  
#feature_id ⇒ Object
Returns the value of attribute feature_id.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def feature_id @feature_id end  | 
  
#feature_name ⇒ Object
Returns the value of attribute feature_name.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def feature_name @feature_name end  | 
  
#feature_type ⇒ Object
Returns the value of attribute feature_type.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def feature_type @feature_type end  | 
  
#feature_unit ⇒ Object
Returns the value of attribute feature_unit.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def feature_unit @feature_unit end  | 
  
#is_enabled ⇒ Object
Returns the value of attribute is_enabled.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def is_enabled @is_enabled end  | 
  
#is_overridden ⇒ Object
Returns the value of attribute is_overridden.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def is_overridden @is_overridden end  | 
  
#name ⇒ Object
Returns the value of attribute name.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def name @name end  | 
  
#schedule_status ⇒ Object
Returns the value of attribute schedule_status.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def schedule_status @schedule_status end  | 
  
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def subscription_id @subscription_id end  | 
  
#value ⇒ Object
Returns the value of attribute value.
      8 9 10  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 8 def value @value end  | 
  
Class Method Details
.set_subscription_entitlement_availability(id, params, env = nil, headers = {}) ⇒ Object
      18 19 20  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 18 def self.set_subscription_entitlement_availability(id, params, env=nil, headers={}) Request.send('post', uri_path("subscriptions",id.to_s,"subscription_entitlements/set_availability"), params, env, headers) end  | 
  
.subscription_entitlements_for_subscription(id, params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS
      14 15 16  | 
    
      # File 'lib/chargebee/models/subscription_entitlement.rb', line 14 def self.subscription_entitlements_for_subscription(id, params={}, env=nil, headers={}) Request.send('get', uri_path("subscriptions",id.to_s,"subscription_entitlements"), params, env, headers) end  |