Class: ChargeBee::UsageSummary

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/usage_summary.rb

Instance Attribute Summary collapse

Class Method Summary collapse

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_fromObject

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_toObject

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_valueObject

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_idObject

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_idObject

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 = { 
  }
  options = {}
  Request.send('get', uri_path("subscriptions",id.to_s,"usage_summary"), params, env, headers,nil, false, jsonKeys, options)
end