public class UsagePeriod extends BillingEntity
| Modifier and Type | Field and Description |
|---|---|
protected String |
durationResolution |
protected String |
id |
protected String |
invoiceID |
protected String |
organizationID |
protected int |
period |
protected static ResourcePath |
resourcePath |
protected String |
sessiondID |
protected Date |
start |
protected Date |
state |
protected String |
stop |
protected String |
subscriptionID |
protected String |
uom |
protected String |
usageDuration |
protected String |
usageType |
protected long |
usageValue |
m_client, PRETTY_PRINT_GSON| Modifier | Constructor and Description |
|---|---|
protected |
UsagePeriod() |
|
UsagePeriod(BillForwardClient client_) |
| Modifier and Type | Method and Description |
|---|---|
DurationResolution |
getDurationResolution() |
String |
getDurationResolutionAsString() |
String |
getID() |
String |
getInvoiceID() |
String |
getOrganizationID() |
int |
getPeriod() |
protected ResourcePath |
getResourcePath() |
String |
getSessiondID() |
Date |
getStart() |
Date |
getState() |
String |
getStop() |
String |
getSubscriptionID() |
String |
getUom() |
String |
getUsageDuration() |
static UsagePeriod[] |
getUsagePeriodsForInvoice(String subscriptionID_,
String invoiceID_) |
static UsagePeriod[] |
getUsagePeriodsForSubscription(String subscriptionID_) |
static UsagePeriod[] |
getUsagePeriodsForSubscriptionPeriod(String subscriptionID_,
int period_) |
UsageType |
getUsageType() |
String |
getUsageTypeAsString() |
long |
getUsageValue() |
protected static ResourcePath |
ResourcePath() |
getAll, getByID, getByID, getByIDPostPath, getClient, setClient, toStringprotected String id
protected String organizationID
protected String sessiondID
protected String subscriptionID
protected String uom
protected String invoiceID
protected Date state
protected int period
protected Date start
protected String stop
protected String durationResolution
protected String usageDuration
protected long usageValue
protected String usageType
protected static ResourcePath resourcePath
public UsagePeriod(BillForwardClient client_)
protected UsagePeriod()
public String getID()
public String getOrganizationID()
public String getSessiondID()
public String getSubscriptionID()
public String getUom()
public String getInvoiceID()
public Date getState()
public int getPeriod()
public Date getStart()
public String getStop()
public String getDurationResolutionAsString()
public DurationResolution getDurationResolution()
public String getUsageDuration()
public long getUsageValue()
public String getUsageTypeAsString()
public UsageType getUsageType()
public static UsagePeriod[] getUsagePeriodsForSubscription(String subscriptionID_) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static UsagePeriod[] getUsagePeriodsForInvoice(String subscriptionID_, String invoiceID_) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static UsagePeriod[] getUsagePeriodsForSubscriptionPeriod(String subscriptionID_, int period_) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2014 BillForward. All rights reserved.