ProductUpgradeEligibility Class

  • java.lang.Object
    • com.microsoft.store.partnercenter.models.productupgrades.ProductUpgradeEligibility

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

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

ProductUpgradeEligibility

public ProductUpgradeEligibility()

Method Details

getCustomerId

public String getCustomerId()

Gets the identifier for the customer.

Returns:

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.

getProductFamily

public String getProductFamily()

Gets the family for the product.

Returns:

The family for the product.

getReason

public String getReason()

Gets the reason if the customer is not eligible for upgrade.

Returns:

The reason if the customer is not eligible for upgrade.

getUpgradeId

public String getUpgradeId()

Gets the identifier for the upgrade.

Returns:

The identifier for the upgrade.

setCustomerId

public void setCustomerId(String value)

Sets the identifier for the customer.

Parameters:

value - The identifier for the customer.

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.

setProductFamily

public void setProductFamily(String value)

Sets the family for the product.

Parameters:

value - The family for the product.

setReason

public void setReason(String value)

Sets the reason if the customer is not eligible for upgrade.

Parameters:

value - The reason if the customer is not eligible for upgrade.

setUpgradeId

public void setUpgradeId(String value)

Sets the identifier for the upgrade.

Parameters:

value - The identifier for the upgrade.

Applies to