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
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Additional 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.int
hashCode()
void
setComment
(String comment) Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.void
setFeedback
(String feedback) The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.void
Why this subscription was canceled.Methods inherited from class com.stripe.model.StripeObject
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
Why this subscription was canceled.One of
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
cancellation_requested
,payment_disputed
, orpayment_failed
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-