SubscriptionUsageRecordCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. usage. SubscriptionUsageRecordCollectionOperations
- com.
- com.
Implements
public class SubscriptionUsageRecordCollectionOperations extends BasePartnerComponent<Tuple<String,String>> implements ISubscriptionUsageRecordCollection
Implements the operations to get a customer's subscription usage records.
Constructor Summary
| Constructor | Description |
|---|---|
| SubscriptionUsageRecordCollectionOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId) |
Initializes a new instance of the Subscription |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
IUsage |
byMeter()
Gets the subscription usage records grouped by meter. |
|
IUsage |
byResource()
Gets the subscription usage records grouped by resource. |
Inherited Members
Constructor Details
SubscriptionUsageRecordCollectionOperations
public SubscriptionUsageRecordCollectionOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)
Initializes a new instance of the SubscriptionUsageRecordCollectionOperations class.
Parameters:
Method Details
byMeter
public IUsageRecordByMeterCollection byMeter()
Gets the subscription usage records grouped by meter.
Returns:
byResource
public IUsageRecordByResourceCollection byResource()
Gets the subscription usage records grouped by resource.
Returns: