Class: ChargeBee::UsageSummary
- Defined in:
- lib/chargebee/models/usage_summary.rb
Instance Attribute Summary collapse
-
#aggregated_from ⇒ Object
Returns the value of attribute aggregated_from.
-
#aggregated_to ⇒ Object
Returns the value of attribute aggregated_to.
-
#aggregated_value ⇒ Object
Returns the value of attribute aggregated_value.
-
#feature_id ⇒ Object
Returns the value of attribute feature_id.
-
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
Class Method Summary collapse
-
.retrieve_usage_summary_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, #respond_to_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
#aggregated_from ⇒ Object
Returns the value of attribute aggregated_from.
4 5 6 |
# File 'lib/chargebee/models/usage_summary.rb', line 4 def aggregated_from @aggregated_from end |
#aggregated_to ⇒ Object
Returns the value of attribute aggregated_to.
4 5 6 |
# File 'lib/chargebee/models/usage_summary.rb', line 4 def aggregated_to @aggregated_to end |
#aggregated_value ⇒ Object
Returns the value of attribute aggregated_value.
4 5 6 |
# File 'lib/chargebee/models/usage_summary.rb', line 4 def aggregated_value @aggregated_value end |
#feature_id ⇒ Object
Returns the value of attribute feature_id.
4 5 6 |
# File 'lib/chargebee/models/usage_summary.rb', line 4 def feature_id @feature_id end |
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
4 5 6 |
# File 'lib/chargebee/models/usage_summary.rb', line 4 def subscription_id @subscription_id end |
Class Method Details
.retrieve_usage_summary_for_subscription(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS
9 10 11 12 13 14 |
# File 'lib/chargebee/models/usage_summary.rb', line 9 def self.retrieve_usage_summary_for_subscription(id, params, env=nil, headers={}) jsonKeys = { } = {} Request.send('get', uri_path("subscriptions",id.to_s,"usage_summary"), params, env, headers,nil, false, jsonKeys, ) end |