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