Class ProductUpgradeCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.productupgrades.ProductUpgradeCollectionOperations
- All Implemented Interfaces:
IEntityCreateOperations<ProductUpgradeRequest,String>,IEntitySelector<String,IProductUpgrade>,IPartnerComponent<String>,IProductUpgradeCollection
public class ProductUpgradeCollectionOperations extends BasePartnerComponentString implements IProductUpgradeCollection
Implements the operations for product upgrades
-
Constructor Summary
Constructors Constructor Description ProductUpgradeCollectionOperations(IPartner rootPartnerOperations)Initializes a new instance of the ProductUpgradeCollectionOperations class. -
Method Summary
Modifier and Type Method Description IProductUpgradebyId(String id)Gets the product upgrade by identifier operations for a specific customer.ProductUpgradeEligibilitycheckEligibility(ProductUpgradeRequest productUpgradeRequest)Checks the product upgrade eligibility.Stringcreate(ProductUpgradeRequest newEntity)Create the product upgrade request.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
-
ProductUpgradeCollectionOperations
Initializes a new instance of the ProductUpgradeCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.
-
-
Method Details
-
byId
Gets the product upgrade by identifier operations for a specific customer.- Specified by:
byIdin interfaceIEntitySelector<String,IProductUpgrade>- Parameters:
id- The identifier for the upgrade.- Returns:
- The available product upgrade operations.
-
checkEligibility
Checks the product upgrade eligibility.- Specified by:
checkEligibilityin interfaceIProductUpgradeCollection- Parameters:
productUpgradeRequest- The product upgrade request.- Returns:
- The product upgrade eligibility for the customer.
-
create
Create the product upgrade request.- Specified by:
createin interfaceIEntityCreateOperations<ProductUpgradeRequest,String>- Parameters:
newEntity- The product upgrade request.- Returns:
- The identifier for the product upgrade.
-