Class OrderSubscriptionCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.subscriptions.OrderSubscriptionCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<Subscription,ResourceCollection<Subscription>>,IPartnerComponent<Tuple<String,String>>
public class OrderSubscriptionCollectionOperations extends BasePartnerComponent<Tuple<String,String>> implements IEntireEntityCollectionRetrievalOperations<Subscription,ResourceCollection<Subscription>>
Implements getting customer subscriptions for a given order.
-
Constructor Summary
Constructors Constructor Description OrderSubscriptionCollectionOperations(IPartner rootPartnerOperations, String customerId, String orderId)Initializes a new instance of the OrderSubscriptionCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<Subscription>get()Gets the subscriptions for the given order.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartner
-
Constructor Details
-
OrderSubscriptionCollectionOperations
public OrderSubscriptionCollectionOperations(IPartner rootPartnerOperations, String customerId, String orderId)Initializes a new instance of the OrderSubscriptionCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.orderId- The order identifier.
-
-
Method Details
-
get
Gets the subscriptions for the given order.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Subscription,ResourceCollection<Subscription>>- Returns:
- The order subscriptions.
-