Class ProductUpgradeEligibility
java.lang.Object
com.microsoft.store.partnercenter.models.productupgrades.ProductUpgradeEligibility
public class ProductUpgradeEligibility extends Object
Represents a product upgrade eligibility.
-
Constructor Summary
Constructors Constructor Description ProductUpgradeEligibility() -
Method Summary
Modifier and Type Method Description StringgetCustomerId()Gets the identifier for the customer.booleangetIsEligible()Gets a flag indicating whether the upgrade is eligible.StringgetProductFamily()Gets the family for the product.StringgetReason()Gets the reason if the customer is not eligible for upgrade.StringgetUpgradeId()Gets the identifier for the upgrade.voidsetCustomerId(String value)Sets the identifier for the customer.voidsetIsEligible(boolean value)Sets a flag indicating whether the upgrade is eligible.voidsetProductFamily(String value)Sets the family for the product.voidsetReason(String value)Sets the reason if the customer is not eligible for upgrade.voidsetUpgradeId(String value)Sets the identifier for the upgrade.
-
Constructor Details
-
ProductUpgradeEligibility
public ProductUpgradeEligibility()
-
-
Method Details
-
getCustomerId
Gets the identifier for the customer.- Returns:
- The identifier for the customer.
-
setCustomerId
Sets the identifier for the customer.- Parameters:
value- The identifier for the customer.
-
getIsEligible
public boolean getIsEligible()Gets a flag indicating whether the upgrade is eligible.- Returns:
- A flag indicating whether the upgrade is eligible.
-
setIsEligible
public void setIsEligible(boolean value)Sets a flag indicating whether the upgrade is eligible.- Parameters:
value- A flag indicating whether the upgrade is eligible.
-
getProductFamily
Gets the family for the product.- Returns:
- The family for the product.
-
setProductFamily
Sets the family for the product.- Parameters:
value- The family for the product.
-
getReason
Gets the reason if the customer is not eligible for upgrade.- Returns:
- The reason if the customer is not eligible for upgrade.
-
setReason
Sets the reason if the customer is not eligible for upgrade.- Parameters:
value- The reason if the customer is not eligible for upgrade.
-
getUpgradeId
Gets the identifier for the upgrade.- Returns:
- The identifier for the upgrade.
-
setUpgradeId
Sets the identifier for the upgrade.- Parameters:
value- The identifier for the upgrade.
-