Package com.stripe.model
Class PaymentLink.SubscriptionData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentLink.SubscriptionData
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentLink
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The subscription's description, meant to be displayable to the customer.Integer representing the number of trial period days before the customer is charged for the first time.int
hashCode()
void
setDescription
(String description) The subscription's description, meant to be displayable to the customer.void
setTrialPeriodDays
(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
-
Constructor Details
-
SubscriptionData
public SubscriptionData()
-
-
Method Details
-
getDescription
The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. -
getTrialPeriodDays
Integer representing the number of trial period days before the customer is charged for the first time. -
setDescription
The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. -
setTrialPeriodDays
Integer representing the number of trial period days before the customer is charged for the first time. -
equals
-
canEqual
-
hashCode
public int hashCode()
-