SubscriptionDailyUsageRecord Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. usage. UsageRecordBase - com.
microsoft. store. partnercenter. models. usage. SubscriptionDailyUsageRecord
- com.
- com.
- com.
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:
setResourceId
public void setResourceId(String value)
Parameters:
setResourceName
public void setResourceName(String value)
Sets the name of the resource.
Overrides:
SubscriptionDailyUsageRecord.setResourceName(String value)Parameters:
setTotalCost
public void setTotalCost(double value)
Sets the estimated total cost of usage.
Overrides:
SubscriptionDailyUsageRecord.setTotalCost(double value)Parameters: