Class: ChargeBee::PortalSession
- Defined in:
 - lib/chargebee/models/portal_session.rb
 
Defined Under Namespace
Classes: LinkedCustomer
Instance Attribute Summary collapse
- 
  
    
      #access_url  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute access_url.
 - 
  
    
      #created_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute created_at.
 - 
  
    
      #customer_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute customer_id.
 - 
  
    
      #expires_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute expires_at.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #linked_customers  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute linked_customers.
 - 
  
    
      #login_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute login_at.
 - 
  
    
      #login_ipaddress  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute login_ipaddress.
 - 
  
    
      #logout_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute logout_at.
 - 
  
    
      #logout_ipaddress  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute logout_ipaddress.
 - 
  
    
      #redirect_url  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute redirect_url.
 - 
  
    
      #status  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute status.
 - 
  
    
      #token  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute token.
 
Class Method Summary collapse
- .activate(id, params, env = nil, headers = {}) ⇒ Object
 - 
  
    
      .create(params, env = nil, headers = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
OPERATIONS ———–.
 - .logout(id, env = nil, headers = {}) ⇒ Object
 - .retrieve(id, 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
#access_url ⇒ Object
Returns the value of attribute access_url.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def access_url @access_url end  | 
  
#created_at ⇒ Object
Returns the value of attribute created_at.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def created_at @created_at end  | 
  
#customer_id ⇒ Object
Returns the value of attribute customer_id.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def customer_id @customer_id end  | 
  
#expires_at ⇒ Object
Returns the value of attribute expires_at.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def expires_at @expires_at end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def id @id end  | 
  
#linked_customers ⇒ Object
Returns the value of attribute linked_customers.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def linked_customers @linked_customers end  | 
  
#login_at ⇒ Object
Returns the value of attribute login_at.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def login_at @login_at end  | 
  
#login_ipaddress ⇒ Object
Returns the value of attribute login_ipaddress.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def login_ipaddress @login_ipaddress end  | 
  
#logout_at ⇒ Object
Returns the value of attribute logout_at.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def logout_at @logout_at end  | 
  
#logout_ipaddress ⇒ Object
Returns the value of attribute logout_ipaddress.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def logout_ipaddress @logout_ipaddress end  | 
  
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def redirect_url @redirect_url end  | 
  
#status ⇒ Object
Returns the value of attribute status.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def status @status end  | 
  
#token ⇒ Object
Returns the value of attribute token.
      8 9 10  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 8 def token @token end  | 
  
Class Method Details
.activate(id, params, env = nil, headers = {}) ⇒ Object
      26 27 28  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 26 def self.activate(id, params, env=nil, headers={}) Request.send('post', uri_path("portal_sessions",id.to_s,"activate"), params, env, headers) end  | 
  
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
      14 15 16  | 
    
      # File 'lib/chargebee/models/portal_session.rb', line 14 def self.create(params, env=nil, headers={}) Request.send('post', uri_path("portal_sessions"), params, env, headers) end  |