Package com.stripe.model
Class SubscriptionItem.CurrentTrial
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionItem.CurrentTrial
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionItem
The current trial attached to the subscription item.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe time the current trial ends.The time the current trial started.The Trial Offer ID applied to the subscription item.inthashCode()voidsetEndDate(Long endDate) The time the current trial ends.voidsetStartDate(Long startDate) The time the current trial started.voidsetTrialOffer(String trialOffer) The Trial Offer ID applied to the subscription item.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CurrentTrial
public CurrentTrial()
-
-
Method Details
-
getEndDate
The time the current trial ends. -
getStartDate
The time the current trial started. -
getTrialOffer
The Trial Offer ID applied to the subscription item. -
setEndDate
The time the current trial ends. -
setStartDate
The time the current trial started. -
setTrialOffer
The Trial Offer ID applied to the subscription item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-