Class: ChargeBee::QuoteEntitlement

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/quote_entitlement.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

#action_typeObject

Returns the value of attribute action_type.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def action_type
  @action_type
end

#created_atObject

Returns the value of attribute created_at.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def created_at
  @created_at
end

#end_dateObject

Returns the value of attribute end_date.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def end_date
  @end_date
end

#entity_idObject

Returns the value of attribute entity_id.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def entity_id
  @entity_id
end

#entity_typeObject

Returns the value of attribute entity_type.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def entity_type
  @entity_type
end

#feature_idObject

Returns the value of attribute feature_id.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def feature_id
  @feature_id
end

#feature_nameObject

Returns the value of attribute feature_name.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def feature_name
  @feature_name
end

#feature_typeObject

Returns the value of attribute feature_type.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def feature_type
  @feature_type
end

#feature_unitObject

Returns the value of attribute feature_unit.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def feature_unit
  @feature_unit
end

#is_enabledObject

Returns the value of attribute is_enabled.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def is_enabled
  @is_enabled
end

#is_overriddenObject

Returns the value of attribute is_overridden.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def is_overridden
  @is_overridden
end

#meteredObject

Returns the value of attribute metered.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def metered
  @metered
end

#modified_atObject

Returns the value of attribute modified_at.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def modified_at
  @modified_at
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def name
  @name
end

#start_dateObject

Returns the value of attribute start_date.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def start_date
  @start_date
end

#valueObject

Returns the value of attribute value.



4
5
6
# File 'lib/chargebee/models/quote_entitlement.rb', line 4

def value
  @value
end

Class Method Details

.list_quote_entitlements(id, params = {}, env = nil, headers = {}) ⇒ Object

OPERATIONS



11
12
13
14
15
16
# File 'lib/chargebee/models/quote_entitlement.rb', line 11

def self.list_quote_entitlements(id, params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("quotes",id.to_s,"quote_entitlements"), params, env, headers,nil, false, jsonKeys, options, "quoteEntitlement", "listQuoteEntitlements")
end