Class SubscriptionDailyUsageRecord
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.usage.UsageRecordBase
com.microsoft.store.partnercenter.models.usage.SubscriptionDailyUsageRecord
public class SubscriptionDailyUsageRecord extends UsageRecordBase
This class defines the daily usage record of a specific subscription.
-
Constructor Summary
Constructors Constructor Description SubscriptionDailyUsageRecord() -
Method Summary
Modifier and Type Method Description org.joda.time.DateTimegetDateUsed()StringgetResourceId()Gets the resource unique identifier.StringgetResourceName()Gets the name of the resource.doublegetTotalCost()Gets the estimated total cost of usage.voidsetDateUsed(org.joda.time.DateTime value)voidsetResourceId(String value)voidsetResourceName(String value)Sets the name of the resource.voidsetTotalCost(double value)Sets the estimated total cost of usage.Methods inherited from class com.microsoft.store.partnercenter.models.usage.UsageRecordBase
getCurrencyLocale, getLastModifiedDate, setCurrencyLocale, setId, setLastModifiedDate
-
Constructor Details
-
SubscriptionDailyUsageRecord
public SubscriptionDailyUsageRecord()
-
-
Method Details
-
getResourceId
Description copied from class:UsageRecordBaseGets the resource unique identifier.- Overrides:
getResourceIdin classUsageRecordBase- Returns:
- The resource unique identifier.
-
setResourceId
-
getResourceName
Description copied from class:UsageRecordBaseGets the name of the resource.- Overrides:
getResourceNamein classUsageRecordBase- Returns:
- The name of the resource.
-
setResourceName
Description copied from class:UsageRecordBaseSets the name of the resource.- Overrides:
setResourceNamein classUsageRecordBase- Parameters:
value- The name of the resource.
-
getTotalCost
public double getTotalCost()Description copied from class:UsageRecordBaseGets the estimated total cost of usage.- Overrides:
getTotalCostin classUsageRecordBase- Returns:
- The estimated total cost of usage.
-
setTotalCost
public void setTotalCost(double value)Description copied from class:UsageRecordBaseSets the estimated total cost of usage.- Overrides:
setTotalCostin classUsageRecordBase- Parameters:
value- The estimated total cost of usage.
-
getDateUsed
public org.joda.time.DateTime getDateUsed() -
setDateUsed
public void setDateUsed(org.joda.time.DateTime value)
-