ConversionResult Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. subscriptions. ConversionResult
- com.
- com.
public class ConversionResult extends ResourceBase
Represents the result of performing a subscription conversion.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ConversionResult() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Conversion |
getError()
Gets the error encountered while attempting to perform the conversion, if applicable. |
| java.lang.String |
getOfferId()
The original offer identifier. |
| java.lang.String |
getSubscriptionId()
Gets the subscription identifier. |
| java.lang.String |
getTargetOfferId()
Gets the target offer identifier. |
| void |
setError(ConversionError value)
Sets the error encountered while attempting to perform the conversion, if applicable. |
| void |
setOfferId(String value)
Sets the original offer identifier. |
| void |
setSubscriptionId(String value)
Sets the subscription identifier. |
| void |
setTargetOfferId(String value)
Sets the target offer identifier. |
Inherited Members
Constructor Details
ConversionResult
public ConversionResult()
Method Details
getError
public ConversionError getError()
Gets the error encountered while attempting to perform the conversion, if applicable.
Returns:
getOfferId
public String getOfferId()
The original offer identifier.
Returns:
getSubscriptionId
public String getSubscriptionId()
Gets the subscription identifier.
Returns:
getTargetOfferId
public String getTargetOfferId()
Gets the target offer identifier.
Returns:
setError
public void setError(ConversionError value)
Sets the error encountered while attempting to perform the conversion, if applicable.
Parameters:
setOfferId
public void setOfferId(String value)
Sets the original offer identifier.
Parameters:
setSubscriptionId
public void setSubscriptionId(String value)
Sets the subscription identifier.
Parameters:
setTargetOfferId
public void setTargetOfferId(String value)
Sets the target offer identifier.
Parameters: