Package com.stripe.model.v2.billing
Class PricingPlanSubscription.CancellationDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.PricingPlanSubscription.CancellationDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PricingPlanSubscription
Details about why the subscription was canceled, if applicable. Includes system-generated
reason.
-
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.System-generated reason for cancellation.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.voidSystem-generated reason for cancellation.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CancellationDetails
public CancellationDetails()
-
-
Method Details
-
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
System-generated reason for cancellation.Equal to
cancellation_requested. -
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
System-generated reason for cancellation.Equal to
cancellation_requested. -
equals
-
canEqual
-
hashCode
public int hashCode()
-