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 SummaryFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.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.voidWhy this subscription was canceled.Methods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
- 
Constructor Details- 
CancellationDetailspublic CancellationDetails()
 
- 
- 
Method Details- 
getCommentAdditional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
- 
getFeedbackThe 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.
- 
getReasonWhy this subscription was canceled.One of cancellation_requested,payment_disputed, orpayment_failed.
- 
setCommentAdditional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
- 
setFeedbackThe 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.
- 
setReasonWhy this subscription was canceled.One of cancellation_requested,payment_disputed, orpayment_failed.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-