Class SubscriptionMonthlyUsageRecord
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.usage.UsageRecordBase
com.microsoft.store.partnercenter.models.usage.SubscriptionMonthlyUsageRecord
public class SubscriptionMonthlyUsageRecord extends UsageRecordBase
Defines the monthly usage record of a subscription.
-
Constructor Summary
Constructors Constructor Description SubscriptionMonthlyUsageRecord() -
Method Summary
Modifier and Type Method Description StringgetOfferId()Gets the offer identifier associated to this subscription.StringgetPartnerOnRecord()Gets the partner on record.SubscriptionStatusgetStatus()Gets the status of the subscription.voidsetOfferId(String value)Sets the offer identifier associated to this subscription.voidsetPartnerOnRecord(String value)Sets the partner on record.voidsetStatus(SubscriptionStatus value)Sets the status of the subscription.Methods inherited from class com.microsoft.store.partnercenter.models.usage.UsageRecordBase
getCurrencyLocale, getLastModifiedDate, getResourceId, getResourceName, getTotalCost, setCurrencyLocale, setId, setLastModifiedDate, setResourceName, setTotalCost
-
Constructor Details
-
SubscriptionMonthlyUsageRecord
public SubscriptionMonthlyUsageRecord()
-
-
Method Details
-
getOfferId
Gets the offer identifier associated to this subscription.- Returns:
- The offer identifier associated to this subscription.
-
setOfferId
Sets the offer identifier associated to this subscription.- Parameters:
value- The offer identifier associated to this subscription.
-
getPartnerOnRecord
Gets the partner on record.- Returns:
- The partner on record.
-
setPartnerOnRecord
Sets the partner on record.- Parameters:
value- The partner on record.
-
getStatus
Gets the status of the subscription.- Returns:
- The status of the subscription.
-
setStatus
Sets the status of the subscription.- Parameters:
value- The status of the subscription.
-