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
           
static class HostedPage.UpdatePaymentMethodRequest
           
 
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()
           
 Boolean embed()
           
 Timestamp expiresAt()
           
 HostedPage.FailureReason failureReason()
           
 String id()
           
 String passThruContent()
           
static Request retrieve(String id)
           
 HostedPage.State state()
           
 HostedPage.Type type()
           
static HostedPage.UpdateCardRequest updateCard()
          Deprecated. 
static HostedPage.UpdatePaymentMethodRequest updatePaymentMethod()
           
 String url()
           
 
Methods inherited from class com.chargebee.internal.Resource
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, 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

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()

embed

public Boolean embed()

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

@Deprecated
public static HostedPage.UpdateCardRequest updateCard()
                                               throws IOException
Deprecated. 

Throws:
IOException

updatePaymentMethod

public static HostedPage.UpdatePaymentMethodRequest updatePaymentMethod()
                                                                 throws IOException
Throws:
IOException

retrieve

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

content

public HostedPage.Content content()


Copyright © 2016 ChargeBee. All Rights Reserved.