com.chargebee.models
Class HostedPage

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

public class HostedPage
extends Resource<HostedPage>


Nested Class Summary
static class HostedPage.CheckoutExistingRequest
           
static class HostedPage.CheckoutNewRequest
           
static class HostedPage.Content
           
static class HostedPage.FailureReason
           
static class HostedPage.State
           
static class HostedPage.Type
           
static class HostedPage.UpdateCardRequest
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
HostedPage(org.json.JSONObject jsonObj)
           
HostedPage(String jsonStr)
           
 
Method Summary
static HostedPage.CheckoutExistingRequest checkoutExisting()
           
static HostedPage.CheckoutNewRequest checkoutNew()
           
 HostedPage.Content content()
           
 Timestamp createdAt()
           
 Timestamp expiresAt()
           
 HostedPage.FailureReason failureReason()
           
 String id()
           
 String passThruContent()
           
static Request retrieve(String id)
           
 HostedPage.State state()
           
 HostedPage.Type type()
           
static HostedPage.UpdateCardRequest updateCard()
           
 String url()
           
 
Methods inherited from class com.chargebee.internal.Resource
nullCheck, optEnum, optInteger, optJSONObject, optList, optLong, optString, optTimestamp, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqTimestamp, toJson, toString, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostedPage

public HostedPage(String jsonStr)

HostedPage

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

id

public String id()

type

public HostedPage.Type type()

url

public String url()

state

public HostedPage.State state()

failureReason

public HostedPage.FailureReason failureReason()

passThruContent

public String passThruContent()

createdAt

public Timestamp createdAt()

expiresAt

public Timestamp expiresAt()

checkoutNew

public static HostedPage.CheckoutNewRequest checkoutNew()
                                                 throws IOException
Throws:
IOException

checkoutExisting

public static HostedPage.CheckoutExistingRequest checkoutExisting()
                                                           throws IOException
Throws:
IOException

updateCard

public static HostedPage.UpdateCardRequest updateCard()
                                               throws IOException
Throws:
IOException

retrieve

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

content

public HostedPage.Content content()


Copyright © 2012 ChargeBee. All Rights Reserved.