Class OrderCollectionByBillingCycleTypeOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,BillingCycleType>>
com.microsoft.store.partnercenter.orders.OrderCollectionByBillingCycleTypeOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<Order,ResourceCollection<Order>>,IPartnerComponent<Tuple<String,BillingCycleType>>,IOrderCollectionByBillingCycleType
public class OrderCollectionByBillingCycleTypeOperations extends BasePartnerComponent<Tuple<String,BillingCycleType>> implements IOrderCollectionByBillingCycleType
Order collection by billing cycle type operations implementation class.
-
Constructor Summary
Constructors Constructor Description OrderCollectionByBillingCycleTypeOperations(IPartner rootPartnerOperations, String customerId, BillingCycleType billingCycleType)Initializes a new instance of the OrderCollectionByBillingCycleTypeOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<Order>get()Retrieves all the orders the customer made.ResourceCollection<Order>get(boolean includePrice)Gets all customer orders.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
OrderCollectionByBillingCycleTypeOperations
public OrderCollectionByBillingCycleTypeOperations(IPartner rootPartnerOperations, String customerId, BillingCycleType billingCycleType)Initializes a new instance of the OrderCollectionByBillingCycleTypeOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.billingCycleType- The billing type.
-
-
Method Details
-
get
Retrieves all the orders the customer made.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Order,ResourceCollection<Order>>- Specified by:
getin interfaceIOrderCollectionByBillingCycleType- Returns:
- All the customer orders.
-
get
Gets all customer orders.- Specified by:
getin interfaceIOrderCollectionByBillingCycleType- Parameters:
includePrice- A flag indicating whether to include pricing details in the order information or not.- Returns:
- The customer orders.
-