OrderCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. BasePartnerComponentString - com.
microsoft. store. partnercenter. orders. OrderCollectionOperations
- com.
- com.
- com.
Implements
public class OrderCollectionOperations extends BasePartnerComponentString implements IOrderCollection
Order collection operations implementation class.
Constructor Summary
| Constructor | Description |
|---|---|
| OrderCollectionOperations(IPartner rootPartnerOperations, String customerId) |
Initializes a new instance of the Order |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
IOrder |
byBillingCycleType(BillingCycleType billingCycleType)
Gets the order collection behavior given a billing cycle type. |
| IOrder |
byId(String orderId)
Get the order operations for the specified order. |
| Order |
create(Order newOrder)
Places a new order for the customer. |
|
Resource |
get()
Retrieves all the orders the customer made. |
|
Resource |
get(Boolean includePrice)
Gets a collection of orders. |
Inherited Members
Constructor Details
OrderCollectionOperations
public OrderCollectionOperations(IPartner rootPartnerOperations, String customerId)
Initializes a new instance of the OrderCollectionOperations class.
Parameters:
Method Details
byBillingCycleType
public IOrderCollectionByBillingCycleType byBillingCycleType(BillingCycleType billingCycleType)
Gets the order collection behavior given a billing cycle type.
Parameters:
Returns:
byId
public IOrder byId(String orderId)
Get the order operations for the specified order.
Parameters:
Returns:
create
public Order create(Order newOrder)
Places a new order for the customer.
Parameters:
Returns:
get
public ResourceCollection
Retrieves all the orders the customer made.
Returns:
get
public ResourceCollection
Gets a collection of orders.
Parameters:
Returns: