Package com.stripe.model
Class Subscription.CancellationDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.CancellationDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Subscription
For more details about CancellationDetails, 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 booleanbooleanAdditional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.Get ID of expandablefeedbackOptionobject.Get expandedfeedbackOption.Why this subscription was canceled.inthashCode()voidsetComment(String comment) Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.voidsetFeedback(String feedback) The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.voidvoidsetFeedbackOptionObject(FeedbackOption expandableObject) voidWhy this subscription was canceled.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CancellationDetails
public CancellationDetails()
-
-
Method Details
-
getFeedbackOption
Get ID of expandablefeedbackOptionobject. -
setFeedbackOption
-
getFeedbackOptionObject
Get expandedfeedbackOption. -
setFeedbackOptionObject
-
getComment
Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. -
getFeedback
The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.One of
customer_service,low_quality,missing_features,other,switched_service,too_complex,too_expensive, orunused. -
getReason
Why this subscription was canceled.One of
canceled_by_retention_policy,cancellation_requested,payment_disputed, orpayment_failed. -
setComment
Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. -
setFeedback
The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.One of
customer_service,low_quality,missing_features,other,switched_service,too_complex,too_expensive, orunused. -
setReason
Why this subscription was canceled.One of
canceled_by_retention_policy,cancellation_requested,payment_disputed, orpayment_failed. -
equals
-
canEqual
-
hashCode
public int hashCode()
-