Class SubscriptionItem.Trial

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionItem.Trial
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SubscriptionItem

public static class SubscriptionItem.Trial extends StripeObject
For more details about Trial, please refer to the API Reference.
  • Constructor Details

    • Trial

      public Trial()
  • Method Details

    • getConvertsTo

      public List<String> getConvertsTo()
      List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
    • getType

      public String getType()
      Determines the type of trial for this item.

      One of free, or paid.

    • setConvertsTo

      public void setConvertsTo(List<String> convertsTo)
      List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
    • setType

      public void setType(String type)
      Determines the type of trial for this item.

      One of free, or paid.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object