Package com.stripe.model
Class SubscriptionItem.Trial
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionItem.Trial
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionItem
For more details about Trial, please refer to the API
Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.getType()
Determines the type of trial for this item.int
hashCode()
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.void
Determines the type of trial for this item.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Trial
public Trial()
-
-
Method Details
-
getConvertsTo
List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. -
getType
Determines the type of trial for this item.One of
free
, orpaid
. -
setConvertsTo
List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. -
setType
Determines the type of trial for this item.One of
free
, orpaid
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-