Class CustomerServiceRequestOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.servicerequests.CustomerServiceRequestOperations
- All Implemented Interfaces:
IEntityGetOperations<ServiceRequest>,IEntityPatchOperations<ServiceRequest>,IPartnerComponent<Tuple<String,String>>,IServiceRequest
public class CustomerServiceRequestOperations extends BasePartnerComponent<Tuple<String,String>> implements IServiceRequest
Implements operations that can be performed on a single customer's service requests.
-
Constructor Summary
Constructors Constructor Description CustomerServiceRequestOperations(IPartner rootPartnerOperations, String customerId, String serviceRequestId)Initializes a new instance of the CustomerServiceRequestOperations class. -
Method Summary
Modifier and Type Method Description ServiceRequestget()Get Service Request By customer IDServiceRequestpatch(ServiceRequest updatePayload)Patches a Service RequestMethods 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
-
CustomerServiceRequestOperations
public CustomerServiceRequestOperations(IPartner rootPartnerOperations, String customerId, String serviceRequestId)Initializes a new instance of the CustomerServiceRequestOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.serviceRequestId- The service request identifier.
-
-
Method Details
-
get
Get Service Request By customer ID- Specified by:
getin interfaceIEntityGetOperations<ServiceRequest>- Specified by:
getin interfaceIServiceRequest- Returns:
- Service Request
-
patch
Patches a Service Request- Specified by:
patchin interfaceIEntityPatchOperations<ServiceRequest>- Specified by:
patchin interfaceIServiceRequest- Parameters:
updatePayload- Payload of the update request- Returns:
- Updated Service Request
-