UsageRecordBase Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. usage. UsageRecordBase
- com.
- com.
public class UsageRecordBase extends ResourceBase
Defines the common properties for all usage records.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| UsageRecordBase() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getCurrencyCode()
Gets the code of the currency. |
| java.util.Locale |
getCurrencyLocale()
Gets the locale of the currency. |
| org.joda.time.DateTime |
getLastModifiedDate()
Gets the date the usage record was last modified. |
| 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. |
| double |
getUsdTotalCost()
Gets the estimated total cost of usage in USD. |
| void |
setCurrencyCode(String value)
Sets the code of the currency. |
| void |
setCurrencyLocale(Locale value)
Sets the locale of the currency. |
| void |
setId(String value)
Sets the resource unique identifier. |
| void |
setLastModifiedDate(DateTime value)
Sets the date the usage record was last modified. |
| void |
setResourceName(String value)
Sets the name of the resource. |
| void |
setTotalCost(double value)
Sets the estimated total cost of usage. |
| void |
setUsdTotalCost(double value)
Sets the estimated total cost of usage in USD. |
Inherited Members
Constructor Details
UsageRecordBase
public UsageRecordBase()
Method Details
getCurrencyCode
public String getCurrencyCode()
Gets the code of the currency.
Returns:
getCurrencyLocale
public Locale getCurrencyLocale()
Gets the locale of the currency.
Returns:
getLastModifiedDate
public DateTime getLastModifiedDate()
Gets the date the usage record was last modified.
Returns:
getResourceId
public String getResourceId()
Gets the resource unique identifier.
Returns:
getResourceName
public String getResourceName()
Gets the name of the resource.
Returns:
getTotalCost
public double getTotalCost()
Gets the estimated total cost of usage.
Returns:
getUsdTotalCost
public double getUsdTotalCost()
Gets the estimated total cost of usage in USD.
Returns:
setCurrencyCode
public void setCurrencyCode(String value)
Sets the code of the currency.
Parameters:
setCurrencyLocale
public void setCurrencyLocale(Locale value)
Sets the locale of the currency.
Parameters:
setId
public void setId(String value)
Sets the resource unique identifier.
Parameters:
setLastModifiedDate
public void setLastModifiedDate(DateTime value)
Sets the date the usage record was last modified.
Parameters:
setResourceName
public void setResourceName(String value)
Sets the name of the resource.
Parameters:
setTotalCost
public void setTotalCost(double value)
Sets the estimated total cost of usage.
Parameters:
setUsdTotalCost
public void setUsdTotalCost(double value)
Sets the estimated total cost of usage in USD.
Parameters: