Class: ChargeBee::EntitlementOverride
- Defined in:
- lib/chargebee/models/entitlement_override.rb
Instance Attribute Summary collapse
-
#effective_from ⇒ Object
Returns the value of attribute effective_from.
-
#entity_id ⇒ Object
Returns the value of attribute entity_id.
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
-
#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.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#schedule_status ⇒ Object
Returns the value of attribute schedule_status.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
-
.add_entitlement_override_for_subscription(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .list_entitlement_override_for_subscription(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
#effective_from ⇒ Object
Returns the value of attribute effective_from.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def effective_from @effective_from end |
#entity_id ⇒ Object
Returns the value of attribute entity_id.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def entity_id @entity_id end |
#entity_type ⇒ Object
Returns the value of attribute entity_type.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def entity_type @entity_type end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def expires_at @expires_at end |
#feature_id ⇒ Object
Returns the value of attribute feature_id.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.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/entitlement_override.rb', line 4 def feature_name @feature_name end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def name @name end |
#schedule_status ⇒ Object
Returns the value of attribute schedule_status.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def schedule_status @schedule_status end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/chargebee/models/entitlement_override.rb', line 4 def value @value end |
Class Method Details
.add_entitlement_override_for_subscription(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS
10 11 12 |
# File 'lib/chargebee/models/entitlement_override.rb', line 10 def self.add_entitlement_override_for_subscription(id, params, env=nil, headers={}) Request.send('post', uri_path("subscriptions",id.to_s,"entitlement_overrides"), params, env, headers) end |
.list_entitlement_override_for_subscription(id, params = {}, env = nil, headers = {}) ⇒ Object
14 15 16 |
# File 'lib/chargebee/models/entitlement_override.rb', line 14 def self.list_entitlement_override_for_subscription(id, params={}, env=nil, headers={}) Request.send('get', uri_path("subscriptions",id.to_s,"entitlement_overrides"), params, env, headers) end |