Class Conversion

java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.subscriptions.Conversion

public class Conversion
extends ResourceBase
Represents the conversion for a subscription from a trial offer to a paid offer.
  • Constructor Details

  • 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.
    • 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.
    • getOfferId

      public String getOfferId()
      Gets the original offer identifier.
      Returns:
      The original offer identifier.
    • setOfferId

      public void setOfferId​(String value)
      Sets the original offer identifier.
      Parameters:
      value - The original offer identifier.
    • getOrderId

      public String getOrderId()
      Gets the order identifier.
      Returns:
      The order identifier.
    • setOrderId

      public void setOrderId​(String value)
      Sets the order identifier.
      Parameters:
      value - 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.
    • 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.
    • getTargetOfferId

      public String getTargetOfferId()
      Gets the target offer identifier.
      Returns:
      The target offer identifier.
    • setTargetOfferId

      public void setTargetOfferId​(String value)
      Sets the target offer identifier.
      Parameters:
      value - The target offer identifier.