Conversion Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. subscriptions. Conversion
- com.
- com.
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 |
|---|---|
|
Billing |
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
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:
getOfferId
public String getOfferId()
Gets the original offer identifier.
Returns:
getOrderId
public String getOrderId()
Gets the order identifier.
Returns:
getQuantity
public int getQuantity()
Gets the quantity to be purchased. Defaults to the source subscription quantity.
Returns:
getTargetOfferId
public String getTargetOfferId()
Gets the target offer identifier.
Returns:
setBillingCycle
public void setBillingCycle(BillingCycleType value)
Sets the billing cycle that defines how often the partner is billed for this subscription.
Parameters:
setOfferId
public void setOfferId(String value)
Sets the original offer identifier.
Parameters:
setOrderId
public void setOrderId(String value)
Sets the order identifier.
Parameters:
setQuantity
public void setQuantity(int value)
Sets the quantity to be purchased. Defaults to the source subscription quantity.
Parameters:
setTargetOfferId
public void setTargetOfferId(String value)
Sets the target offer identifier.
Parameters: