public class Period extends BillingEntity
| Modifier and Type | Field and Description |
|---|---|
protected Date |
created |
protected String |
organizationID |
protected int |
period |
protected static ResourcePath |
resourcePath |
protected Date |
start |
protected String |
state |
protected Date |
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() |
Date |
getCreated() |
static Period |
getLatestPeriodsForSubscription(String subscriptionID_) |
String |
getOrganizationID() |
int |
getPeriod() |
static Period[] |
getPeriodsForSubscription(String subscriptionID_) |
protected ResourcePath |
getResourcePath() |
Date |
getStart() |
UsageState |
getState() |
String |
getStateAsString() |
Date |
getStop() |
String |
getSubscriptionID() |
UsageType |
getUsageType() |
String |
getUsageTypeAsString() |
protected static ResourcePath |
ResourcePath() |
protected String subscriptionID
protected String organizationID
protected Date start
protected Date stop
protected int period
protected String usageType
protected String state
protected Date created
protected static ResourcePath resourcePath
public Period(BillForwardClient client_)
protected Period()
public String getSubscriptionID()
public String getOrganizationID()
public Date getStart()
public Date getStop()
public int getPeriod()
public String getUsageTypeAsString()
public UsageType getUsageType()
public String getStateAsString()
public UsageState getState()
public Date 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 © 2015 BillForward. All rights reserved.