com.chargebee.models
Class PortalSession

java.lang.Object
  extended by com.chargebee.internal.Resource<PortalSession>
      extended by com.chargebee.models.PortalSession

public class PortalSession
extends Resource<PortalSession>


Nested Class Summary
static class PortalSession.CreateRequest
           
static class PortalSession.Status
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
PortalSession(org.json.JSONObject jsonObj)
           
PortalSession(String jsonStr)
           
 
Method Summary
 String accessUrl()
           
static PortalSession.CreateRequest create()
           
 Timestamp createdAt()
           
 String customerId()
           
 Timestamp expiresAt()
           
 String id()
           
 Timestamp loginAt()
           
 String loginIpaddress()
           
static Request logout(String id)
           
 Timestamp logoutAt()
           
 String logoutIpaddress()
           
 String redirectUrl()
           
static Request retrieve(String id)
           
 PortalSession.Status status()
           
 
Methods inherited from class com.chargebee.internal.Resource
nullCheck, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortalSession

public PortalSession(String jsonStr)

PortalSession

public PortalSession(org.json.JSONObject jsonObj)
Method Detail

id

public String id()

accessUrl

public String accessUrl()

redirectUrl

public String redirectUrl()

status

public PortalSession.Status status()

createdAt

public Timestamp createdAt()

expiresAt

public Timestamp expiresAt()

customerId

public String customerId()

loginAt

public Timestamp loginAt()

logoutAt

public Timestamp logoutAt()

loginIpaddress

public String loginIpaddress()

logoutIpaddress

public String logoutIpaddress()

create

public static PortalSession.CreateRequest create()
                                          throws IOException
Throws:
IOException

retrieve

public static Request retrieve(String id)
                        throws IOException
Throws:
IOException

logout

public static Request logout(String id)
                      throws IOException
Throws:
IOException


Copyright © 2014 ChargeBee. All Rights Reserved.