Class: ChargeBee::SubscriptionEntitlement
- Defined in:
- lib/chargebee/models/subscription_entitlement.rb
Defined Under Namespace
Classes: Component, EmbeddedResource
Instance Attribute Summary collapse
-
#components ⇒ Object
Returns the value of attribute components.
-
#embedded ⇒ Object
Returns the value of attribute embedded.
-
#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_unit ⇒ Object
Returns the value of attribute feature_unit.
-
#id ⇒ Object
Returns the value of attribute id.
-
#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.
-
#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, #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.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def components @components end |
#embedded ⇒ Object
Returns the value of attribute embedded.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def @embedded end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def expires_at @expires_at end |
#feature_id ⇒ Object
Returns the value of attribute feature_id.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def feature_id @feature_id end |
#feature_name ⇒ Object
Returns the value of attribute feature_name.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def feature_name @feature_name end |
#feature_unit ⇒ Object
Returns the value of attribute feature_unit.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def feature_unit @feature_unit end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def id @id end |
#is_enabled ⇒ Object
Returns the value of attribute is_enabled.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def is_enabled @is_enabled end |
#is_overridden ⇒ Object
Returns the value of attribute is_overridden.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def is_overridden @is_overridden end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def name @name end |
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def subscription_id @subscription_id end |
#value ⇒ Object
Returns the value of attribute value.
12 13 14 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 12 def value @value end |
Class Method Details
.set_subscription_entitlement_availability(id, params, env = nil, headers = {}) ⇒ Object
22 23 24 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 22 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
18 19 20 |
# File 'lib/chargebee/models/subscription_entitlement.rb', line 18 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 |