Package com.stripe.model.billingportal
Class Configuration.Features.SubscriptionCancel.CancellationReason
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Configuration.Features.SubscriptionCancel.CancellationReason
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Configuration.Features.SubscriptionCancel
public static class Configuration.Features.SubscriptionCancel.CancellationReason
extends StripeObject
implements StripeActiveObject
For more details about CancellationReason, 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 booleanbooleanWhether the feature is enabled.Get expandedfeedbackOptions.Get IDs of expandablefeedbackOptionsobject list.Which cancellation reasons will be given as options to the customer.inthashCode()voidsetEnabled(Boolean enabled) Whether the feature is enabled.voidvoidsetFeedbackOptions(List<String> ids) voidsetOptions(List<String> options) Which cancellation reasons will be given as options to the customer.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
-
CancellationReason
public CancellationReason()
-
-
Method Details
-
getFeedbackOptions
Get IDs of expandablefeedbackOptionsobject list. -
setFeedbackOptions
-
getFeedbackOptionObjects
Get expandedfeedbackOptions. -
setFeedbackOptionObjects
-
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.
-
getEnabled
Whether the feature is enabled. -
getOptions
Which cancellation reasons will be given as options to the customer. -
setEnabled
Whether the feature is enabled. -
setOptions
Which cancellation reasons will be given as options to the customer. -
equals
-
canEqual
-
hashCode
public int hashCode()
-