Chia sẻ qua


ConversionResult Class

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
ConversionError 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

ResourceBase.getAttributes() 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

ConversionResult

public ConversionResult()

Method Details

getError

public ConversionError 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.

getOfferId

public String getOfferId()

The original offer identifier.

Returns:

The original offer identifier.

getSubscriptionId

public String getSubscriptionId()

Gets the subscription identifier.

Returns:

The subscription identifier.

getTargetOfferId

public String getTargetOfferId()

Gets the target offer identifier.

Returns:

The target offer identifier.

setError

public void setError(ConversionError value)

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.

setOfferId

public void setOfferId(String value)

Sets the original offer identifier.

Parameters:

value - The original offer identifier.

setSubscriptionId

public void setSubscriptionId(String value)

Sets the subscription identifier.

Parameters:

value - The subscription identifier.

setTargetOfferId

public void setTargetOfferId(String value)

Sets the target offer identifier.

Parameters:

value - The target offer identifier.

Applies to