Class: ChargeBee::AttachedItem
- Defined in:
 - lib/chargebee/models/attached_item.rb
 
Instance Attribute Summary collapse
- 
  
    
      #billing_cycles  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_cycles.
 - 
  
    
      #channel  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute channel.
 - 
  
    
      #charge_on_event  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute charge_on_event.
 - 
  
    
      #charge_once  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute charge_once.
 - 
  
    
      #created_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute created_at.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #item_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute item_id.
 - 
  
    
      #parent_item_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute parent_item_id.
 - 
  
    
      #quantity  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute quantity.
 - 
  
    
      #quantity_in_decimal  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute quantity_in_decimal.
 - 
  
    
      #resource_version  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute resource_version.
 - 
  
    
      #status  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute status.
 - 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute type.
 - 
  
    
      #updated_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute updated_at.
 
Class Method Summary collapse
- 
  
    
      .create(id, params, env = nil, headers = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
OPERATIONS ———–.
 - .delete(id, params, env = nil, headers = {}) ⇒ Object
 - .list(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .retrieve(id, params, env = nil, headers = {}) ⇒ Object
 - .update(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
#billing_cycles ⇒ Object
Returns the value of attribute billing_cycles.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def billing_cycles @billing_cycles end  | 
  
#channel ⇒ Object
Returns the value of attribute channel.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def channel @channel end  | 
  
#charge_on_event ⇒ Object
Returns the value of attribute charge_on_event.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def charge_on_event @charge_on_event end  | 
  
#charge_once ⇒ Object
Returns the value of attribute charge_once.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def charge_once @charge_once end  | 
  
#created_at ⇒ Object
Returns the value of attribute created_at.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def created_at @created_at end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def id @id end  | 
  
#item_id ⇒ Object
Returns the value of attribute item_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def item_id @item_id end  | 
  
#parent_item_id ⇒ Object
Returns the value of attribute parent_item_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def parent_item_id @parent_item_id end  | 
  
#quantity ⇒ Object
Returns the value of attribute quantity.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def quantity @quantity end  | 
  
#quantity_in_decimal ⇒ Object
Returns the value of attribute quantity_in_decimal.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def quantity_in_decimal @quantity_in_decimal end  | 
  
#resource_version ⇒ Object
Returns the value of attribute resource_version.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def resource_version @resource_version end  | 
  
#status ⇒ Object
Returns the value of attribute status.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def status @status end  | 
  
#type ⇒ Object
Returns the value of attribute type.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def type @type end  | 
  
#updated_at ⇒ Object
Returns the value of attribute updated_at.
      4 5 6  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 4 def updated_at @updated_at end  | 
  
Class Method Details
.create(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS
      11 12 13  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 11 def self.create(id, params, env=nil, headers={}) Request.send('post', uri_path("items",id.to_s,"attached_items"), params, env, headers) end  | 
  
.delete(id, params, env = nil, headers = {}) ⇒ Object
      23 24 25  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 23 def self.delete(id, params, env=nil, headers={}) Request.send('post', uri_path("attached_items",id.to_s,"delete"), params, env, headers) end  | 
  
.list(id, params = {}, env = nil, headers = {}) ⇒ Object
      27 28 29  | 
    
      # File 'lib/chargebee/models/attached_item.rb', line 27 def self.list(id, params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("items",id.to_s,"attached_items"), params, env, headers) end  |