Conversion Class

public class Conversion extends ResourceBase

Represents the conversion for a subscription from a trial offer to a paid offer.

Constructor Summary

Constructor Description
Conversion()

Method Summary

Modifier and Type Method and Description
BillingCycleType getBillingCycle()

Gets the billing cycle that defines how often the partner is billed for this subscription.

java.lang.String getOfferId()

Gets the original offer identifier.

java.lang.String getOrderId()

Gets the order identifier.

int getQuantity()

Gets the quantity to be purchased.

java.lang.String getTargetOfferId()

Gets the target offer identifier.

void setBillingCycle(BillingCycleType value)

Sets the billing cycle that defines how often the partner is billed for this subscription.

void setOfferId(String value)

Sets the original offer identifier.

void setOrderId(String value)

Sets the order identifier.

void setQuantity(int value)

Sets the quantity to be purchased.

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

Conversion

public Conversion()

Method Details

getBillingCycle

public BillingCycleType getBillingCycle()

Gets the billing cycle that defines how often the partner is billed for this subscription.

Returns:

The billing cycle that defines how often the partner is billed for this subscription.

getOfferId

public String getOfferId()

Gets the original offer identifier.

Returns:

The original offer identifier.

getOrderId

public String getOrderId()

Gets the order identifier.

Returns:

The order identifier.

getQuantity

public int getQuantity()

Gets the quantity to be purchased. Defaults to the source subscription quantity.

Returns:

The quantity to be purchased. Defaults to the source subscription quantity.

getTargetOfferId

public String getTargetOfferId()

Gets the target offer identifier.

Returns:

The target offer identifier.

setBillingCycle

public void setBillingCycle(BillingCycleType value)

Sets the billing cycle that defines how often the partner is billed for this subscription.

Parameters:

value - The billing cycle that defines how often the partner is billed for this subscription.

setOfferId

public void setOfferId(String value)

Sets the original offer identifier.

Parameters:

value - The original offer identifier.

setOrderId

public void setOrderId(String value)

Sets the order identifier.

Parameters:

value - The order identifier.

setQuantity

public void setQuantity(int value)

Sets the quantity to be purchased. Defaults to the source subscription quantity.

Parameters:

value - The quantity to be purchased. Defaults to the source subscription quantity.

setTargetOfferId

public void setTargetOfferId(String value)

Sets the target offer identifier.

Parameters:

value - The target offer identifier.

Applies to