Class OrderOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.orders.OrderOperations
- All Implemented Interfaces:
IEntityGetOperations<Order>,IEntityPatchOperations<Order>,IPartnerComponent<Tuple<String,String>>,IOrder
public class OrderOperations extends BasePartnerComponent<Tuple<String,String>> implements IOrder
Order operations implementation class.
-
Constructor Summary
Constructors Constructor Description OrderOperations(IPartner rootPartnerOperations, String customerId, String orderId)Initializes a new instance of the OrderOperations class. -
Method Summary
Modifier and Type Method Description Orderget()Gets the order information.Orderget(Boolean includePrice)Gets the order information.IOrderLineItemCollectiongetOrderLineItems()Gets line item collection operations.IOrderProvisioningStatusgetProvisioningStatus()Gets the order provisioning status operations.Orderpatch(Order order)Updates a customer order.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
-
OrderOperations
Initializes a new instance of the OrderOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.orderId- The order identifier.
-
-
Method Details
-
get
Gets the order information.- Specified by:
getin interfaceIEntityGetOperations<Order>- Returns:
- The customer order.
-
get
Gets the order information. -
getOrderLineItems
Gets line item collection operations.- Specified by:
getOrderLineItemsin interfaceIOrder- Returns:
- The line item collection operations.
-
getProvisioningStatus
Gets the order provisioning status operations.- Specified by:
getProvisioningStatusin interfaceIOrder- Returns:
- The order provisioning status operations.
-
patch
Updates a customer order.- Specified by:
patchin interfaceIEntityPatchOperations<Order>- Parameters:
order- The order to update.- Returns:
- The updated order.
-