com.chargebee.models
Class TimeMachine
java.lang.Object
com.chargebee.internal.Resource<TimeMachine>
com.chargebee.models.TimeMachine
public class TimeMachine
- extends Resource<TimeMachine>
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 |
TimeMachine
public TimeMachine(String jsonStr)
TimeMachine
public TimeMachine(org.json.JSONObject jsonObj)
name
public String name()
timeTravelStatus
public TimeMachine.TimeTravelStatus timeTravelStatus()
genesisTime
public Timestamp genesisTime()
destinationTime
public Timestamp destinationTime()
failureCode
public String failureCode()
failureReason
public String failureReason()
errorJson
public String errorJson()
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
startAfresh
public static TimeMachine.StartAfreshRequest startAfresh(String id)
throws IOException
- Throws:
IOException
travelForward
public static TimeMachine.TravelForwardRequest travelForward(String id)
throws IOException
- Throws:
IOException
waitForTimeTravelCompletion
public TimeMachine waitForTimeTravelCompletion()
throws Exception
- Throws:
Exception
waitForTimeTravelCompletion
public TimeMachine waitForTimeTravelCompletion(Environment env)
throws Exception
- Throws:
Exception
Copyright © 2018 ChargeBee. All Rights Reserved.