Package com.stripe.model
Class Subscription.CancellationDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.CancellationDetails
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Subscription
public static class Subscription.CancellationDetails
extends StripeObject
implements StripeActiveObject
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.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
CancellationDetails
public CancellationDetails()
-
-
Method Details
-
getFeedbackOption
Get ID of expandablefeedbackOptionobject. -
setFeedbackOption
-
getFeedbackOptionObject
Get expandedfeedbackOption. -
setFeedbackOptionObject
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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()
-