Package com.stripe.model.billingportal
Class Configuration.Features.SubscriptionCancel
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.billingportal.Configuration.Features.SubscriptionCancel
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Configuration.Features
public static class Configuration.Features.SubscriptionCancel extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Configuration.Features.SubscriptionCancel.CancellationReason
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description SubscriptionCancel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
Configuration.Features.SubscriptionCancel.CancellationReason
getCancellationReason()
java.lang.Boolean
getEnabled()
java.lang.String
getMode()
java.lang.String
getProrationBehavior()
int
hashCode()
void
setCancellationReason(Configuration.Features.SubscriptionCancel.CancellationReason cancellationReason)
void
setEnabled(java.lang.Boolean enabled)
void
setMode(java.lang.String mode)
void
setProrationBehavior(java.lang.String prorationBehavior)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getCancellationReason
public Configuration.Features.SubscriptionCancel.CancellationReason getCancellationReason()
-
getEnabled
public java.lang.Boolean getEnabled()
-
getMode
public java.lang.String getMode()
-
getProrationBehavior
public java.lang.String getProrationBehavior()
-
setCancellationReason
public void setCancellationReason(Configuration.Features.SubscriptionCancel.CancellationReason cancellationReason)
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
-
setMode
public void setMode(java.lang.String mode)
-
setProrationBehavior
public void setProrationBehavior(java.lang.String prorationBehavior)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-