Class CustomerUserLicenseUpdateOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.customerusers.CustomerUserLicenseUpdateOperations
- All Implemented Interfaces:
ICustomerUserLicenseUpdates,IEntityCreateOperations<LicenseUpdate,LicenseUpdate>,IPartnerComponent<Tuple<String,String>>
public class CustomerUserLicenseUpdateOperations extends BasePartnerComponent<Tuple<String,String>> implements ICustomerUserLicenseUpdates
-
Constructor Summary
Constructors Constructor Description CustomerUserLicenseUpdateOperations(IPartner rootPartnerOperations, String customerId, String userId)Initializes a new instance of the CustomerUserLicenseUpdateOperations class. -
Method Summary
Modifier and Type Method Description LicenseUpdatecreate(LicenseUpdate entity)Assign licenses to a user.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
-
CustomerUserLicenseUpdateOperations
public CustomerUserLicenseUpdateOperations(IPartner rootPartnerOperations, String customerId, String userId)Initializes a new instance of the CustomerUserLicenseUpdateOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.userId- The user identifier.
-
-
Method Details
-
create
Assign licenses to a user. This method serves three scenarios: 1. Add license to a customer user. 2. Remove license from a customer user. 3. Update existing license for a customer user.- Specified by:
createin interfaceICustomerUserLicenseUpdates- Specified by:
createin interfaceIEntityCreateOperations<LicenseUpdate,LicenseUpdate>- Parameters:
entity- License update object.- Returns:
- Returned license update object
-