public class Period extends BillingEntity
| Modifier and Type | Field and Description |
|---|---|
protected String |
created |
protected String |
organizationID |
protected int |
period |
protected static ResourcePath |
resourcePath |
protected String |
start |
protected String |
state |
protected String |
stop |
protected String |
subscriptionID |
protected String |
usageType |
m_client, PRETTY_PRINT_GSON| Modifier | Constructor and Description |
|---|---|
protected |
Period() |
|
Period(BillForwardClient client_) |
| Modifier and Type | Method and Description |
|---|---|
static Period[] |
getAllPeriods() |
String |
getCreated() |
static Period |
getLatestPeriodsForSubscription(String subscriptionID_) |
String |
getOrganizationID() |
int |
getPeriod() |
static Period[] |
getPeriodsForSubscription(String subscriptionID_) |
protected ResourcePath |
getResourcePath() |
String |
getStart() |
UsageState |
getState() |
String |
getStateAsString() |
String |
getStop() |
String |
getSubscriptionID() |
UsageType |
getUsageType() |
String |
getUsageTypeAsString() |
protected static ResourcePath |
ResourcePath() |
getAll, getByID, getByID, getByIDPostPath, getClient, setClient, toStringprotected String subscriptionID
protected String organizationID
protected String start
protected String stop
protected int period
protected String usageType
protected String state
protected String created
protected static ResourcePath resourcePath
public Period(BillForwardClient client_)
protected Period()
public String getSubscriptionID()
public String getOrganizationID()
public String getStart()
public String getStop()
public int getPeriod()
public String getUsageTypeAsString()
public UsageType getUsageType()
public String getStateAsString()
public UsageState getState()
public String getCreated()
public static Period[] getPeriodsForSubscription(String subscriptionID_) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Period getLatestPeriodsForSubscription(String subscriptionID_) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Period[] getAllPeriods() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2014 BillForward. All rights reserved.