SubscriptionDailyUsageRecord Class

public class SubscriptionDailyUsageRecord extends UsageRecordBase

This class defines the daily usage record of a specific subscription.

Constructor Summary

Constructor Description
SubscriptionDailyUsageRecord()

Method Summary

Modifier and Type Method and Description
org.joda.time.DateTime getDateUsed()
java.lang.String getResourceId()

Gets the resource unique identifier.

java.lang.String getResourceName()

Gets the name of the resource.

double getTotalCost()

Gets the estimated total cost of usage.

void setDateUsed(DateTime value)
void setResourceId(String value)
void setResourceName(String value)

Sets the name of the resource.

void setTotalCost(double value)

Sets the estimated total cost of usage.

Inherited Members

Constructor Details

SubscriptionDailyUsageRecord

public SubscriptionDailyUsageRecord()

Method Details

getDateUsed

public DateTime getDateUsed()

getResourceId

public String getResourceId()

Gets the resource unique identifier.

Overrides:

SubscriptionDailyUsageRecord.getResourceId()

getResourceName

public String getResourceName()

Gets the name of the resource.

Overrides:

SubscriptionDailyUsageRecord.getResourceName()

getTotalCost

public double getTotalCost()

Gets the estimated total cost of usage.

Overrides:

SubscriptionDailyUsageRecord.getTotalCost()

setDateUsed

public void setDateUsed(DateTime value)

Parameters:

value

setResourceId

public void setResourceId(String value)

Parameters:

value

setResourceName

public void setResourceName(String value)

Sets the name of the resource.

Overrides:

SubscriptionDailyUsageRecord.setResourceName(String value)

Parameters:

value

setTotalCost

public void setTotalCost(double value)

Sets the estimated total cost of usage.

Overrides:

SubscriptionDailyUsageRecord.setTotalCost(double value)

Parameters:

value

Applies to