ProductUpgradeEligibility Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. productupgrades. ProductUpgradeEligibility
- com.
public class ProductUpgradeEligibility
Represents a product upgrade eligibility.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ProductUpgradeEligibility() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getCustomerId()
Gets the identifier for the customer. |
| boolean |
getIsEligible()
Gets a flag indicating whether the upgrade is eligible. |
| java.lang.String |
getProductFamily()
Gets the family for the product. |
| java.lang.String |
getReason()
Gets the reason if the customer is not eligible for upgrade. |
| java.lang.String |
getUpgradeId()
Gets the identifier for the upgrade. |
| void |
setCustomerId(String value)
Sets the identifier for the customer. |
| void |
setIsEligible(boolean value)
Sets a flag indicating whether the upgrade is eligible. |
| void |
setProductFamily(String value)
Sets the family for the product. |
| void |
setReason(String value)
Sets the reason if the customer is not eligible for upgrade. |
| void |
setUpgradeId(String value)
Sets the identifier for the upgrade. |
Inherited Members
Constructor Details
ProductUpgradeEligibility
public ProductUpgradeEligibility()
Method Details
getCustomerId
public String getCustomerId()
Gets the identifier for the customer.
Returns:
getIsEligible
public boolean getIsEligible()
Gets a flag indicating whether the upgrade is eligible.
Returns:
getProductFamily
public String getProductFamily()
Gets the family for the product.
Returns:
getReason
public String getReason()
Gets the reason if the customer is not eligible for upgrade.
Returns:
getUpgradeId
public String getUpgradeId()
Gets the identifier for the upgrade.
Returns:
setCustomerId
public void setCustomerId(String value)
Sets the identifier for the customer.
Parameters:
setIsEligible
public void setIsEligible(boolean value)
Sets a flag indicating whether the upgrade is eligible.
Parameters:
setProductFamily
public void setProductFamily(String value)
Sets the family for the product.
Parameters:
setReason
public void setReason(String value)
Sets the reason if the customer is not eligible for upgrade.
Parameters:
setUpgradeId
public void setUpgradeId(String value)
Sets the identifier for the upgrade.
Parameters: