ISubscriptionCollection Interface
Implements
public interface ISubscriptionCollection extends IPartnerComponentString, IEntireEntityCollectionRetrievalOperations<Subscription,ResourceCollection<Subscription>>
Represents the behavior of the customer subscriptions as a whole.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract ISubscription |
byId(String subscriptionId)
Retrieves a specific customer subscription behavior. |
|
abstract
IEntire |
byOrder(String orderId)
Groups customer subscriptions by an order. |
|
abstract
IEntire |
byPartner(String partnerId)
Groups customer subscriptions by a partner. |
|
abstract
Resource |
get()
Retrieves all subscriptions. |
|
abstract
ISubscription |
getUsageRecords()
Obtains the subscription usage records behavior for the customer. |
Method Details
byId
public abstract ISubscription byId(String subscriptionId)
Retrieves a specific customer subscription behavior.
Parameters:
Returns:
byOrder
public abstract IEntireEntityCollectionRetrievalOperations
Groups customer subscriptions by an order.
Parameters:
Returns:
byPartner
public abstract IEntireEntityCollectionRetrievalOperations
Groups customer subscriptions by a partner.
Parameters:
Returns:
get
public abstract ResourceCollection
Retrieves all subscriptions.
Returns:
getUsageRecords
public abstract ISubscriptionMonthlyUsageRecordCollection getUsageRecords()
Obtains the subscription usage records behavior for the customer.
Returns: