Package com.stripe.model
Class Quote.SubscriptionData
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Quote.SubscriptionData
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote
public static class Quote.SubscriptionData extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description SubscriptionData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getEffectiveDate()
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted.java.lang.Long
getTrialPeriodDays()
Integer representing the number of trial period days before the customer is charged for the first time.int
hashCode()
void
setEffectiveDate(java.lang.Long effectiveDate)
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted.void
setTrialPeriodDays(java.lang.Long trialPeriodDays)
Integer representing the number of trial period days before the customer is charged for the first time.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getEffectiveDate
public java.lang.Long getEffectiveDate()
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
-
getTrialPeriodDays
public java.lang.Long getTrialPeriodDays()
Integer representing the number of trial period days before the customer is charged for the first time.
-
setEffectiveDate
public void setEffectiveDate(java.lang.Long effectiveDate)
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
-
setTrialPeriodDays
public void setTrialPeriodDays(java.lang.Long trialPeriodDays)
Integer representing the number of trial period days before the customer is charged for the first time.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-